.page-home {
  --home-line: rgba(184, 115, 51, 0.34);
  --home-line-soft: rgba(11, 46, 39, 0.14);
  --home-line-light: rgba(217, 154, 91, 0.42);
  --home-metal: linear-gradient(115deg, #B87333 0%, #D99A5B 46%, #FF9F1C 100%);
  background: var(--paper);
  color: var(--text);
  overflow-x: clip;
}

.page-home .home-body {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  max-width: 62ch;
}

.page-home .eyebrow--light {
  color: var(--copper-soft);
}

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

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  background-color: var(--ink);
  color: var(--card);
  padding: calc(var(--header-h) + 1.75rem) 0 1.25rem;
  overflow: hidden;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(130% 95% at 5% 0%, rgba(11, 46, 39, 0.96) 0%, rgba(11, 46, 39, 0.7) 54%, rgba(18, 69, 58, 0.42) 100%),
    linear-gradient(180deg, rgba(11, 46, 39, 0.88) 0%, rgba(11, 46, 39, 0.48) 58%, rgba(11, 46, 39, 0.96) 100%);
}

.page-home .hero-ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: clamp(90px, 16vw, 180px);
  display: block;
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin-inline: auto;
}

.page-home .hero-frame {
  position: relative;
  border: 1px solid var(--home-line-light);
  padding: clamp(1.35rem, 3.4vw, 2.75rem);
  background: linear-gradient(168deg, rgba(11, 46, 39, 0.55) 0%, rgba(11, 46, 39, 0.18) 62%, rgba(18, 69, 58, 0.4) 100%);
}

.page-home .corner-ticks i {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 0 solid var(--amber);
  opacity: 0.9;
}

.page-home .corner-ticks i:nth-child(1) {
  top: -1px;
  left: -1px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.page-home .corner-ticks i:nth-child(2) {
  top: -1px;
  right: -1px;
  border-top-width: 2px;
  border-right-width: 2px;
}

.page-home .corner-ticks i:nth-child(3) {
  bottom: -1px;
  left: -1px;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.page-home .corner-ticks i:nth-child(4) {
  bottom: -1px;
  right: -1px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

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

.page-home .hero-context {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .hero-context-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 159, 28, 0.18);
}

.page-home .hero-title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.45rem, 8.2vw, 5.2rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--card);
}

.page-home .hero-title span {
  display: inline-block;
  color: var(--copper-soft);
  background-image: linear-gradient(100deg, #D99A5B 0%, #FF9F1C 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-home .hero-lede {
  margin: 0 0 1.6rem;
  max-width: 40ch;
  color: rgba(255, 248, 238, 0.82);
  font-size: clamp(0.95rem, 1.6vw, 1.0625rem);
  line-height: 1.85;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.page-home .hero-actions .btn-ghost {
  border: 1px solid var(--home-line-light);
  color: var(--card);
  background: transparent;
}

.page-home .hero-actions .btn-ghost:hover,
.page-home .hero-actions .btn-ghost:focus-visible {
  border-color: var(--amber);
  color: var(--amber);
}

.page-home .hero-index {
  border: 1px solid var(--home-line-light);
  background: rgba(11, 46, 39, 0.66);
  padding: 1.1rem 1rem 1.15rem;
  position: relative;
}

.page-home .hero-index::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 2.6rem;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--home-line-light) 0 1px, transparent 1px 12px);
  opacity: 0.7;
  pointer-events: none;
}

.page-home .hero-index-title {
  margin: 0 0 1.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--amber);
}

.page-home .hero-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .hero-index-list a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 0.3rem;
  border-bottom: 1px dashed rgba(217, 154, 91, 0.26);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.page-home .hero-index-list a:hover,
.page-home .hero-index-list a:focus-visible {
  transform: translateX(4px);
  color: var(--amber);
}

.page-home .hero-index-list li:last-child a {
  border-bottom: 0;
}

.page-home .idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--copper-soft);
}

.page-home .idx-name {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.page-home .idx-meta {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .hero-index-foot {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(255, 248, 238, 0.6);
}

.page-home .hero-status {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--home-line-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 248, 238, 0.72);
}

.page-home .hero-status p {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

/* ---------- 通用区块修饰 ---------- */
.page-home .home-why,
.page-home .home-paths,
.page-home .home-floor,
.page-home .home-facts {
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}

.page-home .home-why-grid {
  align-items: start;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

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

.page-home .home-why-figure::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--home-line);
  pointer-events: none;
}

.page-home .home-frame-43,
.page-home .home-frame-square {
  position: relative;
  overflow: hidden;
  background: var(--ink-700);
}

.page-home .home-frame-43 {
  aspect-ratio: 4 / 3;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%);
}

.page-home .home-frame-square {
  aspect-ratio: 1 / 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 88%);
}

.page-home .home-why .media-frame__caption,
.page-home .home-floor .media-frame__caption {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-why-copy .h2,
.page-home .home-paths-head .h2,
.page-home .home-floor .h2,
.page-home .home-facts-head .h2,
.page-home .home-shift-head .h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.page-home .home-tick {
  margin: 1.25rem 0 1.5rem;
}

.page-home .home-tick li {
  line-height: 1.8;
}

.page-home .home-tick strong {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 栏目调整 ---------- */
.page-home .home-shift {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--card);
  padding-block: clamp(2.75rem, 6vw, 5.25rem);
}

.page-home .home-shift-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-home .home-shift::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--home-metal);
  z-index: 1;
}

.page-home .home-shift .wrap {
  position: relative;
  z-index: 2;
}

.page-home .home-shift-head {
  max-width: 66ch;
}

.page-home .home-shift-head .h2 {
  color: var(--card);
}

.page-home .home-shift-head .home-body {
  color: rgba(255, 248, 238, 0.78);
}

.page-home .track {
  list-style: none;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.page-home .track-item {
  position: relative;
  padding-left: 2.1rem;
}

.page-home .track-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border: 1px solid var(--amber);
  background: var(--ink);
  transform: rotate(45deg);
}

.page-home .track-item::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 1.6rem;
  bottom: -1.4rem;
  width: 1px;
  background: linear-gradient(180deg, var(--home-line-light) 0%, rgba(217, 154, 91, 0.06) 100%);
}

.page-home .track-item:last-child::after {
  display: none;
}

.page-home .track-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--copper-soft);
  margin-bottom: 0.35rem;
}

.page-home .track-item .h3 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--card);
}

.page-home .track-item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 248, 238, 0.7);
}

.page-home .home-shift-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: 1.25rem;
  border-top: 1px dashed var(--home-line-light);
}

.page-home .link-arrow--light {
  color: var(--copper-soft);
}

.page-home .link-arrow--light:hover,
.page-home .link-arrow--light:focus-visible {
  color: var(--amber);
}

/* ---------- 三条路径 ---------- */
.page-home .home-paths {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.9) 0%, rgba(244, 235, 221, 0.4) 40%, rgba(244, 235, 221, 0) 100%);
}

.page-home .home-paths-head {
  max-width: 60ch;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.page-home .task-grid {
  display: grid;
  gap: 1.1rem;
}

.page-home .task-card {
  padding: 1.5rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
}

.page-home .task-card:hover,
.page-home .task-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--copper);
}

.page-home .task-card--ink {
  background: var(--ink);
  color: var(--card);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%, 0 90%);
}

.page-home .task-card--paper {
  background: var(--card);
  color: var(--text);
  border-color: var(--home-line-soft);
}

.page-home .task-card--cream {
  background: linear-gradient(160deg, #F4EBDD 0%, #EFE0CC 100%);
  color: var(--text);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 94% 100%, 0 100%);
}

.page-home .task-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--copper-soft);
}

.page-home .task-card--paper .task-tag--mist {
  color: #5C8A9B;
}

.page-home .task-card--cream .task-tag--copper {
  color: var(--copper);
}

.page-home .status-dot--mist {
  background: var(--mist);
  box-shadow: 0 0 0 4px rgba(127, 168, 184, 0.18);
}

.page-home .task-card .h3 {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.4;
}

.page-home .task-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.85;
}

.page-home .task-card--ink p {
  color: rgba(255, 248, 238, 0.76);
}

.page-home .task-card .link-arrow {
  margin-top: auto;
  padding-top: 0.6rem;
  align-self: flex-start;
}

/* ---------- 现场 ---------- */
.page-home .floor-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.page-home .floor-copy .h2 {
  margin-bottom: 1rem;
}

.page-home .floor-notes {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-home .floor-note {
  padding: 1rem 1.1rem;
  background: var(--card);
  border-left: 2px solid var(--copper);
  box-shadow: 0 1px 0 var(--home-line-soft);
}

.page-home .floor-note-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--ink);
}

.page-home .floor-note p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

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

.page-home .floor-figure::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 1px;
  background: var(--home-metal);
}

/* ---------- 数字 ---------- */
.page-home .home-facts {
  background:
    linear-gradient(180deg, #FFF8EE 0%, #F4EBDD 100%);
  border-top: 1px solid var(--home-line-soft);
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .home-facts-head {
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.page-home .fact-grid {
  display: grid;
  gap: 1rem;
}

.page-home .fact-card {
  padding: 1.35rem 1.25rem 1.4rem;
  position: relative;
  overflow: hidden;
}

.page-home .fact-card--ink {
  background: var(--ink);
  color: var(--card);
}

.page-home .fact-card--paper {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--home-line-soft);
}

.page-home .fact-card--copper {
  background: var(--ink-700);
  color: var(--card);
}

.page-home .fact-card--copper::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--home-metal);
}

.page-home .fact-num {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--copper);
}

.page-home .fact-card--ink .fact-num {
  color: var(--amber);
}

.page-home .fact-card--copper .fact-num {
  color: var(--copper-soft);
}

.page-home .fact-label {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-home .fact-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .fact-card--ink .fact-note,
.page-home .fact-card--copper .fact-note {
  color: rgba(255, 248, 238, 0.66);
}

.page-home .home-facts-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

/* ---------- 收尾 ---------- */
.page-home .home-cta {
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.page-home .cta-panel {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(184, 115, 51, 0.42) 0%, rgba(11, 46, 39, 0) 58%),
    var(--ink);
  color: var(--card);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 93% 100%, 0 100%);
}

.page-home .cta-copy .h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--card);
}

.page-home .cta-copy .home-body {
  color: rgba(255, 248, 238, 0.78);
  margin-bottom: 0;
}

.page-home .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.page-home .cta-actions .btn-ghost {
  border: 1px solid var(--home-line-light);
  color: var(--card);
  background: transparent;
}

.page-home .cta-actions .btn-ghost:hover,
.page-home .cta-actions .btn-ghost:focus-visible {
  border-color: var(--amber);
  color: var(--amber);
}

/* ---------- 响应式 ---------- */
@media (min-width: 480px) {
  .page-home .idx-meta {
    display: inline;
  }
}

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

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

@media (min-width: 900px) {
  .page-home .hero {
    padding-top: calc(var(--header-h) + 2.75rem);
    padding-bottom: 1.75rem;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: stretch;
  }

  .page-home .hero-index {
    align-self: end;
  }

  .page-home .home-why-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    padding-top: 1.9rem;
    position: relative;
  }

  .page-home .track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    height: 2px;
    background: var(--home-metal);
    opacity: 0.65;
  }

  .page-home .track-item {
    padding-left: 0;
    padding-right: 0.75rem;
  }

  .page-home .track-item::before {
    left: 0;
    top: -2.05rem;
  }

  .page-home .track-item::after {
    display: none;
  }

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

  .page-home .task-card:nth-child(2) {
    margin-top: 1.75rem;
  }

  .page-home .task-card:nth-child(3) {
    margin-top: 0.75rem;
  }

  .page-home .floor-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

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

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

  .page-home .fact-card:nth-child(2),
  .page-home .fact-card:nth-child(5) {
    margin-top: 1.9rem;
  }

  .page-home .fact-card:nth-child(3) {
    margin-top: 0.85rem;
  }

  .page-home .cta-panel {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

@media (min-width: 1100px) {
  .page-home .hero-ridge {
    height: 200px;
  }

  .page-home .hero-index {
    padding: 1.35rem 1.35rem 1.4rem;
  }

  .page-home .fact-card {
    padding: 1.6rem 1.5rem 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .task-card,
  .page-home .hero-index-list a {
    transition: none;
  }

  .page-home .task-card:hover,
  .page-home .task-card:focus-within,
  .page-home .hero-index-list a:hover,
  .page-home .hero-index-list a:focus-visible {
    transform: none;
  }
}
