.page-home {
  --home-line: rgba(30, 70, 82, 0.9);
  --home-panel: linear-gradient(158deg, rgba(11, 42, 56, 0.95), rgba(6, 25, 35, 0.72));
  padding-bottom: calc(var(--dock-h) + 48px);
  overflow-x: clip;
}

.page-home .section {
  padding-block: clamp(40px, 7vw, 84px);
}

.page-home .h2 {
  letter-spacing: -0.01em;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding-block: clamp(22px, 4vw, 44px) clamp(36px, 7vw, 80px);
  background:
    radial-gradient(circle at 82% 12%, rgba(61, 242, 208, 0.13), transparent 52%),
    radial-gradient(circle at 6% 88%, rgba(255, 107, 74, 0.14), transparent 46%);
}

.page-home .home-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(16px, 3vw, 30px);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fog);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .home-hero__lead {
  min-width: 0;
}

.page-home .home-hero__context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.page-home .home-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border: 1px solid rgba(61, 242, 208, 0.35);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--beacon);
}

.page-home .home-live__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--beacon);
  animation: home-pulse 2.8s ease-out infinite;
}

@keyframes home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 242, 208, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(61, 242, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 242, 208, 0); }
}

.page-home .home-hero__title {
  margin: 0;
  font-size: clamp(36px, 9.2vw, 82px);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--mist);
}

.page-home .home-hero__title strong {
  font-weight: 700;
  color: var(--coral);
}

.page-home .home-hero__lede {
  max-width: 36em;
  margin: clamp(18px, 3vw, 28px) 0 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--fog);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-home .home-index {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  border-top: 1px solid var(--home-line);
}

.page-home .home-index__item a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(30, 70, 82, 0.55);
  text-decoration: none;
  color: var(--mist);
}

.page-home .home-index__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--coral);
}

.page-home .home-index__label {
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}

.page-home .home-index__meta {
  grid-column: 2;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fog);
}

.page-home .home-index__item a:hover .home-index__label,
.page-home .home-index__item a:focus-visible .home-index__label {
  color: var(--beacon);
}

.page-home .home-hero__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(61, 242, 208, 0.18);
  border-radius: var(--radius-lg);
  background: var(--trench);
  box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.9);
}

.page-home .home-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 25, 35, 0.05) 40%, rgba(6, 25, 35, 0.86));
  pointer-events: none;
}

.page-home .home-hero__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--fog);
}

/* ---------- 区块标题 ---------- */
.page-home .home-section-head {
  max-width: 46rem;
  margin-bottom: clamp(22px, 4vw, 40px);
}

.page-home .home-section-head .h2 {
  margin: 10px 0 12px;
}

/* ---------- 三条路径 Bento ---------- */
.page-home .home-paths__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  background: var(--home-panel);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.page-home .home-card:hover {
  border-color: rgba(61, 242, 208, 0.42);
  transform: translateY(-4px);
}

.page-home .home-card .h3 {
  margin: 0;
  color: var(--mist);
}

.page-home .home-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--fog);
}

.page-home .home-card__coord {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--beacon);
  opacity: 0.85;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.page-home .home-card:hover .home-card__coord {
  color: var(--coral);
  opacity: 1;
}

.page-home .home-card__figure {
  margin: 4px 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 70, 82, 0.7);
}

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

.page-home .home-card__figure--tall img {
  aspect-ratio: 4 / 5;
}

.page-home .home-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0;
}

.page-home .home-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-stats dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fog);
}

.page-home .home-stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--coral);
}

.page-home .home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-card__link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(61, 242, 208, 0.4);
  font-size: 14px;
  color: var(--beacon);
  text-decoration: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .home-card__link::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 12px;
}

.page-home .home-card__link:hover,
.page-home .home-card__link:focus-visible {
  color: var(--coral-soft);
  border-color: rgba(255, 154, 122, 0.7);
}

/* ---------- 版本对照 ---------- */
.page-home .home-version__head {
  max-width: 48rem;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .home-version__head .h2 {
  margin: 10px 0 12px;
}

.page-home .home-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 clamp(24px, 4vw, 44px);
  padding: 0;
  list-style: none;
}

.page-home .home-timeline li {
  position: relative;
  padding-top: 18px;
  border-top: 2px solid rgba(30, 70, 82, 0.9);
}

.page-home .home-timeline li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--beacon);
  box-shadow: 0 0 12px rgba(61, 242, 208, 0.7);
}

.page-home .home-timeline li:last-child::before {
  background: var(--coral);
  box-shadow: 0 0 14px rgba(255, 107, 74, 0.7);
}

.page-home .home-timeline__year {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--sand);
}

.page-home .home-timeline__text {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fog);
}

.page-home .home-version__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
}

.page-home .home-version__table {
  min-width: 0;
}

.page-home .home-version__table .data-table__wrap {
  border-radius: var(--radius-md);
  border: 1px solid var(--home-line);
}

.page-home .data-table {
  font-size: 14px;
}

.page-home .data-table caption {
  padding-bottom: 10px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fog);
}

.page-home .data-table th[scope="row"] {
  font-weight: 500;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .home-more {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  background: rgba(11, 42, 56, 0.55);
}

.page-home .home-more summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--beacon);
  cursor: pointer;
  list-style: none;
}

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

.page-home .home-more summary::after {
  content: "＋";
  font-family: var(--font-mono);
  color: var(--coral);
}

.page-home .home-more[open] summary::after {
  content: "－";
}

.page-home .home-more ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--fog);
}

.page-home .home-version__cta {
  margin: 20px 0 0;
}

.page-home .home-version__figure {
  margin: 0;
}

.page-home .home-version__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
}

.page-home .home-version__figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--fog);
}

/* ---------- 权益与说明节奏 ---------- */
.page-home .home-rhythm__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.page-home .home-rhythm__body {
  min-width: 0;
}

.page-home .home-rhythm__body .h2 {
  margin: 10px 0 14px;
}

.page-home .home-rhythm__body > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--fog);
}

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

.page-home .home-rhythm__list li {
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 2px solid rgba(61, 242, 208, 0.45);
}

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

.page-home .home-rhythm__list li span:last-child {
  font-size: 14px;
  line-height: 1.8;
  color: var(--fog);
}

.page-home .home-rhythm__panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(232, 213, 181, 0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(232, 213, 181, 0.16), rgba(11, 42, 56, 0.92));
}

.page-home .home-rhythm__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--sand);
}

.page-home .home-rhythm__caption {
  margin: 10px 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fog);
}

.page-home .home-rhythm__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-rhythm__chips li {
  padding: 6px 12px;
  border: 1px solid rgba(232, 213, 181, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(6, 25, 35, 0.65);
  font-size: 12px;
  color: var(--sand);
}

/* ---------- 使用场景 ---------- */
.page-home .home-scenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-scene {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--home-line);
  border-top-width: 3px;
  border-radius: var(--radius-lg);
  background: var(--home-panel);
}

.page-home .home-scene--sand { border-top-color: var(--sand); }
.page-home .home-scene--beacon { border-top-color: var(--beacon); }
.page-home .home-scene--coral { border-top-color: var(--coral); }

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

.page-home .home-scene .h3 {
  margin: 0;
  color: var(--mist);
}

.page-home .home-scene p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--fog);
}

.page-home .home-scenes__foot {
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fog);
}

.page-home .home-scenes__foot a {
  margin-left: 4px;
  color: var(--beacon);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 242, 208, 0.4);
}

.page-home .home-scenes__foot a:hover,
.page-home .home-scenes__foot a:focus-visible {
  color: var(--coral-soft);
}

/* ---------- 联系 ---------- */
.page-home .home-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.page-home .home-contact__body {
  min-width: 0;
}

.page-home .home-contact__body .h2 {
  margin: 10px 0 14px;
}

.page-home .home-contact__body > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--fog);
}

.page-home .home-contact__card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  background: var(--home-panel);
}

.page-home .home-contact__list {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
}

.page-home .home-contact__row {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(30, 70, 82, 0.8);
}

.page-home .home-contact__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .home-contact__row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--beacon);
}

.page-home .home-contact__row dd {
  margin: 0;
  font-size: 15px;
  color: var(--mist);
  word-break: break-word;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .home-index__item a {
    grid-template-columns: 42px 1fr auto;
    align-items: center;
  }

  .page-home .home-index__meta {
    grid-column: auto;
    text-align: right;
  }

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

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

  .page-home .home-timeline li {
    padding-right: 14px;
  }

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

@media (min-width: 1000px) {
  .page-home .home-hero__grid {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }

  .page-home .home-hero__visual {
    align-self: stretch;
  }

  .page-home .home-hero__visual img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 380px;
  }
}

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

  .page-home .home-card--catalog { grid-column: span 7; }
  .page-home .home-card--client { grid-column: span 5; }
  .page-home .home-card--small { grid-column: span 5; }
  .page-home .home-card--rhythm { grid-column: span 7; }

  .page-home .home-version__body {
    grid-template-columns: 1.35fr 0.65fr;
    align-items: start;
  }

  .page-home .home-rhythm__grid {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .page-home .home-contact__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-live__dot {
    animation: none;
  }

  .page-home .home-card:hover {
    transform: none;
  }
}
