.page-home {
  background: var(--crane);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home a {
  color: inherit;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  padding-block: clamp(20px, 5vw, 52px) clamp(28px, 5vw, 64px);
  background:
    radial-gradient(120% 90% at 90% 0%, rgba(14, 111, 110, 0.10) 0%, rgba(14, 111, 110, 0) 58%),
    var(--crane);
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-home .hero-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 clamp(18px, 3vw, 28px);
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--warm);
}

.page-home .hero-crumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--mist);
}

.page-home .hero-crumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.page-home .hero-crumb a:hover,
.page-home .hero-crumb a:focus-visible {
  border-bottom-color: var(--teal);
}

.page-home .hero-crumb [aria-current="page"] {
  color: var(--red);
}

.page-home .hero-title {
  margin: 0 0 clamp(18px, 3vw, 28px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.45rem, 10.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.page-home .hero-lead {
  max-width: 33em;
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.95;
  color: var(--warm);
}

.page-home .version-plate {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 1rem;
  border: 1px solid var(--mist);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--warm);
}

.page-home .vp-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--red);
}

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

.page-home .vp-sep {
  color: var(--mist);
}

.page-home .hero-hint {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--warm);
}

.page-home .hero-side {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  padding: clamp(16px, 3vw, 24px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--deep);
  isolation: isolate;
}

.page-home .hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hero-side::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 59, 60, 0.16) 0%, rgba(11, 59, 60, 0.80) 100%);
}

.page-home .entry-list {
  display: grid;
  gap: 0.6rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .entry-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.page-home .entry-idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--red);
}

.page-home .entry-label {
  flex: 1;
}

.page-home .entry-arrow {
  font-family: var(--font-mono);
  color: var(--teal);
  transition: transform 0.22s var(--ease);
}

.page-home .entry-pill:hover,
.page-home .entry-pill:focus-visible {
  border-color: var(--teal);
  background: var(--crane);
}

.page-home .entry-pill:hover .entry-arrow,
.page-home .entry-pill:focus-visible .entry-arrow {
  transform: translateX(4px);
}

/* ---------- 章节骨架 ---------- */
.page-home .shell {
  display: grid;
  gap: clamp(18px, 3vw, 36px);
  padding-block: clamp(30px, 5vw, 60px) clamp(48px, 7vw, 96px);
}

.page-home .chapter-nav ol {
  display: flex;
  gap: 0.5rem;
  margin: 0.6rem 0 0;
  padding: 0 0 0.4rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .chapter-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--mist);
  border-radius: var(--r-pill);
  background: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--warm);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .chapter-nav a:hover,
.page-home .chapter-nav a:focus-visible {
  border-color: var(--teal);
  color: var(--ink);
}

.page-home .cn-idx {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--red);
}

.page-home .chapters {
  display: grid;
  gap: clamp(16px, 2.6vw, 28px);
}

.page-home .chapter {
  padding: clamp(22px, 3.6vw, 46px);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.page-home .chapter--wine {
  background: var(--wine);
  color: var(--crane);
}

.page-home .chapter--deep {
  background: var(--deep);
  color: var(--crane);
}

.page-home .chapter-head {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  align-items: flex-start;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .chapter-num {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.86;
  color: var(--red);
}

.page-home .chapter--wine .chapter-num,
.page-home .chapter--deep .chapter-num {
  color: var(--red-bright);
}

.page-home .chapter-head h2 {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.42rem, 3.4vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: 0.03em;
}

.page-home .prose {
  max-width: 36em;
  margin: 0 0 1.1rem;
  font-size: 1rem;
  line-height: 1.9;
}

.page-home .chapter--wine .prose,
.page-home .chapter--deep .prose {
  color: rgba(246, 242, 234, 0.84);
}

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

.page-home .chapter img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
}

.page-home .media-caption {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--warm);
}

.page-home .chapter--wine .media-caption,
.page-home .chapter--deep .media-caption {
  color: rgba(246, 242, 234, 0.62);
}

/* ---------- 01 三级定位 ---------- */
.page-home .how-grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}

.page-home .route-track {
  margin-top: clamp(16px, 2.4vw, 24px);
}

.page-home .route-track svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .route-labels {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.4rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--warm);
}

.page-home .stat-row {
  display: grid;
  gap: 1.1rem 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: clamp(16px, 2.4vw, 24px);
  border-top: 1px solid var(--mist);
}

.page-home .stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.page-home .stat-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--warm);
}

/* ---------- 02 六类地标 ---------- */
.page-home .kinds-grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.page-home .landmark-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mist);
}

.page-home .landmark-item {
  display: grid;
  gap: 0.4rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--mist);
}

.page-home .lm-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
}

.page-home .lm-desc {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--warm);
}

.page-home .scene-chip {
  justify-self: start;
  display: inline-block;
  padding: 0.28rem 0.72rem;
  border: 1px solid var(--teal);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--teal);
}

/* ---------- 03 内容更新 ---------- */
.page-home .update-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.page-home .update-item {
  padding: 1.05rem 0;
  border-top: 1px solid rgba(246, 242, 234, 0.22);
}

.page-home .update-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.5rem;
}

.page-home .update-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(246, 242, 234, 0.66);
}

.page-home .update-text {
  max-width: 40em;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(246, 242, 234, 0.9);
}

.page-home .update-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.8rem 1.6rem;
  margin: clamp(20px, 3vw, 28px) 0 0;
}

.page-home .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  color: var(--teal);
}

.page-home .chapter--wine .link-arrow,
.page-home .chapter--deep .link-arrow {
  color: var(--teal-bright);
}

.page-home .link-arrow span {
  transition: transform 0.22s var(--ease);
}

.page-home .link-arrow:hover span,
.page-home .link-arrow:focus-visible span {
  transform: translateX(4px);
}

.page-home .update-note {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(246, 242, 234, 0.62);
}

/* ---------- 04 内容共建 ---------- */
.page-home .cobuild-grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 44px);
}

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

.page-home .steps li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.25rem 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(246, 242, 234, 0.2);
}

.page-home .step-idx {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--teal-bright);
}

.page-home .step-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.page-home .step-desc {
  grid-column: 2;
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(246, 242, 234, 0.72);
}

.page-home .cobuild-side {
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid rgba(246, 242, 234, 0.24);
  border-radius: var(--r-md);
}

.page-home .cobuild-label {
  margin: 0 0 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--teal-bright);
}

.page-home .scene-list {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.page-home .scene-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(246, 242, 234, 0.86);
}

.page-home .scene-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--red-bright);
}

.page-home .cobuild-facts {
  display: grid;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(246, 242, 234, 0.2);
  margin-bottom: 1.4rem;
}

.page-home .fact-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1;
  color: var(--crane);
}

.page-home .fact-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(246, 242, 234, 0.68);
}

/* ---------- 05 意见箱 ---------- */
.page-home .inbox-grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.page-home .inbox-tip {
  max-width: 36em;
  margin: 0 0 1.4rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(179, 38, 30, 0.06);
  font-size: 0.9rem;
  line-height: 1.75;
}

.page-home .mono-inline {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--red);
}

.page-home .contact-list {
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.1rem;
}

.page-home .contact-row {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--mist);
}

.page-home .contact-row dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--warm);
}

.page-home .contact-row dd {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  word-break: break-word;
}

.page-home .contact-row a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .hero-side {
    min-height: 520px;
  }

  .page-home .entry-list {
    max-width: 30rem;
    margin-left: auto;
  }
}

@media (min-width: 768px) {
  .page-home .how-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .landmark-item {
    grid-template-columns: 8.5rem minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 1.4rem;
  }

  .page-home .scene-chip {
    justify-self: end;
  }

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

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    align-items: stretch;
  }

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

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

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

  .page-home .inbox-figure {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

@media (min-width: 1040px) {
  .page-home .shell {
    grid-template-columns: 176px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .chapter-nav {
    position: sticky;
    top: calc(var(--header-h) + 22px);
    align-self: start;
  }

  .page-home .chapter-nav ol {
    flex-direction: column;
    gap: 0.25rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .chapter-nav a {
    display: flex;
    width: 100%;
    border-color: transparent;
    border-radius: var(--r-sm);
    padding: 0.5rem 0.6rem;
    background: transparent;
  }

  .page-home .chapter-nav a:hover,
  .page-home .chapter-nav a:focus-visible {
    background: var(--paper);
    border-color: var(--mist);
  }

  .page-home .chapter-nav li:first-child a {
    border-left: 2px solid var(--red);
  }
}

@media (min-width: 1200px) {
  .page-home .hero-side {
    min-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-arrow,
  .page-home .link-arrow span,
  .page-home .entry-pill,
  .page-home .chapter-nav a {
    transition: none;
  }

  .page-home .entry-pill:hover .entry-arrow,
  .page-home .link-arrow:hover span {
    transform: none;
  }
}
