.page-home {
  --home-block: clamp(56px, 8vw, 96px);
  --home-card-pad: clamp(20px, 2.6vw, 30px);
}

/* ---------- 上下文行 ---------- */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 20px;
}

.page-home .home-context__note {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-block: clamp(10px, 2vw, 26px) var(--home-block);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .home-hero__watch {
  padding: var(--home-card-pad);
  border-radius: var(--radius);
  order: 2;
}

.page-home .home-hero__main {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
  min-width: 0;
}

.page-home .home-hero__watch-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .home-hero__watch-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-home .home-hero__watch-count {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .watch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .watch-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  border-left: 3px solid var(--line-strong);
  background: transparent;
  transition: background 240ms var(--ease), border-color 160ms var(--ease);
}

.page-home .watch-item:hover,
.page-home .watch-item:focus-within {
  background: var(--glass);
  border-left-color: var(--cyan);
}

.page-home .watch-item.is-active {
  background: var(--glass);
  border-left-color: var(--cyan);
}

.page-home .watch-item__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.page-home .watch-item__meta {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.page-home .home-hero__watch-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
}

.page-home .home-hero__round {
  align-self: flex-start;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 6.6vw, 88px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: var(--muted);
}

.page-home .home-hero__cta {
  margin-top: 2px;
}

.page-home .home-hero__visual {
  margin-top: clamp(6px, 1vw, 14px);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-hero__visual img {
  filter: saturate(0.92) brightness(0.86);
}

/* ---------- 本季改版 ---------- */
.page-home .home-shifts__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}

.page-home .home-shifts__intro .section__title {
  margin-bottom: 0.5em;
}

.page-home .home-shifts__media {
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-shifts__list {
  margin-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.page-home .home-shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-shift__index {
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .home-shift__title {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.page-home .home-shift__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 轮次对照 ---------- */
.page-home .home-rounds__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}

.page-home .home-rounds__intro .section__title {
  margin-bottom: 0.5em;
}

.page-home .home-rounds__media {
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 420px;
}

.page-home .home-rounds .round-strip {
  margin-top: clamp(28px, 4vw, 48px);
}

.page-home .round-strip__value {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .round-strip__item.is-active .round-strip__value {
  color: var(--cyan-soft);
}

/* ---------- 跟队切换 ---------- */
.page-home .home-switch__steps {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .home-switch__step {
  position: relative;
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  transition: border-color 160ms var(--ease), background 240ms var(--ease);
}

.page-home .home-switch__step:hover {
  border-color: var(--glass-line);
  background: var(--bg-raised);
}

.page-home .home-switch__step-num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--hot);
}

.page-home .home-switch__step-title {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.page-home .home-switch__step-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .home-switch__note {
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--cyan);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
}

/* ---------- 随手反馈 ---------- */
.page-home .home-feedback__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.5vw, 48px);
  align-items: center;
}

.page-home .home-feedback__text .btn {
  margin-top: 22px;
}

.page-home .home-feedback__card {
  padding: var(--home-card-pad);
  border-radius: var(--radius);
}

.page-home .home-feedback__card-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-feedback__types {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home .home-feedback__types li {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}

.page-home .home-feedback__types li:hover {
  border-color: var(--cyan);
  color: var(--cyan-soft);
}

.page-home .home-feedback__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.page-home .home-feedback__label {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-feedback__contact .contact-value {
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-all;
  font-size: 14px;
  color: var(--text);
}

.page-home .home-feedback__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 长期跟队 ---------- */
.page-home .home-why__flow {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .home-why__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.page-home .home-why__num {
  grid-row: span 2;
  align-self: start;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .home-why__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.page-home .home-why__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-why__stats {
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

/* ---------- 页脚上方过渡带 ---------- */
.page-home .home-footer-band {
  margin-top: clamp(48px, 7vw, 88px);
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.page-home .home-footer-band img {
  width: 100%;
  height: clamp(160px, 22vw, 300px);
  object-fit: cover;
  display: block;
  opacity: 0.72;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-why__flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-why__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .page-home .home-shift {
    grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: 6px 24px;
    align-items: start;
  }

  .page-home .home-shift__index {
    grid-row: span 2;
    align-self: start;
    font-size: 22px;
  }

  .page-home .home-switch__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .page-home .home-shifts__head {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .page-home .home-rounds__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .home-feedback__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .page-home .home-why__flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .home-why__step {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .home-why__num {
    grid-row: auto;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 4vw, 64px);
  }

  .page-home .home-hero__watch {
    order: 1;
  }

  .page-home .home-hero__main {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .watch-item,
  .page-home .home-switch__step,
  .page-home .home-feedback__types li {
    transition: none;
  }
}
