.page-home {
  background: var(--cream);
  color: var(--brown);
  overflow-x: clip;
}

.page-home .section {
  padding: clamp(46px, 6.6vw, 92px) 0;
}

.page-home .section__head {
  border-bottom: 2px solid var(--brown);
  padding-bottom: 12px;
  margin-bottom: clamp(18px, 2.6vw, 30px);
}

.page-home .section__head .eyebrow {
  margin: 0 0 8px;
}

/* ================= 首屏 ================= */
.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: clamp(28px, 4.6vw, 56px) 0 clamp(74px, 8vw, 118px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -22%;
  left: -16%;
  width: 66%;
  height: 164%;
  background: var(--gold);
  opacity: 0.16;
  clip-path: polygon(0 0, 70% 0, 34% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hero__ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(12px, 2vw, 22px);
  background: linear-gradient(
    90deg,
    var(--gold) 0 27%,
    var(--coral) 27% 45%,
    var(--violet) 45% 64%,
    var(--lake) 64% 82%,
    var(--mint) 82% 100%
  );
  clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 100%);
}

.page-home .hero__streak {
  position: absolute;
  right: -6%;
  top: 20%;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  transform: rotate(-8deg);
  opacity: 0.75;
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 50px);
  align-items: center;
}

.page-home .hero__stamp {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .hero__title {
  margin: 0.28em 0 0;
  font-size: clamp(2.7rem, 8.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: 0.015em;
  color: var(--cream);
}

.page-home .hero__title-accent {
  position: relative;
  display: inline-block;
  color: var(--gold);
}

.page-home .hero__title-accent::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: 0.05em;
  height: 0.09em;
  background: var(--coral);
  transform: skewX(-9deg);
}

.page-home .hero__lede {
  margin: 1.1em 0 0;
  max-width: 33em;
  color: rgba(247, 240, 226, 0.84);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 1.7em;
}

.page-home .hero__link {
  color: var(--cream);
  font-size: 15px;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(247, 240, 226, 0.42);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .hero__link:hover,
.page-home .hero__link:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.page-home .hero__facts {
  list-style: none;
  margin: 2.1em 0 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid rgba(247, 240, 226, 0.18);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(247, 240, 226, 0.66);
}

.page-home .hero__facts span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 21px;
  line-height: 1.1;
  color: var(--gold);
}

.page-home .hero__figure {
  position: relative;
  margin: 0;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}

.page-home .hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(226, 162, 58, 0.42), rgba(16, 27, 46, 0.66));
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

@media (max-width: 419px) {
  .page-home .hero__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

/* ================= 三条常用路径 ================= */
.page-home .paths {
  position: relative;
  overflow: hidden;
}

.page-home .paths__texture {
  position: absolute;
  top: 5%;
  right: -14%;
  width: min(58%, 540px);
  height: auto;
  opacity: 0.1;
  filter: grayscale(0.5) sepia(0.25);
  pointer-events: none;
  z-index: 0;
}

.page-home .paths > .wrap {
  position: relative;
  z-index: 1;
}

.page-home .paths__lede {
  margin: 0 0 clamp(24px, 3.4vw, 40px);
  max-width: 42em;
  font-size: 17px;
  color: rgba(30, 23, 18, 0.74);
}

.page-home .paths__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.2vw, 22px);
}

@media (min-width: 760px) {
  .page-home .paths__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home .path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, rgba(234, 220, 195, 0.95), rgba(234, 220, 195, 0.78));
  border: 1px solid var(--hair-dark);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.page-home .path-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s var(--ease);
}

.page-home .path-card:nth-child(2)::after {
  background: var(--lake);
}

.page-home .path-card:nth-child(3)::after {
  background: var(--violet);
}

.page-home .path-card:hover,
.page-home .path-card:focus-within {
  transform: translateY(-4px);
}

.page-home .path-card:hover::after,
.page-home .path-card:focus-within::after {
  transform: scaleX(1);
}

.page-home .path-card__index {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--coral);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}

@media (hover: hover) {
  .page-home .path-card__index {
    opacity: 0;
    transform: translateY(-4px);
  }
  .page-home .path-card:hover .path-card__index,
  .page-home .path-card:focus-within .path-card__index {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-home .path-card__title {
  margin: 0;
  font-size: 21px;
  line-height: 1.4;
  color: var(--brown);
}

.page-home .path-card__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(30, 23, 18, 0.78);
}

.page-home .path-card__meta {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(30, 23, 18, 0.52);
}

.page-home .path-card__cta {
  align-self: flex-start;
  margin-top: auto;
}

/* ================= 收藏之后 ================= */
.page-home .after {
  position: relative;
  background: var(--ticket);
  border-top: 1px solid var(--hair-dark);
  border-bottom: 1px solid var(--hair-dark);
}

.page-home .after::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, transparent 0 58%, rgba(226, 162, 58, 0.22) 58% 100%);
  pointer-events: none;
}

.page-home .after__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.8vw, 50px);
}

.page-home .after__lede {
  margin: 0 0 1.6em;
  font-size: 17.5px;
  color: rgba(30, 23, 18, 0.76);
}

.page-home .after__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .after__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--hair-dark);
}

.page-home .after__item:last-child {
  border-bottom: 1px solid var(--hair-dark);
}

.page-home .after__num {
  margin: 0;
  padding-top: 4px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--coral);
}

.page-home .after__title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.4;
  color: var(--brown);
}

.page-home .after__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(30, 23, 18, 0.76);
}

@media (min-width: 880px) {
  .page-home .after__grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
  }
}

/* ================= 会馆的一周 ================= */
.page-home .week__lede {
  margin: 0 0 clamp(22px, 3vw, 38px);
  max-width: 40em;
  font-size: 17px;
  color: rgba(30, 23, 18, 0.74);
}

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

.page-home .week__slot {
  --slot-color: var(--gold);
  position: relative;
  padding: 16px 13px 24px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--slot-color);
}

.page-home .week__slot::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background: var(--slot-color);
  opacity: 0.5;
}

.page-home .week__slot:nth-child(1) {
  --slot-color: var(--mist);
}

.page-home .week__slot:nth-child(2) {
  --slot-color: var(--gold);
}

.page-home .week__slot:nth-child(3) {
  --slot-color: var(--lake);
}

.page-home .week__slot:nth-child(4) {
  --slot-color: var(--coral);
}

.page-home .week__slot:nth-child(5) {
  --slot-color: var(--mint);
}

.page-home .week__slot:nth-child(6) {
  --slot-color: var(--violet);
}

.page-home .week__slot:nth-child(7) {
  --slot-color: var(--ink);
}

.page-home .week__slot:nth-child(1)::after { width: 30%; }
.page-home .week__slot:nth-child(2)::after { width: 84%; }
.page-home .week__slot:nth-child(3)::after { width: 44%; }
.page-home .week__slot:nth-child(4)::after { width: 74%; }
.page-home .week__slot:nth-child(5)::after { width: 38%; }
.page-home .week__slot:nth-child(6)::after { width: 92%; }
.page-home .week__slot:nth-child(7)::after { width: 58%; }

.page-home .week__day {
  margin: 0 0 8px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(30, 23, 18, 0.5);
}

.page-home .week__show {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.42;
  color: var(--brown);
}

@media (min-width: 640px) {
  .page-home .week__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .page-home .week__track {
    display: flex;
    gap: 8px;
    align-items: stretch;
  }
  .page-home .week__slot {
    flex: 1 1 0;
    min-width: 0;
  }
  .page-home .week__slot:nth-child(1) { flex-grow: 1.05; }
  .page-home .week__slot:nth-child(2) { flex-grow: 1.55; }
  .page-home .week__slot:nth-child(3) { flex-grow: 1.1; }
  .page-home .week__slot:nth-child(4) { flex-grow: 1.4; }
  .page-home .week__slot:nth-child(5) { flex-grow: 1.05; }
  .page-home .week__slot:nth-child(6) { flex-grow: 1.6; }
  .page-home .week__slot:nth-child(7) { flex-grow: 1.25; }
}

/* ================= 本期精选 ================= */
.page-home .picks__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.8vw, 50px);
}

.page-home .picks__figure {
  margin: 20px 0 0;
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
}

.page-home .picks__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-home .picks__note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(30, 23, 18, 0.64);
}

.page-home .picks__cta {
  margin-top: 14px;
}

.page-home .picks__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .pick {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair-dark);
}

.page-home .pick:first-child {
  border-top: 1px solid var(--hair-dark);
}

.page-home .pick__dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  border: 2px solid var(--mist);
  background: transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .pick:hover .pick__dot,
.page-home .pick:focus-within .pick__dot {
  background: var(--coral);
  border-color: var(--coral);
  transform: scale(1.25);
}

.page-home .pick__meta {
  margin: 0 0 6px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--lake);
}

.page-home .pick__title {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.4;
}

.page-home .pick__title a {
  color: var(--brown);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease);
}

.page-home .pick__title a:hover,
.page-home .pick__title a:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

.page-home .pick__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(30, 23, 18, 0.74);
}

@media (min-width: 900px) {
  .page-home .picks__grid {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    align-items: start;
  }
}

/* ================= 右下角的窗口 ================= */
.page-home .service {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.page-home .service::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 54%;
  height: 170%;
  background: var(--violet);
  opacity: 0.18;
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  pointer-events: none;
}

.page-home .service__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.page-home .service .section__head,
.page-home .service .eyebrow {
  border-color: rgba(247, 240, 226, 0.4);
}

.page-home .service__copy .eyebrow {
  color: var(--gold);
}

.page-home .service__lede {
  margin: 0;
  max-width: 34em;
  color: rgba(247, 240, 226, 0.82);
}

.page-home .service__facts {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .service__facts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(247, 240, 226, 0.16);
}

.page-home .service__facts dt {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-home .service__facts dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(247, 240, 226, 0.86);
}

.page-home .service__copy .btn {
  margin-top: 26px;
}

.page-home .service__figure {
  margin: 0;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}

.page-home .service__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 0.92;
}

@media (min-width: 880px) {
  .page-home .service__grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  }
}

@media (max-width: 420px) {
  .page-home .service__facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .page-home .after__item {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
  }
}
</main>
