.page-home {
  --home-line: rgba(201, 164, 92, 0.26);
  --home-soft: rgba(244, 238, 223, 0.78);
  background: var(--ink-deep);
  color: var(--paper);
}

/* ---------- 页面上下文 ---------- */
.page-home .page-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: clamp(1rem, 3vw, 1.6rem);
}

.page-home .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.page-home .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 0.45rem;
  color: rgba(143, 166, 178, 0.5);
}

.page-home .breadcrumb-item a {
  color: var(--gold-light);
  text-decoration: none;
}

.page-home .breadcrumb-item a:hover {
  text-decoration: underline;
}

.page-home .page-context-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .page-context-note .status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(70, 199, 201, 0.16);
}

/* ---------- 首屏分屏 ---------- */
.page-home .hero-home {
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1.75rem, 5vw, 3.25rem) clamp(2.5rem, 7vw, 5.5rem);
}

.page-home .hero-copy {
  max-width: 36rem;
}

.page-home .hero-copy .eyebrow {
  margin-bottom: 0.85rem;
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.7rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.page-home .hero-title em {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--gold-light);
}

.page-home .hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.1em;
  bottom: -0.06em;
  height: 0.08em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), rgba(224, 122, 95, 0));
}

.page-home .hero-lead {
  margin: clamp(1.1rem, 2.6vw, 1.5rem) 0 0;
  max-width: 32rem;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.85;
  color: var(--home-soft);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.page-home .hero-foot {
  margin: 1.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .hero-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 19rem;
  aspect-ratio: 6 / 7;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-l);
  background: linear-gradient(155deg, #16324a, #07121c 72%);
  box-shadow: 0 36px 70px -34px rgba(0, 0, 0, 0.9);
}

.page-home .hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.page-home .hero-beam {
  position: absolute;
  inset: -25% -15%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 40%, rgba(201, 164, 92, 0.5) 50%, transparent 60%),
    linear-gradient(72deg, transparent 52%, rgba(70, 199, 201, 0.34) 62%, transparent 72%);
  filter: blur(8px);
  mix-blend-mode: screen;
  animation: home-drift 16s var(--ease) infinite alternate;
}

@keyframes home-drift {
  from {
    transform: translate3d(-4%, -2%, 0) rotate(-1.5deg);
  }
  to {
    transform: translate3d(4%, 3%, 0) rotate(1.5deg);
  }
}

.page-home .hero-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  background: rgba(7, 18, 28, 0.78);
}

/* ---------- 通用区块文本 ---------- */
.page-home .section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.page-home .section-head {
  max-width: 44rem;
}

.page-home .section-head h2,
.page-home .library-copy h2,
.page-home .small-copy h2,
.page-home .step-head h2,
.page-home .contact-copy h2 {
  margin: 0.6rem 0 0;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-home .section-lead,
.page-home .library-copy p,
.page-home .small-copy p,
.page-home .step-head p,
.page-home .contact-copy p {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--home-soft);
}

/* ---------- 四条路径 ---------- */
.page-home .paths-section {
  background: var(--ink-navy);
  position: relative;
}

.page-home .path-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.page-home .path-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.4rem 1.3rem 1.35rem;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-m);
  background: linear-gradient(165deg, rgba(21, 52, 78, 0.86), rgba(9, 23, 37, 0.94));
  color: var(--paper);
  text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.page-home .path-card:hover {
  transform: translateY(-5px);
  border-color: rgba(70, 199, 201, 0.55);
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.9);
}

.page-home .path-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .path-card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .path-card-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.35;
}

.page-home .path-card-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(244, 238, 223, 0.72);
}

.page-home .path-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.55rem;
}

.page-home .path-card-go {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .path-visual {
  margin: 1.5rem 0 0;
}

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

/* ---------- 资料库 ---------- */
.page-home .library-section {
  background: var(--paper);
  color: var(--ink-deep);
  --home-soft: rgba(11, 27, 43, 0.7);
}

.page-home .library-section .eyebrow {
  color: rgba(11, 27, 43, 0.62);
}

.page-home .library-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.page-home .library-visual {
  margin: 0;
}

.page-home .library-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(11, 27, 43, 0.14);
  border-radius: var(--radius-m);
  box-shadow: 0 26px 50px -32px rgba(11, 27, 43, 0.55);
  transform: rotate(-1.4deg);
}

.page-home .stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: clamp(1.5rem, 3vw, 2rem) 0;
}

.page-home .stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--gold);
  background: rgba(232, 220, 196, 0.55);
}

.page-home .stat-num {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-deep);
}

.page-home .stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(11, 27, 43, 0.62);
}

/* ---------- 小屏导航 ---------- */
.page-home .small-section {
  background: var(--ink-deep);
}

.page-home .small-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.page-home .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.page-home .chip-row .chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.page-home .small-visual {
  margin: 0;
}

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

/* ---------- 常见说明第 3 步 ---------- */
.page-home .step-section {
  background: var(--paper);
  color: var(--ink-deep);
  --home-soft: rgba(11, 27, 43, 0.7);
}

.page-home .step-section .eyebrow {
  color: rgba(11, 27, 43, 0.62);
}

.page-home .step-inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .step-list {
  display: grid;
  gap: 0.75rem;
}

.page-home .step-item {
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(11, 27, 43, 0.16);
  border-radius: var(--radius-m);
  background: var(--paper-warm);
}

.page-home .step-item summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.45;
}

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

.page-home .step-item summary::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--coral);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.page-home .step-item[open] summary::before {
  transform: rotate(135deg);
}

.page-home .step-item summary:focus-visible {
  outline: 2px solid var(--ink-deep);
  outline-offset: 4px;
}

.page-home .step-item p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(7, 18, 28, 0.76);
}

/* ---------- 最近更新 ---------- */
.page-home .reports-section {
  background: var(--ink-navy);
}

.page-home .report-list {
  display: grid;
  gap: 0.85rem;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 2rem;
  padding: 0;
  list-style: none;
}

.page-home .report-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-m);
  background: rgba(7, 18, 28, 0.42);
}

.page-home .report-tag {
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(201, 164, 92, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--gold-light);
}

.page-home .report-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(244, 238, 223, 0.84);
}

.page-home .report-time {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 联系 ---------- */
.page-home .contact-section {
  background: var(--ink-black);
}

.page-home .contact-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .contact-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--mist);
}

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

.page-home .contact-list li {
  display: grid;
  gap: 0.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(201, 164, 92, 0.18);
}

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

.page-home .contact-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .contact-list a,
.page-home .contact-list span:not(.contact-key) {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--paper);
  text-decoration: none;
  word-break: break-word;
}

.page-home .contact-list a:hover {
  color: var(--cyan);
}

/* ---------- 显现动效 ---------- */
.page-home [data-reveal] {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    transition: none;
  }
  .page-home .hero-beam {
    animation: none;
  }
}

/* ---------- 响应式 ---------- */
@media (min-width: 600px) {
  .page-home .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-home .report-item {
    grid-template-columns: 6.5rem 1fr auto;
    align-items: center;
  }

  .page-home .report-time {
    grid-column: auto;
  }
}

@media (min-width: 900px) {
  .page-home .hero-home {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .page-home .hero-visual {
    aspect-ratio: 5 / 6;
  }

  .page-home .library-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .page-home .small-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .page-home .step-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .page-home .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .page-home .contact-list li {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    align-items: baseline;
  }
}

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