/* ===== 首页专属样式 page-home ===== */
.page-home {
  --home-stroke: rgba(245, 183, 0, 0.22);
  --home-soft: rgba(255, 255, 255, 0.84);
  background: var(--color-sand);
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .breadcrumbs {
  padding-top: calc(var(--space-md) + var(--space-sm));
  padding-bottom: var(--space-xs);
}

/* ---- 首屏拼贴 ---- */
.home-hero {
  position: relative;
  background: var(--color-navy);
  color: var(--color-white);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.home-hero__ghost {
  position: absolute;
  right: -1.5rem;
  bottom: -4rem;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 16rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--home-stroke);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-lg);
}

.home-hero__kicker {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
}

.home-hero__lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--home-soft);
  max-width: 36rem;
  margin-bottom: var(--space-md);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.home-hero__media {
  margin: 0;
}

.home-hero__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-strong);
}

.home-hero__stat {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-gold);
  color: var(--color-navy);
  justify-self: start;
  animation: home-stat-in 0.8s var(--ease) both;
}

.home-hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
}

.home-hero__stat-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
}

@keyframes home-stat-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero__tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-wine);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: var(--font-body);
  justify-self: start;
  box-shadow: var(--shadow-soft);
}

/* ---- 最新复盘 ---- */
.home-recap {
  background: var(--color-sand);
  padding: var(--space-xl) 0;
}

.home-recap__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.home-recap .section-kicker,
.home-center .section-kicker {
  color: var(--color-wine);
}

.home-recap__head .btn--ghost {
  transition: transform var(--ease), background var(--ease), color var(--ease);
}

.home-recap__head .btn--ghost:hover {
  transform: rotate(-2deg);
}

.home-recap__grid {
  display: grid;
  gap: var(--space-lg);
}

.home-recap__feature {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
}

.home-recap__img {
  margin-bottom: var(--space-sm);
}

.home-recap__img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.home-recap__feature .card__meta,
.home-recap__row .card__meta {
  margin-top: var(--space-xs);
}

.home-recap__feature .card__text {
  margin: var(--space-xs) 0 var(--space-sm);
}

.home-recap__link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-top: var(--space-xs);
}

.home-recap__link span {
  display: inline-block;
  transition: transform var(--ease);
}

.home-recap__link:hover span {
  transform: translateX(4px);
}

.home-recap__side {
  display: grid;
  gap: var(--space-sm);
}

.home-recap__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm);
  align-items: start;
  background: var(--color-white);
  padding: var(--space-md);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.home-recap__row:hover {
  background: var(--color-sand);
  transform: translateX(4px);
  box-shadow: var(--shadow-strong);
}

.home-recap__index {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--color-gold);
  background: var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
}

.home-recap__row .card__title {
  margin: 0 0 var(--space-xs);
  font-size: 1rem;
  line-height: 1.4;
}

.home-recap__more {
  justify-self: start;
}

/* ---- 内容中心 ---- */
.home-center {
  background: var(--color-white);
  padding: var(--space-xl) 0;
}

.home-center__grid {
  display: grid;
  gap: var(--space-xl);
}

.home-center__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 var(--space-md);
}

.home-center__copy p {
  font-family: var(--font-body);
  line-height: 1.85;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.home-center__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  display: grid;
  gap: var(--space-xs);
}

.home-center__list li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--font-body);
  line-height: 1.7;
}

.home-center__list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.65em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-gold);
  transform: rotate(45deg);
}

.home-center__media {
  margin: 0;
}

.home-center__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-soft);
}

/* ---- 偏好设置 ---- */
.home-pref {
  background: var(--color-wine);
  color: var(--color-white);
  padding: var(--space-xl) 0;
}

.home-pref__inner {
  display: grid;
  gap: var(--space-lg);
}

.home-pref__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 var(--space-md);
}

.home-pref__copy p {
  font-family: var(--font-body);
  line-height: 1.85;
  color: var(--home-soft);
  max-width: 32rem;
  margin-bottom: var(--space-md);
}

.home-pref__copy .section-kicker,
.home-feedback .section-kicker {
  color: var(--color-gold);
}

.home-pref__decor {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-pref__decor img {
  width: min(100%, 13rem);
  height: auto;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

/* ---- 反馈入口 ---- */
.home-feedback {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-xl) 0;
  text-align: center;
}

.home-feedback__inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

.home-feedback__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
}

.home-feedback__inner p {
  font-family: var(--font-body);
  line-height: 1.85;
  color: var(--home-soft);
  margin-bottom: var(--space-md);
}

.home-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.home-feedback__actions .btn--ghost {
  transition: transform var(--ease), background var(--ease), color var(--ease);
}

.home-feedback__actions .btn--ghost:hover {
  transform: rotate(-2deg);
}

/* ---- 桌面端 ---- */
@media (min-width: 64rem) {
  .home-hero {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-2xl);
  }

  .home-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas:
      "copy media"
      "stat media"
      "tag media";
    align-items: end;
    column-gap: var(--space-xl);
    row-gap: var(--space-sm);
  }

  .home-hero__copy {
    grid-area: copy;
  }

  .home-hero__media {
    grid-area: media;
  }

  .home-hero__stat {
    grid-area: stat;
    margin-bottom: var(--space-sm);
  }

  .home-hero__tag {
    grid-area: tag;
  }

  .home-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.75rem);
  }

  .home-hero__lead {
    font-size: 1.0625rem;
  }

  .home-recap__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .home-center__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: var(--space-xl);
  }

  .home-pref__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: var(--space-xl);
  }

  .home-pref__decor img {
    width: 13rem;
  }
}
