.page-home {
  --home-rule: rgba(23, 63, 58, 0.16);
  --home-cut: 22px;
  --home-ink-soft: rgba(255, 253, 246, 0.78);
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home .home-context {
  padding-top: clamp(16px, 3.4vw, 30px);
}

.page-home .home-context .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--celadon);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .home-hero {
  padding: clamp(14px, 2.6vw, 22px) 0 clamp(6px, 1.4vw, 14px);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .hero-lead {
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 4.4vw, 42px);
  background: var(--deep);
  color: var(--paper);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.page-home .hero-lead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(232, 201, 122, 0.11) 0 2px,
    transparent 2px 15px
  );
  pointer-events: none;
}

.page-home .hero-lead__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.page-home .hero-lead h1 {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(29px, 6.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .hero-lead__text {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.8;
  color: var(--home-ink-soft);
}

.page-home .hero-jumps {
  list-style: none;
  margin: clamp(18px, 3vw, 28px) 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .hero-jumps a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  background: rgba(255, 253, 246, 0.07);
  border-left: 3px solid var(--gold);
  color: var(--paper);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.page-home .hero-jumps a:hover,
.page-home .hero-jumps a:focus-visible {
  background: rgba(232, 201, 122, 0.2);
  transform: translateX(4px);
}

.page-home .hero-jumps .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .hero-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: linear-gradient(155deg, var(--gold), var(--celadon));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.page-home .hero-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper);
  background: linear-gradient(to top, rgba(28, 27, 24, 0.84), rgba(28, 27, 24, 0));
}

.page-home .hero-tile {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition: transform 220ms var(--ease), filter 220ms var(--ease);
}

.page-home .hero-tile:hover,
.page-home .hero-tile:focus-visible {
  transform: translateY(-4px);
  filter: drop-shadow(0 16px 18px rgba(23, 63, 58, 0.24));
}

.page-home .hero-tile__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.75;
}

.page-home .hero-tile__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.26;
}

.page-home .hero-tile__desc {
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.88;
}

.page-home .hero-tile__more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.page-home .hero-tile--catalog {
  background: var(--gold);
  color: var(--indigo);
}

.page-home .hero-tile--postings {
  background: var(--paper);
  border-top: 4px solid var(--sea);
}

.page-home .hero-tile--profile {
  background: var(--indigo);
  color: var(--paper);
}

.page-home .hero-tile--profile .hero-tile__tag,
.page-home .hero-tile--profile .hero-tile__more {
  color: var(--gold);
}

/* ---------- 街巷引导线 ---------- */
.page-home .route-band {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 92px);
  margin: clamp(12px, 2.4vw, 20px) 0 0;
}

.page-home .route-band svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- 章节通用 ---------- */
.page-home .home-section {
  padding-block: clamp(38px, 6.6vw, 76px);
}

.page-home .section-head {
  display: grid;
  gap: 8px;
  margin: 0 0 clamp(16px, 2.8vw, 26px);
}

.page-home .section-head__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--brick);
}

.page-home .section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 4.2vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--deep);
}

.page-home .section-head p {
  margin: 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--warm);
}

/* ---------- 六组清单 ---------- */
.page-home .clear-intro {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  margin-bottom: clamp(18px, 3vw, 28px);
}

.page-home .clear-map {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-home .clear-map img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.page-home .filter-btn {
  appearance: none;
  padding: 8px 14px;
  border: 1px solid var(--home-rule);
  background: transparent;
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .filter-btn:hover,
.page-home .filter-btn.is-active {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--paper);
}

.page-home .scene-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--deep);
}

.page-home .scene-row {
  display: grid;
  gap: 6px;
  padding: 17px 0;
  border-bottom: 1px solid var(--home-rule);
}

.page-home .scene-row__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brick);
}

.page-home .scene-row__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.34;
  color: var(--deep);
}

.page-home .scene-row__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink);
}

.page-home .scene-row__link {
  justify-self: start;
  font-size: 13px;
  font-weight: 700;
  color: var(--sea);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 90, 120, 0.35);
}

.page-home .scene-row__link:hover {
  border-bottom-color: var(--sea);
}

/* ---------- 栏目索引 ---------- */
.page-home .section-index {
  background: var(--paper);
}

.page-home .index-grid {
  display: grid;
  gap: clamp(20px, 4vw, 36px);
}

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

.page-home .shop a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  background: var(--stone);
  border-left: 5px solid var(--celadon);
  color: var(--ink);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.page-home .shop a:hover,
.page-home .shop a:focus-visible {
  background: var(--gold);
  transform: translateX(3px);
}

.page-home .shop__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--brick);
}

.page-home .shop__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.35;
  color: var(--deep);
}

.page-home .shop__desc {
  font-size: 12px;
  color: var(--warm);
  white-space: nowrap;
}

.page-home .shop:nth-child(3n + 1) a { border-left-color: var(--brick); }
.page-home .shop:nth-child(3n + 2) a { border-left-color: var(--sea); }
.page-home .shop:nth-child(3n) a { border-left-color: var(--celadon); }

.page-home .index-note {
  margin: clamp(16px, 2.6vw, 24px) 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(232, 201, 122, 0.16);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.page-home .index-note a {
  color: var(--sea);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 90, 120, 0.35);
}

.page-home .index-photo {
  margin: 0;
}

.page-home .index-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.page-home .index-photo figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--warm);
}

/* ---------- 张贴栏 ---------- */
.page-home .section-postings {
  position: relative;
  background: var(--deep);
  color: var(--paper);
}

.page-home .section-postings::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -18deg,
    rgba(255, 253, 246, 0.045) 0 1px,
    transparent 1px 13px
  );
  pointer-events: none;
}

.page-home .postings-grid {
  position: relative;
  display: grid;
  gap: clamp(20px, 4vw, 40px);
}

.page-home .section-postings .section-head__num {
  color: var(--gold);
}

.page-home .section-postings .section-head h2 {
  color: var(--paper);
}

.page-home .section-postings .section-head p {
  color: var(--home-ink-soft);
}

.page-home .postings-photo {
  margin: clamp(16px, 2.6vw, 22px) 0 0;
}

.page-home .postings-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-home .postings-photo figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 253, 246, 0.62);
}

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

.page-home .posting {
  display: grid;
  gap: 8px;
  padding: clamp(16px, 2.6vw, 22px) 0;
  border-top: 1px solid rgba(255, 253, 246, 0.2);
}

.page-home .posting:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .posting__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .posting__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.34;
  color: var(--paper);
}

.page-home .posting__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--home-ink-soft);
}

.page-home .posting__type {
  justify-self: start;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--deep);
  background: var(--gold);
}

.page-home .postings-more {
  margin: 0;
  grid-column: 1 / -1;
}

.page-home .postings-more a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(255, 253, 246, 0.42);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .postings-more a:hover,
.page-home .postings-more a:focus-visible {
  background: rgba(232, 201, 122, 0.2);
  border-color: var(--gold);
}

/* ---------- 老客户快速路径 ---------- */
.page-home .section-fast {
  background: var(--paper);
}

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

.page-home .fast-step {
  padding: 22px 20px 26px;
  background: var(--stone);
  border-top: 4px solid var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-home .fast-step__no {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brick);
}

.page-home .fast-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.36;
  color: var(--deep);
}

.page-home .fast-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink);
}

/* ---------- 联系收束 ---------- */
.page-home .section-reach {
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-home .reach-panel {
  padding: clamp(24px, 5vw, 56px);
  background: var(--deep);
  color: var(--paper);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}

.page-home .reach-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.page-home .reach-panel h2 {
  margin: 12px 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-home .reach-text {
  margin: 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.82;
  color: var(--home-ink-soft);
}

.page-home .reach-list {
  list-style: none;
  margin: clamp(18px, 3vw, 28px) 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .reach-list li {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 253, 246, 0.24);
}

.page-home .reach-list__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .reach-list__v {
  font-size: 15px;
  line-height: 1.62;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.page-home .reach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(12px, 2vw, 18px);
}

.page-home .reach-ghost {
  border-color: rgba(255, 253, 246, 0.5);
  color: var(--paper);
}

.page-home .reach-ghost:hover,
.page-home .reach-ghost:focus-visible {
  border-color: var(--gold);
  background: rgba(232, 201, 122, 0.18);
  color: var(--paper);
}

.page-home .reach-legal {
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 253, 246, 0.28);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 253, 246, 0.62);
}

/* ---------- 返回街口路牌 ---------- */
.page-home .home-top {
  position: fixed;
  right: clamp(12px, 3vw, 24px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  filter: drop-shadow(0 8px 12px rgba(23, 63, 58, 0.42));
  transition: transform 200ms var(--ease);
}

.page-home .home-top:hover,
.page-home .home-top:focus-visible {
  transform: translateY(-3px);
}

.page-home .home-top__arrow {
  font-size: 14px;
  line-height: 1;
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 640px) {
  .page-home .shop-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 760px) {
  .page-home .scene-row {
    grid-template-columns: 92px minmax(0, 1.05fr) minmax(0, 2.05fr) auto;
    align-items: start;
    column-gap: 20px;
    padding: 19px 0;
  }

  .page-home .scene-row__link {
    align-self: center;
  }

  .page-home .fast-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 26px;
  }

  .page-home .fast-step:nth-child(2) {
    transform: translateY(18px);
  }

  .page-home .fast-step:nth-child(3) {
    transform: translateY(6px);
  }

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .hero-lead {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
  }

  .page-home .hero-photo {
    grid-column: 8 / span 5;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
  }

  .page-home .hero-tile--catalog {
    grid-column: 1 / span 4;
    grid-row: 3;
  }

  .page-home .hero-tile--postings {
    grid-column: 5 / span 4;
    grid-row: 3;
  }

  .page-home .hero-tile--profile {
    grid-column: 9 / span 4;
    grid-row: 3;
  }

  .page-home .clear-intro {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: end;
  }

  .page-home .index-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
    align-items: start;
  }

  .page-home .postings-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
  }

  .page-home .postings-photo {
    margin-top: clamp(16px, 2.6vw, 26px);
  }
}

@media (min-width: 1120px) {
  .page-home .hero-lead {
    padding: 46px 48px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-jumps a,
  .page-home .hero-tile,
  .page-home .shop a,
  .page-home .filter-btn,
  .page-home .home-top {
    transition: none;
  }

  .page-home .fast-step:nth-child(2),
  .page-home .fast-step:nth-child(3) {
    transform: none;
  }
}
