.page-home {
  --home-hair: rgba(85, 82, 75, .09);
  --home-rule: #DED8CC;
  --home-rule-strong: #C9C2B4;
  display: block;
}

.page-home .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 面包屑 ---------- */
.page-home .breadcrumb {
  padding: 22px 0 6px;
}

.page-home .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--slate-soft);
}

.page-home .breadcrumb-list li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--home-rule-strong);
}

.page-home .breadcrumb-list li:last-child {
  color: var(--slate);
}

/* ---------- 框景首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  margin: 14px 0 64px;
}

.page-home .hero-frame {
  position: relative;
  background: var(--card);
  border: 1px solid var(--home-rule-strong);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--home-rule), 13px 13px 0 rgba(228, 196, 138, .38);
  padding: 22px 18px 26px;
  overflow: visible;
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 22px;
  right: 22px;
  height: 8px;
  background-image: repeating-linear-gradient(to right, var(--home-rule-strong) 0 1px, transparent 1px 11px);
  opacity: .75;
  pointer-events: none;
}

.page-home .hero-grid {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(85, 82, 75, .05) 27px 28px);
  pointer-events: none;
}

.page-home .hero-top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px 0;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--home-rule);
  padding-bottom: 12px;
}

.page-home .hero-ver {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--sand-deep);
}

.page-home .hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 7.4vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-home .hero-copy .lede {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--slate);
  max-width: 34em;
}

.page-home .hero-slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--home-rule);
}

.page-home .hero-slots .slot {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 11px 2px;
  border-bottom: 1px solid var(--home-rule);
}

.page-home .hero-slots dt {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--slate-soft);
}

.page-home .hero-slots dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .hero-slots .mono {
  font-size: 14px;
  color: var(--archive);
}

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

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

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

.page-home .hero-figure .figure-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-soft);
  border-left: 2px solid var(--sand);
  padding-left: 10px;
}

.page-home .hero-stickers {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: -16px;
  padding-left: 14px;
}

.page-home .sticker {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  padding: 12px 16px;
  background: var(--dune);
  color: var(--ink);
  border: 1px solid var(--home-rule-strong);
  border-radius: 2px;
  box-shadow: var(--shadow-sticker);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.page-home .sticker .sticker-k {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
}

.page-home .sticker .sticker-v {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--sand-deep);
}

.page-home .sticker--a {
  transform: rotate(-2deg);
}

.page-home .sticker--b {
  transform: rotate(1.5deg) translateY(8px);
  background: var(--card);
}

.page-home .sticker:hover,
.page-home .sticker:focus-visible {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: var(--shadow-2);
}

.page-home .sticker:focus-visible {
  outline: 2px solid var(--goji);
  outline-offset: 3px;
}

/* ---------- 章节通用 ---------- */
.page-home .home-index,
.page-home .home-window,
.page-home .home-projects,
.page-home .home-repeat,
.page-home .home-timeline,
.page-home .home-start {
  position: relative;
  margin: 0 0 68px;
}

.page-home .section-head {
  max-width: 46em;
  margin-bottom: 30px;
}

.page-home .section-head h2,
.page-home .home-repeat h2,
.page-home .home-timeline h2,
.page-home .home-start h2,
.page-home .region-head h2 {
  margin: 6px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(23px, 4.6vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .section-head .lede,
.page-home .lede {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--slate);
}

.page-home .prose {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--slate);
  max-width: 42em;
  margin: 0 0 16px;
}

/* ---------- 站内索引 ---------- */
.page-home .index-tracks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.page-home .track {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-areas:
    "no title"
    "no desc"
    "no go";
  gap: 6px 14px;
  padding: 20px 4px 20px 2px;
  border-bottom: 1px solid var(--home-rule);
  text-decoration: none;
  color: inherit;
  transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}

.page-home .track:hover,
.page-home .track:focus-visible {
  background: rgba(228, 196, 138, .24);
  transform: translateX(2px);
}

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

.page-home .track-no {
  grid-area: no;
  font-size: 15px;
  color: var(--sand-deep);
  padding-top: 3px;
}

.page-home .track-title {
  grid-area: title;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-home .track-desc {
  grid-area: desc;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .track-go {
  grid-area: go;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--goji);
  border-bottom: 1px dashed rgba(166, 58, 48, .45);
  justify-self: start;
  padding-bottom: 2px;
}

/* ---------- 改约期限对照 ---------- */
.page-home .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--home-rule-strong);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.page-home .window-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 15px;
}

.page-home .window-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  padding: 13px 16px;
  background: var(--dune);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--ink);
  border-bottom: 1px solid var(--home-rule-strong);
}

.page-home .window-table tbody th,
.page-home .window-table tbody td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px dashed var(--home-rule);
  font-weight: 400;
  color: var(--slate);
  line-height: 1.7;
}

.page-home .window-table tbody th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-home .window-table tbody tr:nth-child(even) {
  background: rgba(228, 196, 138, .16);
}

.page-home .window-table tbody tr:hover {
  background: rgba(201, 123, 60, .18);
}

.page-home .window-table tbody tr:last-child th,
.page-home .window-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .window-table .num {
  font-size: 14px;
  color: var(--goji);
  white-space: nowrap;
}

.page-home .window-figure {
  margin: -22px 0 0;
  max-width: 340px;
  transform: rotate(-1.2deg);
}

.page-home .window-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--home-rule-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.page-home .window-figure .figure-caption {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate-soft);
}

/* ---------- 项目与价格 ---------- */
.page-home .project-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 2px solid var(--ink);
}

.page-home .project-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 13px 2px;
  border-bottom: 1px solid var(--home-rule);
}

.page-home .proj-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .01em;
}

.page-home .proj-note {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .price-note {
  border-left: 3px solid var(--sand);
  padding: 4px 0 4px 16px;
  max-width: 44em;
}

.page-home .price-note p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--slate);
  margin: 0 0 12px;
}

.page-home .price-note p:last-child {
  margin-bottom: 0;
}

.page-home .annotation {
  border-bottom: 2px solid rgba(166, 58, 48, .5);
  padding-bottom: 1px;
  color: var(--ink);
}

/* ---------- 满宽横向带 ---------- */
.page-home .home-band {
  margin: 0 0 68px;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.page-home .home-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to right, rgba(244, 239, 228, .07) 0 1px, transparent 1px 26px);
  pointer-events: none;
}

.page-home .band-inner {
  position: relative;
  padding: 34px 20px 30px;
}

.page-home .band-kicker {
  margin: 0 0 10px;
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--dune);
}

.page-home .band-text {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(19px, 3.4vw, 26px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: #F4EFE4;
  max-width: 24em;
}

.page-home .band-figures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
  border-top: 1px dashed rgba(244, 239, 228, .28);
  padding-top: 20px;
}

.page-home .bfig {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-home .bfig .mono {
  font-size: 21px;
  color: var(--dune);
  letter-spacing: .04em;
}

.page-home .bfig em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .05em;
  color: rgba(244, 239, 228, .72);
}

/* ---------- 复购入口 ---------- */
.page-home .home-repeat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.page-home .repeat-figure {
  margin: 0;
  position: relative;
}

.page-home .repeat-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  border: 1px solid var(--home-rule-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.page-home .repeat-figure .figure-caption {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-soft);
}

.page-home .repeat-steps {
  list-style: none;
  margin: 22px 0 24px;
  padding: 0;
  border-top: 1px solid var(--home-rule);
}

.page-home .repeat-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--home-rule);
}

.page-home .repeat-steps .step-no {
  font-size: 14px;
  color: var(--sand-deep);
  padding-top: 2px;
}

.page-home .repeat-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.page-home .repeat-steps p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
}

/* ---------- 台账轨迹 ---------- */
.page-home .home-timeline {
  border-top: 2px solid var(--ink);
  padding-top: 30px;
}

.page-home .timeline-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  position: relative;
}

.page-home .timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--home-rule-strong);
}

.page-home .timeline-list li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 0 0 20px;
}

.page-home .timeline-list li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--sand);
}

.page-home .timeline-list li:last-child {
  padding-bottom: 0;
}

.page-home .tl-year {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--sand-deep);
}

.page-home .tl-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .rail-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--slate-soft);
}

.page-home .link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- 覆盖城市带 ---------- */
.page-home .home-region {
  position: relative;
  margin: 0 0 68px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.page-home .region-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

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

.page-home .region-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(34, 30, 25, .92) 0%, rgba(34, 30, 25, .62) 55%, rgba(34, 30, 25, .48) 100%);
}

.page-home .region-inner {
  position: relative;
  padding: 34px 20px 30px;
}

.page-home .region-head {
  max-width: 40em;
  margin-bottom: 26px;
}

.page-home .region-head .eyebrow {
  color: var(--dune);
}

.page-home .region-head h2 {
  color: #F4EFE4;
}

.page-home .region-head p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: rgba(244, 239, 228, .84);
}

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

.page-home .region-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(244, 239, 228, .09);
  border: 1px solid rgba(228, 196, 138, .34);
  border-radius: 2px;
  backdrop-filter: blur(2px);
}

.page-home .region-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #F4EFE4;
}

.page-home .region-count {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--dune);
}

/* ---------- 收尾 ---------- */
.page-home .home-start {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 30px 20px;
  background: var(--card);
  border: 1px solid var(--home-rule-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  position: relative;
}

.page-home .home-start::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  width: 74px;
  height: 3px;
  background: var(--goji);
}

.page-home .start-copy p {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--slate);
  max-width: 34em;
}

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

.page-home .start-contact {
  border-top: 1px dashed var(--home-rule-strong);
  padding-top: 18px;
}

.page-home .contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
}

.page-home .contact-k {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--slate-soft);
  min-width: 68px;
}

.page-home .contact-line .mono {
  font-size: 14px;
  color: var(--ink);
  word-break: break-all;
}

.page-home .contact-note {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate-soft);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .hero-frame {
    padding: 26px 28px 32px;
  }

  .page-home .index-tracks {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 28px;
  }

  .page-home .project-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
  }

  .page-home .band-figures {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 960px) {
  .page-home .home-hero {
    margin: 20px 0 76px;
  }

  .page-home .hero-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .hero-slots {
    grid-template-columns: 1fr;
  }

  .page-home .hero-stickers {
    padding-left: 40px;
    gap: 22px;
  }

  .page-home .home-repeat {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: 40px;
    align-items: center;
  }

  .page-home .repeat-figure {
    transform: rotate(-1deg);
  }

  .page-home .region-inner {
    padding: 46px 40px 40px;
  }

  .page-home .region-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .region-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .page-home .home-start {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 40px;
    padding: 40px 36px;
  }

  .page-home .start-contact {
    border-top: 0;
    border-left: 1px dashed var(--home-rule-strong);
    padding-top: 0;
    padding-left: 24px;
  }

  .page-home .window-table {
    min-width: 0;
  }

  .page-home .home-timeline {
    padding-top: 40px;
  }
}

@media (min-width: 1120px) {
  .page-home .index-tracks {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 24px;
  }

  .page-home .track {
    grid-template-columns: 34px 1fr;
    grid-template-areas:
      "no title"
      "no desc"
      "no go";
    padding: 22px 12px 22px 0;
  }

  .page-home .hero-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--home-rule);
  }

  .page-home .hero-slots .slot {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 14px 14px 0;
    border-bottom: 0;
    border-right: 1px dashed var(--home-rule);
  }

  .page-home .hero-slots .slot:last-child {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .sticker,
  .page-home .track {
    transition: none;
  }

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

  .page-home .window-figure,
  .page-home .repeat-figure {
    transform: none;
  }
}
