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

.page-home .mono {
  font-family: var(--font-mono);
}

.page-home #services,
.page-home #slots,
.page-home #cases,
.page-home #downloads {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- 首屏拼贴 ---------- */

.page-home .hero-collage {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 0;
  background: var(--ink-green);
  color: var(--paper);
  overflow: hidden;
}

.page-home .hero-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 82% at 86% 4%, rgba(192, 138, 62, 0.26), transparent 58%),
    linear-gradient(164deg, #16342C 0%, #0E231E 100%);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  padding-bottom: 48px;
}

.page-home .hero-context {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--copper-bright);
  text-transform: uppercase;
}

.page-home .hero-side h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 7vw, 56px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 14em;
}

.page-home .hero-side h1::after {
  content: "";
  display: block;
  width: 68px;
  height: 4px;
  margin-top: 22px;
  background: var(--copper);
}

.page-home .hero-lede {
  margin: 0;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(246, 242, 233, 0.82);
}

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

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

.page-home .hero-figure {
  grid-column: 1 / -1;
  margin: 0;
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--copper);
  box-shadow: 10px 10px 0 -2px var(--ink-green-deep);
  filter: saturate(0.94) contrast(1.02);
}

.page-home .hero-card {
  background: var(--paper);
  color: var(--ink);
  padding: 14px 16px;
  border-left: 3px solid var(--copper);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .card-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--copper-deep);
}

.page-home .card-big {
  display: block;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink-green);
}

.page-home .card-sub {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .hero-card--slot .card-sub {
  color: var(--clay);
  font-weight: 600;
}

.page-home .track-line {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, var(--copper) 0%, rgba(192, 138, 62, 0.35) 46%, rgba(192, 138, 62, 0.06) 100%);
}

.page-home .track-line::after {
  content: "";
  position: absolute;
  right: 14%;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 5px rgba(47, 214, 180, 0.18);
}

/* ---------- 通用章节头微调 ---------- */

.page-home .section-index .mono {
  color: var(--copper);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ---------- 01 服务清单 ---------- */

.page-home .svc-intro {
  display: grid;
  gap: 26px;
  align-items: end;
}

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

.page-home .svc-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-left: 4px solid var(--clay);
}

.page-home .svc-figure .media-caption {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .svc-tabs {
  margin-top: 36px;
}

.page-home .tab-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}

.page-home .tab {
  flex: 0 0 auto;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  color: var(--ink-green);
  background: transparent;
  border: 1.5px solid rgba(22, 52, 44, 0.24);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .tab[aria-selected="true"] {
  background: var(--ink-green);
  color: var(--paper);
  border-color: var(--ink-green);
  box-shadow: 0 4px 0 var(--copper);
}

.page-home .tab-panel {
  margin-top: 28px;
}

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

.page-home .svc-item {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  gap: 6px 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(22, 52, 44, 0.14);
}

.page-home .svc-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--copper);
  padding-top: 3px;
}

.page-home .svc-body h3 {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-green);
  letter-spacing: -0.01em;
}

.page-home .svc-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .svc-item .tag {
  grid-column: 2;
  justify-self: start;
  margin-top: 8px;
}

/* ---------- 02 时段与城区 ---------- */

.page-home .slot-grid {
  gap: 32px;
  margin-top: 8px;
}

.page-home .stack {
  display: grid;
  gap: 12px;
}

.page-home .slot-card {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 16px 18px;
  background: var(--paper);
  border-left: 4px solid var(--clay);
  box-shadow: 0 14px 28px -22px rgba(0, 0, 0, 0.85);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home .slot-card--tight {
  border-left-color: rgba(196, 100, 58, 0.5);
}

.page-home .slot-time {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-green);
  letter-spacing: -0.01em;
}

.page-home .slot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  align-self: center;
}

.page-home .slot-dot--soft {
  background: rgba(196, 100, 58, 0.4);
}

.page-home .slot-areas {
  margin: 0;
  flex: 1 1 100%;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

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

.page-home .slot-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  box-shadow: 0 20px 42px -30px rgba(0, 0, 0, 0.9);
}

.page-home .slot-media .media-caption {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(246, 242, 233, 0.62);
}

/* ---------- 03 案例 ---------- */

.page-home .case-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.page-home .case-item {
  background: var(--paper);
  border: 1.5px solid rgba(22, 52, 44, 0.16);
}

.page-home .case-item[open] {
  border-color: var(--copper);
  box-shadow: 6px 6px 0 -1px rgba(192, 138, 62, 0.24);
}

.page-home .case-item summary {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  transition: background 0.18s var(--ease);
}

.page-home .case-item summary::-webkit-details-marker {
  display: none;
}

.page-home .case-item summary:hover {
  background: var(--paper-2);
}

.page-home .case-no {
  font-size: 12px;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.08em;
  flex: 0 0 auto;
  padding-top: 2px;
}

.page-home .case-title {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink-green);
}

.page-home .case-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--copper-deep);
}

.page-home .case-item[open] summary::after {
  content: "−";
}

.page-home .case-body {
  padding: 0 20px 20px;
  border-top: 1px dashed rgba(22, 52, 44, 0.18);
  margin-top: -1px;
}

.page-home .case-body p {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 38em;
}

.page-home .case-more {
  margin: 30px 0 0;
}

/* ---------- 04 两个入口 ---------- */

.page-home .entry-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.page-home .entry-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .entry-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  max-width: 34em;
}

.page-home .panel--deep .entry-text {
  color: rgba(246, 242, 233, 0.82);
}

.page-home .panel--grey .entry-text {
  color: var(--ink);
}

.page-home .entry-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-home .panel--deep .entry-meta {
  color: var(--copper-bright);
}

.page-home .panel--grey .entry-meta {
  color: var(--copper-deep);
}

.page-home .entry-panel .btn {
  align-self: flex-start;
  margin-top: auto;
}

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

.page-home .entry-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-top: 3px solid var(--copper);
}

/* ---------- 05 评价中心 ---------- */

.page-home .closing-grid {
  gap: 34px;
  margin-top: 6px;
}

.page-home .closing-prose p {
  color: rgba(246, 242, 233, 0.8);
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 16px;
  max-width: 34em;
}

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

.page-home .closing-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(192, 138, 62, 0.28);
  border: 1px solid rgba(192, 138, 62, 0.28);
}

.page-home .closing-stats .stat {
  background: var(--ink-green-deep);
  padding: 18px 16px;
}

.page-home .closing-stats .stat-label {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(246, 242, 233, 0.62);
}

.page-home .closing-stats .stat-value {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--copper-bright);
  letter-spacing: -0.01em;
}

.page-home .closing-stats .stat:last-child {
  grid-column: 1 / -1;
}

/* ---------- 中等屏幕 ---------- */

@media (min-width: 720px) {
  .page-home .svc-item {
    grid-template-columns: 3em 1fr auto;
    align-items: center;
    gap: 6px 18px;
  }

  .page-home .svc-item .tag {
    grid-column: auto;
    margin-top: 0;
    justify-self: end;
  }

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

  .page-home .entry-figure {
    grid-column: 1 / -1;
  }

  .page-home .entry-figure img {
    aspect-ratio: 21 / 9;
  }
}

/* ---------- 桌面 ---------- */

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: 1fr 1.06fr;
    gap: 54px;
    align-items: center;
    padding-bottom: 64px;
  }

  .page-home .hero-board {
    display: block;
    padding-top: 30px;
  }

  .page-home .hero-card--slot {
    position: absolute;
    left: -34px;
    bottom: 46px;
    width: 210px;
  }

  .page-home .hero-card--update {
    position: absolute;
    top: 0;
    right: -20px;
    width: 258px;
  }

  .page-home .svc-intro {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 44px;
  }

  .page-home .tab-list {
    flex-wrap: wrap;
    overflow: visible;
  }

  .page-home .svc-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 46px;
  }

  .page-home .stack {
    gap: 0;
  }

  .page-home .stack-layer {
    margin-top: -12px;
  }

  .page-home .stack-layer:first-child {
    margin-top: 0;
  }

  .page-home .stack-layer:nth-child(2) {
    transform: translateX(26px);
  }

  .page-home .stack-layer:nth-child(3) {
    transform: translateX(8px);
  }

  .page-home .stack-layer:nth-child(4) {
    transform: translateX(34px);
  }

  .page-home .entry-grid {
    grid-template-columns: 1fr 1fr 0.85fr;
    align-items: stretch;
  }

  .page-home .entry-figure {
    grid-column: auto;
  }

  .page-home .entry-figure img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 100%;
  }

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

@media (min-width: 1080px) {
  .page-home .case-item summary {
    padding: 20px 26px;
  }

  .page-home .case-body {
    padding: 0 26px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .tab,
  .page-home .case-item summary {
    transition: none;
  }
}
