.page-home {
  --home-hair: rgba(244, 239, 230, 0.22);
  --home-glow: rgba(215, 25, 32, 0.5);
  background: var(--coal);
  color: var(--white);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: calc(var(--header-h) + 28px) var(--gutter) clamp(40px, 6vw, 72px);
  background:
    radial-gradient(circle at 82% 12%, rgba(232, 180, 90, 0.16), transparent 46%),
    radial-gradient(circle at 6% 88%, var(--home-glow), transparent 52%),
    var(--coal);
  overflow: hidden;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-deep) 38%, var(--gold) 100%);
}

.page-home .hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 88%);
}

.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.page-home .hero-coord {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 13vw, 148px);
  line-height: 0.84;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.page-home .hero-line {
  display: block;
}

.page-home .hero-line--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  text-stroke: 2px var(--gold);
}

.page-home .hero-lead {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

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

.page-home .hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 32px 0 0;
  background: var(--home-hair);
  border: 1px solid var(--home-hair);
}

.page-home .hero-fact {
  background: rgba(21, 23, 26, 0.86);
  padding: 14px 16px;
}

.page-home .hero-fact dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
}

.page-home .hero-fact dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
}

/* 首屏目录 */
.page-home .hero-index {
  border: 2px solid var(--home-hair);
  background: rgba(21, 23, 26, 0.82);
  padding: 20px 18px 16px;
  backdrop-filter: blur(8px);
}

.page-home .hero-index-title {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  margin: 0;
  color: var(--white);
}

.page-home .hero-index-note {
  margin: 8px 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

.page-home .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .filter-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--home-hair);
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.page-home .filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.page-home .filter-btn[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.page-home .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--home-hair);
  border-top: 1px solid var(--home-hair);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .entry[hidden] {
  display: none;
}

.page-home .entry-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  background: rgba(21, 23, 26, 0.94);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}

.page-home .entry-link:hover,
.page-home .entry-link:focus-visible {
  background: var(--graphite);
  transform: translateX(4px);
}

.page-home .entry-code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ice);
}

.page-home .entry-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-home .entry-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.page-home .entry-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
}

.page-home .entry-arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--red);
}

.page-home .filter-status {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--gray);
  min-height: 14px;
}

/* ---------- 通用区块 ---------- */
.page-home .home-block {
  padding: clamp(48px, 7vw, 104px) var(--gutter);
}

.page-home .home-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.page-home .home-block--ivory {
  background: var(--ivory);
  color: var(--coal);
}

.page-home .home-block--coal {
  background: var(--coal);
  color: var(--white);
}

.page-home .home-block--graphite {
  background: var(--graphite);
  color: var(--white);
}

.page-home .home-block--red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 68%, #5c090d 100%);
  color: var(--white);
}

.page-home .home-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(26px, 4vw, 46px);
  max-width: 74ch;
}

.page-home .home-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  color: var(--red);
}

.page-home .home-block--coal .home-index,
.page-home .home-block--graphite .home-index,
.page-home .home-block--red .home-index {
  color: var(--gold);
}

.page-home .home-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-home .home-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  opacity: 0.86;
  max-width: 62ch;
}

.page-home .link-arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--red);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.page-home .link-arrow:hover {
  color: var(--red-deep);
}

.page-home .link-arrow--light {
  color: var(--ice);
}

.page-home .link-arrow--light:hover {
  color: var(--gold);
}

/* ---------- 五类体验 ---------- */
.page-home .exp-top {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .exp-figure {
  margin: 0;
  border: 2px solid var(--coal);
  box-shadow: 8px 8px 0 var(--red);
  background: var(--white);
}

.page-home .exp-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .exp-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  border-top: 2px solid var(--coal);
  color: var(--coal);
}

.page-home .exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .exp-card {
  background: var(--white);
  border: 2px solid var(--coal);
  box-shadow: var(--shadow-hard);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .exp-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--red);
}

.page-home .exp-code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--red);
  margin: 0;
}

.page-home .exp-name {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0;
  line-height: 1.2;
  color: var(--coal);
}

.page-home .exp-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: #3a3f45;
}

.page-home .exp-tag {
  margin: auto 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--coal);
  background: rgba(232, 180, 90, 0.34);
  border-left: 3px solid var(--gold);
  padding: 6px 10px;
}

.page-home .exp-more {
  margin: 28px 0 0;
}

/* ---------- 查记录 ---------- */
.page-home .record-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

.page-home .record-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  color: var(--gold);
}

.page-home .record-lead {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .step {
  background: rgba(21, 23, 26, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.34);
  padding: 20px;
}

.page-home .step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--gold);
}

.page-home .step-name {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 10px 0 6px;
  color: var(--white);
}

.page-home .step-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.page-home .record-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.page-home .record-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}

/* ---------- 城市网络 ---------- */
.page-home .city-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-home .city-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--home-hair);
}

.page-home .city-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "code name"
    "code detail";
  gap: 2px 14px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--home-hair);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .city-row:hover {
  background: rgba(232, 180, 90, 0.08);
  border-bottom-color: var(--gold);
}

.page-home .city-code {
  grid-area: code;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ice);
}

.page-home .city-name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
}

.page-home .city-detail {
  grid-area: detail;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
  opacity: 0.7;
  transition: opacity 0.18s var(--ease), color 0.18s var(--ease);
}

.page-home .city-row:hover .city-detail {
  opacity: 1;
  color: rgba(255, 255, 255, 0.86);
}

.page-home .city-figure {
  margin: 0;
  border: 2px solid var(--home-hair);
}

.page-home .city-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .city-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  border-top: 1px solid var(--home-hair);
  color: var(--gray);
}

.page-home .cities-more {
  margin: 26px 0 0;
}

/* ---------- 多端同步 ---------- */
.page-home .sync-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

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

.page-home .sync-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(21, 23, 26, 0.16);
}

.page-home .sync-k {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--red);
}

.page-home .sync-v {
  font-size: 14px;
  line-height: 1.7;
  color: #3a3f45;
}

.page-home .sync-note {
  margin: 20px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--coal);
}

.page-home .sync-note .dot {
  width: 9px;
  height: 9px;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 111, 122, 0.24);
  flex: 0 0 auto;
}

.page-home .sync-figure {
  margin: 0;
  border: 2px solid var(--coal);
  box-shadow: 8px 8px 0 var(--ice);
  background: var(--white);
}

.page-home .sync-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .sync-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 10px 14px;
  border-top: 2px solid var(--coal);
  color: var(--coal);
}

/* ---------- 会员与到店 ---------- */
.page-home .member-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .perk-panel,
.page-home .flow-panel {
  background: rgba(21, 23, 26, 0.5);
  border: 1px solid var(--home-hair);
  padding: 22px;
}

.page-home .panel-title {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  color: var(--white);
}

.page-home .perk-list,
.page-home .flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .perk-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .perk-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  padding-top: 3px;
}

.page-home .flow-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .flow-num {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--red);
  color: var(--white);
  flex: 0 0 auto;
}

.page-home .flow-list strong {
  color: var(--white);
}

.page-home .flow-note {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--gray);
  border-top: 1px solid var(--home-hair);
  padding-top: 12px;
}

.page-home .member-strip {
  margin-top: 20px;
  background: var(--gold);
  color: var(--coal);
  padding: 16px 20px;
}

.page-home .member-strip p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.page-home .member-strip strong {
  font-family: var(--font-display);
  font-size: 15px;
}

/* ---------- 动态 ---------- */
.page-home .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .news-item {
  border: 1px solid var(--home-hair);
  border-left: 4px solid var(--red);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: border-left-color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-home .news-item:hover {
  border-left-color: var(--gold);
  background: rgba(232, 180, 90, 0.06);
}

.page-home .news-tag {
  align-self: flex-start;
}

.page-home .news-title {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.35;
  margin: 0;
  color: var(--white);
}

.page-home .news-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

.page-home .news-item .link-arrow {
  align-self: flex-start;
  margin-top: 4px;
}

.page-home .updates-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.page-home .updates-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
  max-width: 48ch;
}

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

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

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

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

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

@media (min-width: 900px) {
  .page-home .hero {
    padding-top: calc(var(--header-h) + 44px);
  }

  .page-home .hero-media {
    width: 58%;
    opacity: 0.42;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.95) 42%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.95) 42%, #000 100%);
  }

  .page-home .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: end;
  }

  .page-home .record-wrap {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: start;
    gap: 44px;
  }

  .page-home .record-actions {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .page-home .city-layout {
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: start;
  }

  .page-home .sync-layout {
    grid-template-columns: 6fr 6fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .member-layout {
    grid-template-columns: 6fr 6fr;
    gap: 20px;
  }

  .page-home .exp-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .exp-card:nth-child(1) { grid-column: span 7; }
  .page-home .exp-card:nth-child(2) { grid-column: span 5; }
  .page-home .exp-card:nth-child(3),
  .page-home .exp-card:nth-child(4),
  .page-home .exp-card:nth-child(5) { grid-column: span 4; }
}

@media (min-width: 1200px) {
  .page-home .hero-index {
    padding: 26px 24px 20px;
  }

  .page-home .hero-title {
    font-size: clamp(96px, 10vw, 148px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .exp-card,
  .page-home .entry-link,
  .page-home .city-row,
  .page-home .news-item {
    transition: none;
  }

  .page-home .exp-card:hover,
  .page-home .entry-link:hover {
    transform: none;
  }
}
