/* ============================================================
   首页 page-home
   ============================================================ */

.page-home {
  --home-gold-ink: #8C6A22;
  position: relative;
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
}

.page-home h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 5.2vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}

/* ---------- 01 首屏 ---------- */

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
  background:
    radial-gradient(118% 88% at 90% 4%, rgba(227, 180, 90, .16), transparent 60%),
    radial-gradient(80% 60% at 4% 96%, rgba(46, 140, 127, .1), transparent 62%),
    var(--ink);
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 42%;
  opacity: .34;
  clip-path: polygon(100% 0, 100% 100%, 14% 100%, 42% 0);
}

.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg,
      var(--ink) 4%,
      rgba(11, 12, 14, .86) 34%,
      rgba(11, 12, 14, .42) 70%,
      rgba(11, 12, 14, .62) 100%);
}

.page-home .home-hero__shell {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__crumbs {
  margin-bottom: 26px;
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(29px, 7.4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 14px 0 0;
  max-width: 13em;
}

.page-home .home-hero__lead {
  margin: 20px 0 0;
  max-width: 33em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.page-home .home-hero__paths {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.page-home .home-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 126px;
  padding: 19px 20px 21px;
  background: rgba(20, 22, 26, .8);
  border: 1px solid var(--line-soft);
  border-radius: 3px 20px 3px 3px;
  color: var(--text);
  text-decoration: none;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.page-home .home-path::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(227, 180, 90, 0));
  opacity: .5;
  transition: opacity .3s var(--ease), top .3s var(--ease), bottom .3s var(--ease);
}

.page-home .home-path:hover,
.page-home .home-path:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(227, 180, 90, .52);
  background: rgba(27, 30, 35, .94);
  outline: none;
}

.page-home .home-path:hover::before,
.page-home .home-path:focus-visible::before {
  opacity: 1;
  top: 5px;
  bottom: 5px;
}

.page-home .home-path__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.page-home .home-path__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .09em;
  color: var(--gold);
}

.page-home .home-path__kicker {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-home .home-path__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.page-home .home-path__desc {
  flex: 1;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .home-path__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--gold-deep);
}

/* ---------- 02 当日班次 ---------- */

.page-home .home-shifts {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 8vw, 88px);
}

.page-home .home-shifts__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-shifts__wash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: .2;
}

.page-home .home-shifts__wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 26, .62), rgba(20, 22, 26, .96) 72%);
}

.page-home .home-shifts__shell {
  position: relative;
  z-index: 1;
}

.page-home .home-shifts__body {
  display: grid;
  gap: 32px;
  margin-top: 36px;
}

.page-home .home-shifts__dial {
  justify-self: center;
  text-align: center;
}

.page-home .home-dial {
  display: block;
  width: min(240px, 68vw);
  height: auto;
  margin: 0 auto;
}

.page-home .home-dial__track {
  fill: none;
  stroke: rgba(107, 85, 44, .3);
  stroke-width: 10;
}

.page-home .home-dial__seg {
  fill: none;
  stroke: var(--line);
  stroke-width: 10;
  transition: stroke .3s var(--ease);
}

.page-home .home-dial__seg--live {
  stroke: var(--gold);
}

.page-home .home-dial__cap {
  fill: var(--gold-light);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .home-dial__sub {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
}

.page-home .home-dial__hint {
  margin: 14px auto 0;
  max-width: 24em;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-shifts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-shift {
  position: relative;
  padding: 18px 20px 20px;
  background: rgba(11, 12, 14, .62);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
}

.page-home .home-shift::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(225deg, rgba(107, 85, 44, .5) 0 1px, transparent 1px);
  opacity: .7;
}

.page-home .home-shift--live {
  border-color: rgba(227, 180, 90, .5);
  background: linear-gradient(140deg, rgba(227, 180, 90, .1), rgba(11, 12, 14, .68) 62%);
}

.page-home .home-shift--live::after {
  background: linear-gradient(225deg, rgba(227, 180, 90, .7) 0 1px, transparent 1px);
}

.page-home .home-shift__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.page-home .home-shift__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.page-home .home-shift__code {
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--gold-light);
}

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

.page-home .home-shift .wd-status {
  margin-top: 12px;
}

.page-home .home-shifts__tail {
  margin: 32px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 03 工种索引 ---------- */

.page-home .home-taxonomy {
  padding-block: clamp(52px, 8vw, 92px);
}

.page-home .home-taxonomy__grid {
  display: grid;
  gap: 36px;
}

.page-home .home-taxonomy__figure {
  margin: 0;
}

.page-home .home-taxonomy__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px 22px 3px 3px;
  border: 1px solid rgba(20, 22, 26, .12);
}

.page-home .home-taxonomy__figure .wd-media__cap {
  display: block;
  margin-top: 12px;
}

.page-home .home-taxonomy__lead {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.85;
}

.page-home .home-taxonomy__panels {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.page-home .home-panel__count {
  margin-left: auto;
  margin-right: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--home-gold-ink);
  white-space: nowrap;
}

.page-home .home-taxlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .home-taxlist li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: baseline;
  gap: 6px 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(20, 22, 26, .14);
}

.page-home .home-taxlist li:last-child {
  border-bottom: none;
}

.page-home .home-taxlist__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--home-gold-ink);
}

.page-home .home-taxlist__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--paper-ink);
}

.page-home .home-taxlist__desc {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.75;
  color: var(--paper-muted);
}

.page-home .home-taxonomy__foot {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--paper-muted);
  border-left: 2px solid var(--gold-deep);
  padding-left: 14px;
}

/* ---------- 04 返水口径 ---------- */

.page-home .home-rebate {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 8vw, 96px);
}

.page-home .home-rebate__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-rebate__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}

.page-home .home-rebate__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(70deg, rgba(11, 12, 14, .96) 12%, rgba(11, 12, 14, .6) 58%, rgba(11, 12, 14, .9) 100%);
}

.page-home .home-rebate__shell {
  position: relative;
  z-index: 1;
}

.page-home .home-rebate__lead {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.85;
}

.page-home .home-steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: none;
}

.page-home .home-step {
  position: relative;
  padding: 20px 20px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: rgba(20, 22, 26, .66);
}

.page-home .home-step__no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gold);
}

.page-home .home-step h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.page-home .home-step p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.page-home .home-rebate__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- 05 额度通道 ---------- */

.page-home .home-quota {
  padding-block: clamp(52px, 8vw, 92px);
}

.page-home .home-quota__grid {
  display: grid;
  gap: 34px;
}

.page-home .home-quota__lead {
  margin: 18px 0 26px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--paper-ink);
}

.page-home .home-quota__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-quota__steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--paper-soft);
  border: 1px solid rgba(20, 22, 26, .12);
  border-left: 3px solid var(--gold-deep);
  border-radius: 3px;
}

.page-home .home-quota__num {
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1.1;
  color: var(--home-gold-ink);
  letter-spacing: .02em;
}

.page-home .home-quota__steps h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--paper-ink);
}

.page-home .home-quota__steps p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper-muted);
}

/* ---------- 06 版本与归属 ---------- */

.page-home .home-version {
  padding-block: clamp(46px, 7vw, 78px);
}

.page-home .home-version__rule {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(227, 180, 90, .35) 34%, rgba(227, 180, 90, 0) 100%);
}

.page-home .home-version__facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .home-version__facts li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(107, 85, 44, .28);
}

.page-home .home-version__k {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-home .home-version__v {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-strong);
}

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

.page-home .home-version__note {
  margin: 24px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .home-version__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 620px) {
  .page-home .home-hero {
    padding: 116px 0 72px;
  }

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

  .page-home .home-path--b {
    grid-row: span 2;
  }

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

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

  .page-home .home-version__facts li {
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: baseline;
    gap: 20px;
  }
}

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

  .page-home .home-hero__paths {
    margin-top: 0;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 14px;
    align-content: end;
  }

  .page-home .home-path--a {
    grid-column: 1 / 8;
    grid-row: 1;
    min-height: 118px;
  }

  .page-home .home-path--b {
    grid-column: 8 / 13;
    grid-row: 1 / 3;
  }

  .page-home .home-path--c {
    grid-column: 1 / 4;
    grid-row: 2;
    min-height: 138px;
  }

  .page-home .home-path--d {
    grid-column: 4 / 8;
    grid-row: 2;
    min-height: 138px;
  }

  .page-home .home-shifts__body {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 48px;
    align-items: center;
    margin-top: 44px;
  }

  .page-home .home-shifts__dial {
    justify-self: start;
    text-align: left;
  }

  .page-home .home-dial {
    margin: 0;
    width: min(280px, 100%);
  }

  .page-home .home-shifts__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-home .home-shift--live {
    transform: translateX(18px);
  }

  .page-home .home-taxonomy__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(36px, 5vw, 68px);
    align-items: start;
  }

  .page-home .home-taxonomy__figure img {
    aspect-ratio: 3 / 4;
  }

  .page-home .home-quota__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .page-home .home-hero {
    padding: 132px 0 88px;
  }

  .page-home .home-hero__title {
    font-size: 54px;
  }

  .page-home .home-hero__lead {
    font-size: 18px;
  }

  .page-home .home-rebate__shell {
    padding-right: 22%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-path,
  .page-home .home-path::before,
  .page-home .home-dial__seg,
  .page-home .home-shift--live {
    transition: none;
  }

  .page-home .home-path:hover,
  .page-home .home-path:focus-visible {
    transform: none;
  }

  .page-home .home-shift--live {
    transform: none;
  }
}
