.page-home {
  --home-gutter: 20px;
  --home-shadow: 0 1px 2px rgba(20, 17, 15, .10);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-cn);
}

@media (min-width: 768px) {
  .page-home { --home-gutter: 32px; }
}

@media (min-width: 1200px) {
  .page-home { --home-gutter: 48px; }
}

.page-home .container {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--home-gutter);
}

.page-home .section {
  padding: 56px 0;
}

@media (min-width: 900px) {
  .page-home .section { padding: 88px 0; }
}

/* ---------- 区块通用排版 ---------- */

.page-home .section-head {
  max-width: 56em;
}

.page-home .section-index {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ochre);
}

.page-home .section-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink-pure);
}

.page-home .section-lede {
  max-width: 40em;
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-80);
}

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

.page-home .hero {
  position: relative;
  overflow: hidden;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(20, 17, 15, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 17, 15, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .page-home .hero { background-size: 88px 88px; }
}

.page-home .hero-canvas {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px var(--home-gutter) 40px;
  display: grid;
  gap: 30px;
}

.page-home .hero-wedge { display: none; }

@media (min-width: 960px) {
  .page-home .hero-canvas {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    padding-top: 60px;
    padding-bottom: 72px;
  }

  .page-home .hero-copy {
    position: relative;
    z-index: 2;
    grid-column: 1 / span 6;
  }

  .page-home .hero-figure {
    grid-column: 7 / span 6;
    align-self: center;
  }

  .page-home .hero-wedge {
    display: block;
    position: absolute;
    top: -36px;
    right: 0;
    width: min(54%, 660px);
    height: 520px;
    background: var(--ochre);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
  }
}

.page-home .hero-ctx {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.page-home .hero-ctx-sep {
  width: 24px;
  height: 1px;
  background: var(--line-strong);
}

.page-home .hero-ctx-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ocean);
  font-weight: 600;
  letter-spacing: .06em;
}

.page-home .hero-title {
  margin: 0 0 22px;
  font-size: clamp(42px, 7.2vw, 96px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.02em;
  color: var(--ink-pure);
}

.page-home .hero-title span { display: block; }

.page-home .hero-title-b {
  margin-left: clamp(14px, 4vw, 60px);
  color: var(--ochre-deep);
}

.page-home .hero-lede {
  max-width: 34em;
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.78;
  color: var(--ink-80);
}

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

.page-home .hero-figure {
  position: relative;
  z-index: 1;
  margin: 0;
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

@media (min-width: 960px) {
  .page-home .hero-figure img {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 58px) 100%, 0 100%);
  }
}

.page-home .hero-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-55);
}

/* ---------- 卷轴入口带 ---------- */

.page-home .reel {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(246, 241, 231, .94);
  padding: 18px 0 16px;
}

.page-home .reel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--home-gutter) 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
}

.page-home .reel-track::-webkit-scrollbar { height: 6px; }
.page-home .reel-track::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 3px; }
.page-home .reel-track::-webkit-scrollbar-track { background: transparent; }

.page-home .reel-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: min(76vw, 300px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--reel-accent, var(--ochre));
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: inherit;
  transition: transform .24s ease-out, box-shadow .24s ease-out;
}

.page-home .reel-card:nth-child(1) { --reel-accent: var(--ochre); }
.page-home .reel-card:nth-child(2) { --reel-accent: var(--ocean); }
.page-home .reel-card:nth-child(3) { --reel-accent: var(--gold); }
.page-home .reel-card:nth-child(4) { --reel-accent: var(--coral); }

@media (hover: hover) {
  .page-home .reel-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2);
  }
}

.page-home .reel-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-55);
}

.page-home .reel-name {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.24;
  color: var(--ink);
}

.page-home .reel-desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-70);
}

.page-home .reel-go {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--reel-accent, var(--ochre));
}

.page-home .reel-hint {
  margin: 4px 0 0;
  padding: 0 var(--home-gutter);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-55);
}

@media (min-width: 1100px) {
  .page-home .reel-card { width: 296px; }

  .page-home .reel-track {
    max-width: var(--shell);
    margin: 0 auto;
  }

  .page-home .reel-hint {
    max-width: var(--shell);
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- 本周更新 ---------- */

.page-home .updates {
  background: var(--ink);
  color: var(--on-ink);
}

.page-home .updates .section-index { color: var(--gold); }
.page-home .updates .section-title { color: #fff; }
.page-home .updates .section-lede { color: var(--on-ink-60); }

.page-home .update-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--divider-ink);
}

.page-home .update-item {
  border-bottom: 1px solid var(--divider-ink);
}

.page-home .update-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}

.page-home .update-summary::-webkit-details-marker { display: none; }
.page-home .update-summary::marker { content: ""; }

.page-home .update-summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--gold);
  transition: transform .18s ease-out;
}

.page-home .update-panel[open] .update-summary::after {
  content: "\2212";
}

.page-home .update-idx {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gold);
}

.page-home .update-title { flex: 1 1 auto; }

.page-home .update-state {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--sand);
  white-space: nowrap;
}

.page-home .update-body {
  padding: 0 4px 24px;
}

.page-home .update-body p {
  max-width: 46em;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--on-ink-60);
}

@media (hover: hover) {
  .page-home .update-summary:hover { color: var(--gold); }
}

/* ---------- 查区域 ---------- */

.page-home .explorer { background: var(--paper); }

.page-home .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
}

.page-home .tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-cn);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-70);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out;
}

.page-home .tag-btn:hover {
  border-color: var(--ochre);
  color: var(--ochre-deep);
}

.page-home .tag-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.page-home .tag-count {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: .72;
}

.page-home .explorer-status {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-55);
}

.page-home .explorer-layout {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.page-home .explorer-media {
  margin: 0;
}

.page-home .explorer-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.page-home .explorer-media figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-55);
}

@media (min-width: 900px) {
  .page-home .explorer-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
    align-items: start;
  }

  .page-home .explorer-media {
    grid-column: 1 / span 5;
    position: sticky;
    top: 96px;
  }

  .page-home .state-list {
    grid-column: 7 / span 6;
  }
}

.page-home .state-list {
  border-top: 1px solid var(--line);
}

.page-home .state-card {
  padding: 20px 2px 20px 10px;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line);
  transition: background-color .18s ease-out, border-color .18s ease-out;
}

.page-home .state-card[hidden],
.page-home .state-card.is-hidden {
  display: none;
}

@media (hover: hover) {
  .page-home .state-card:hover {
    background: rgba(217, 199, 167, .18);
    border-left-color: var(--ochre);
  }
}

.page-home .state-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-home .state-idx {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ochre);
}

.page-home .state-name {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.page-home .state-count {
  margin-left: auto;
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-55);
  white-space: nowrap;
}

.page-home .state-cities {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ocean);
}

.page-home .state-note {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-70);
}

/* ---------- 榜单 ---------- */

.page-home .digest {
  background: var(--ocean);
  color: var(--on-ink);
}

.page-home .digest .section-index { color: var(--gold); }
.page-home .digest .section-title { color: #fff; }
.page-home .digest .section-lede { color: var(--on-ink-60); }

.page-home .digest-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .page-home .digest-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 40px;
    align-items: center;
  }

  .page-home .digest-copy { grid-column: 1 / span 6; }
  .page-home .digest-figure { grid-column: 8 / span 5; }
}

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

.page-home .digest-taglist li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--on-ink-60);
}

.page-home .digest-tag {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--sand);
}

.page-home .digest-tag--new { background: var(--gold); }
.page-home .digest-tag--stay { background: var(--wave); }
.page-home .digest-tag--pick { background: var(--coral); }

.page-home .digest-picks { margin-top: 30px; }

.page-home .digest-picks-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold);
}

.page-home .digest .row-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--divider-ink);
}

.page-home .digest .row-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--divider-ink);
}

.page-home .digest .row-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
}

.page-home .digest .row-meta {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-ink-60);
}

.page-home .digest-cta {
  margin-top: 26px;
  color: var(--paper);
  border-color: rgba(246, 241, 231, .45);
}

.page-home .digest-figure {
  margin: 0;
}

.page-home .digest-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-home .digest-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.62;
  color: var(--on-ink-60);
}

/* ---------- iOS 收藏 ---------- */

.page-home .collect {
  background: var(--wave);
  color: var(--ink);
}

.page-home .collect-layout {
  display: grid;
  gap: 30px;
}

@media (min-width: 900px) {
  .page-home .collect-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 48px;
    align-items: center;
  }

  .page-home .collect-figure {
    grid-column: 1 / span 4;
    margin-top: -28px;
  }

  .page-home .collect-copy {
    grid-column: 6 / span 7;
  }
}

.page-home .collect-figure {
  margin: 0;
}

.page-home .collect-figure img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid rgba(20, 17, 15, .12);
  box-shadow: var(--shadow-1);
}

.page-home .collect-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .collect-points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.76;
  color: var(--ink-80);
}

.page-home .collect-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ochre);
}

.page-home .collect-cta {
  margin-top: 28px;
}

/* ---------- 上门时段 ---------- */

.page-home .window { background: var(--paper); }

.page-home .window-head { max-width: 52em; }

.page-home .coral-chip {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.page-home .window-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.page-home .window-item {
  background: var(--paper);
  padding: 26px 20px 28px;
}

.page-home .window-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--coral);
}

.page-home .window-name {
  display: block;
  margin: 10px 0 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.page-home .window-item p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--ink-70);
}

.page-home .window-cta {
  margin-top: 30px;
}

/* ---------- 信任与规模 ---------- */

.page-home .trust {
  background: var(--ink);
  color: var(--on-ink);
}

.page-home .trust .section-index { color: var(--gold); }
.page-home .trust .section-title { color: #fff; }
.page-home .trust .section-lede { color: var(--on-ink-60); }

.page-home .stat-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 38px 0 0;
  padding: 0;
  background: var(--divider-ink);
  border: 1px solid var(--divider-ink);
  border-radius: var(--radius);
  overflow: hidden;
}

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

@media (min-width: 1100px) {
  .page-home .stat-band { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.page-home .stat {
  background: var(--ink);
  padding: 24px 16px 26px;
}

.page-home .stat-num {
  display: block;
  margin: 0;
  font-family: var(--font-en), var(--font-cn);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold);
}

.page-home .stat-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-ink-60);
}

.page-home .trust-foot {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--divider-ink);
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .page-home .trust-foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 40px;
  }
}

.page-home .trust-foot p {
  max-width: 52em;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--on-ink-60);
}

.page-home .trust .btn--quiet {
  color: var(--gold);
  white-space: nowrap;
}

/* ---------- 焦点与动效降级 ---------- */

.page-home .reel-card:focus-visible,
.page-home .tag-btn:focus-visible,
.page-home .update-summary:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

.page-home .reel-track:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  .page-home .reel-track {
    scroll-behavior: auto;
  }
}
