.page-home {
  --home-gold-line: rgba(201, 162, 39, 0.32);
  --home-shadow: 0 18px 40px -28px rgba(18, 16, 15, 0.45);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.page-home .section {
  padding: 3.5rem 0;
}

.page-home .section__title {
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.18;
}

.page-home .figure__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* 首屏 */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 1.5rem) 0 3.5rem;
  background: var(--wine-deep);
  color: var(--porcelain);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(201, 162, 39, 0.2), transparent 55%),
    linear-gradient(158deg, #3d0b1a 0%, var(--wine) 48%, var(--wine-deep) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 79%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, rgba(201, 162, 39, 0.22) 62%, transparent);
  transform: rotate(-1.4deg);
}

.page-home .hero__inner {
  position: relative;
}

.page-home .hero__crumb {
  margin-bottom: 1.5rem;
}

.page-home .hero__crumb .breadcrumb__link,
.page-home .hero__crumb .breadcrumb__current,
.page-home .hero__crumb .breadcrumb__sep {
  color: var(--gold-light);
}

.page-home .hero__grid {
  display: grid;
  gap: 2rem;
}

.page-home .hero__side-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .hero-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--home-gold-line);
}

.page-home .hero-index__link {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.15rem 0.7rem;
  align-items: baseline;
  min-height: 44px;
  padding: 0.7rem 0.3rem;
  text-decoration: none;
  color: var(--porcelain);
  border-bottom: 1px solid var(--home-gold-line);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .hero-index__no {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.page-home .hero-index__label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.page-home .hero-index__note {
  grid-column: 2;
  display: none;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(246, 241, 231, 0.64);
}

.page-home .hero-index__link:hover,
.page-home .hero-index__link.is-active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.page-home .hero-index__link:hover .hero-index__no,
.page-home .hero-index__link.is-active .hero-index__no {
  color: var(--gold-light);
}

.page-home .hero__metal {
  display: none;
  margin: 1.25rem 0 0;
}

.page-home .hero__metal .figure__media {
  overflow: hidden;
  border: 1px solid var(--home-gold-line);
}

.page-home .hero__metal img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .hero__main {
  display: grid;
  gap: 1.75rem;
}

.page-home .hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--porcelain);
}

.page-home .hero__lead {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(246, 241, 231, 0.86);
  max-width: 46ch;
}

.page-home .hero__lead--sub {
  color: rgba(246, 241, 231, 0.66);
}

.page-home .hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.3rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--home-gold-line);
  font-size: 0.84rem;
  color: rgba(246, 241, 231, 0.74);
}

.page-home .hero__facts .mono {
  color: var(--gold);
  font-size: 0.95rem;
  margin-right: 0.3rem;
}

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

.page-home .hero__figure .figure__media {
  overflow: hidden;
  border: 1px solid var(--home-gold-line);
  background: var(--wine-deep);
}

.page-home .hero__figure img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.page-home .hero__figure .figure__caption {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 231, 0.55);
}

/* 节目单 */
.page-home .programme {
  background: var(--paper);
}

.page-home .programme__group {
  margin-top: 2rem;
}

.page-home .programme__group-name {
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--gold-muted);
  border-bottom: 1px solid var(--line);
}

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

.page-home .entry + .entry {
  border-top: 1px solid var(--line-soft);
}

.page-home .entry__link {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) 1.5rem;
  grid-template-areas:
    "no name arrow"
    ". note note";
  align-items: center;
  gap: 0.25rem 0.75rem;
  min-height: 44px;
  padding: 0.85rem 0.35rem;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s var(--ease);
}

.page-home .entry__no {
  grid-area: no;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-muted);
  transition: color 0.2s var(--ease);
}

.page-home .entry__name {
  grid-area: name;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
}

.page-home .entry__note {
  grid-area: note;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #5a534a;
}

.page-home .entry__arrow {
  grid-area: arrow;
  justify-self: end;
  color: var(--gold-muted);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .entry__link:hover,
.page-home .entry__link:focus-visible {
  background: rgba(201, 162, 39, 0.07);
}

.page-home .entry__link:hover .entry__no,
.page-home .entry__link:focus-visible .entry__no {
  color: var(--gold);
}

.page-home .entry__link:hover .entry__arrow,
.page-home .entry__link:focus-visible .entry__arrow {
  transform: translateX(4px);
  color: var(--wine);
}

/* 通道预告 */
.page-home .channels {
  position: relative;
}

.page-home .channels__banner {
  margin: 0 0 2rem;
}

.page-home .channels__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  border: 1px solid var(--home-gold-line);
}

.page-home .channels .eyebrow {
  color: var(--gold);
}

.page-home .channels .section__title {
  color: var(--porcelain);
}

.page-home .channels .section__lead {
  color: rgba(246, 241, 231, 0.72);
}

.page-home .channel-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 1rem;
  margin: 1.75rem -0.25rem 0;
  padding: 0.25rem 0.25rem 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .channel-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scroll-snap-align: start;
  padding: 1.25rem;
  background: rgba(246, 241, 231, 0.045);
  border: 1px solid var(--home-gold-line);
  border-top-width: 3px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .channel-card--teal {
  border-top-color: var(--teal);
}

.page-home .channel-card--amber {
  border-top-color: var(--amber);
}

.page-home .channel-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(246, 241, 231, 0.08);
}

.page-home .channel-card__name {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--porcelain);
}

.page-home .channel-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(246, 241, 231, 0.72);
}

.page-home .channel-card__link {
  margin-top: auto;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  text-decoration: none;
  opacity: 0.68;
  transition: opacity 0.2s var(--ease);
}

.page-home .channel-card__link::after {
  content: " →";
}

.page-home .channel-card:hover .channel-card__link,
.page-home .channel-card__link:focus-visible {
  opacity: 1;
}

.page-home .channels__foot {
  margin: 2rem 0 0;
}

/* 版本与周期 */
.page-home .timeline {
  background: var(--porcelain);
}

.page-home .timeline__layout {
  display: grid;
  gap: 2rem;
}

.page-home .tl {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0 0 0 1.4rem;
  border-left: 1px solid var(--line);
}

.page-home .tl__item {
  position: relative;
  padding: 0 0 1.6rem;
}

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

.page-home .tl__item::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  top: 0.45rem;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--porcelain);
}

.page-home .tl__item:nth-child(2)::before,
.page-home .tl__item:nth-child(4)::before {
  background: var(--amber);
}

.page-home .tl__stage {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gold-muted);
}

.page-home .tl__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.page-home .tl__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4a443c;
}

.page-home .version-card {
  padding: 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: var(--home-shadow);
}

.page-home .version-card__code {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--wine);
}

.page-home .version-card__name {
  margin: 0.5rem 0 1rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.page-home .version-card__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #4a443c;
}

.page-home .version-card__list .mono {
  margin-right: 0.4rem;
  font-weight: 600;
  color: var(--wine);
}

.page-home .version-card__bar {
  height: 3px;
  margin: 0 0 1rem;
  background: var(--line-soft);
}

.page-home .version-card__bar span {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--amber));
}

.page-home .version-card__note {
  margin: 0 0 1.1rem;
  font-size: 0.84rem;
  line-height: 1.75;
  color: #5a534a;
}

/* 固定路径 */
.page-home .path {
  background: var(--paper);
}

.page-home .path-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.page-home .path-step {
  position: relative;
  padding: 1.25rem 1.25rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.page-home .path-step::after {
  content: "";
  display: none;
  position: absolute;
  right: -1.5rem;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: var(--gold);
}

.page-home .path-step__no {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .path-step h3 {
  margin: 0.4rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.page-home .path-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #4a443c;
}

.page-home .save-card {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(246, 241, 231, 0.7));
  border: 1px solid var(--home-gold-line);
}

.page-home .save-card__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.page-home .save-card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #4a443c;
}

/* 品牌剧场 */
.page-home .culture {
  background: var(--ink);
  color: var(--porcelain);
  padding: 3.5rem 0;
}

.page-home .culture__layout {
  display: grid;
  gap: 2rem;
}

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

.page-home .culture__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--home-gold-line);
}

.page-home .culture__text .eyebrow {
  color: var(--gold);
}

.page-home .culture__text .section__title {
  color: var(--porcelain);
  margin-bottom: 1rem;
}

.page-home .culture__text p {
  margin: 0 0 1rem;
  max-width: 54ch;
  font-size: 0.96rem;
  line-height: 1.85;
  color: rgba(246, 241, 231, 0.78);
}

.page-home .culture .btn--ghost {
  color: var(--gold-light);
  border-color: rgba(201, 162, 39, 0.5);
}

/* 收束 */
.page-home .closing {
  padding: 2rem 0;
  background: var(--porcelain);
  border-top: 1px solid var(--line);
}

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

.page-home .closing__line {
  margin: 0;
  font-size: 0.9rem;
  color: #4a443c;
}

.page-home .closing__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.page-home .closing__links a {
  padding-bottom: 2px;
  font-size: 0.88rem;
  color: var(--wine);
  text-decoration: none;
  border-bottom: 1px solid var(--home-gold-line);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .closing__links a:hover,
.page-home .closing__links a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

@media (min-width: 640px) {
  .page-home .hero-index {
    grid-template-columns: 1fr;
  }

  .page-home .hero-index__note {
    display: block;
  }
}

@media (min-width: 720px) {
  .page-home .entry__link {
    grid-template-columns: 2.6rem 6rem minmax(0, 1fr) 1.5rem;
    grid-template-areas: "no name note arrow";
    gap: 0.75rem;
    padding: 0.95rem 0.5rem;
  }

  .page-home .entry__note {
    font-size: 0.9rem;
  }

  .page-home .save-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
  }

  .page-home .closing__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 860px) {
  .page-home .section {
    padding: 5rem 0;
  }

  .page-home .channel-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin: 2rem 0 0;
    padding: 0.25rem 0 0;
    overflow: visible;
  }

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

  .page-home .path-step:not(:last-child)::after {
    display: block;
  }
}

@media (min-width: 900px) {
  .page-home .hero__main {
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: start;
    gap: 2rem;
  }

  .page-home .culture__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 3rem;
  }

  .page-home .culture {
    padding: 5rem 0;
  }
}

@media (min-width: 960px) {
  .page-home .hero {
    padding: calc(var(--header-h) + 2.5rem) 0 5rem;
  }

  .page-home .hero__grid {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: start;
  }

  .page-home .hero__side {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .page-home .hero__metal {
    display: block;
  }

  .page-home .timeline__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 3rem;
    align-items: start;
  }

  .page-home .timeline__side {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
