.page-home {
  --home-gap: clamp(14px, 1.8vw, 22px);
  --home-cut: linear-gradient(135deg, rgba(201, 162, 39, .55) 0%, rgba(201, 162, 39, 0) 62%);
}

/* ---------- 首屏 ---------- */
.page-home .home-top {
  position: relative;
  overflow: hidden;
  padding-top: clamp(20px, 3.4vw, 40px);
  padding-bottom: clamp(46px, 6vw, 84px);
}

.page-home .home-top::after {
  content: "";
  position: absolute;
  inset: auto -12% -30% -12%;
  height: 340px;
  background: var(--home-cut);
  opacity: .28;
  pointer-events: none;
}

.page-home .home-top .breadcrumbs {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .home-top__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
  align-items: center;
}

.page-home .home-top__lead {
  min-width: 0;
  max-width: 46ch;
}

.page-home .home-top__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(29px, 5vw, 52px);
  line-height: 1.16;
  letter-spacing: .01em;
  color: var(--white);
}

.page-home .home-top__lede {
  margin-top: 16px;
  color: rgba(255, 255, 255, .76);
}

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

.page-home .home-top__focus {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--deep);
}

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

/* ---------- 入口目录 ---------- */
.page-home .home-entries {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: clamp(30px, 4.4vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-home .home-entry {
  display: block;
  height: 100%;
  padding: 18px 18px 20px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  background: var(--deep);
  color: var(--white);
  text-decoration: none;
  transition: transform var(--ease), border-color var(--ease), background-color var(--ease);
}

.page-home .home-entry:hover,
.page-home .home-entry:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ruby);
  background: #201f28;
}

.page-home .home-entry__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gold);
}

.page-home .home-entry__label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.35;
}

.page-home .home-entry__desc {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .6);
}

/* ---------- 当日更新带 ---------- */
.page-home .home-updates {
  position: relative;
}

.page-home .home-updates__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: end;
}

.page-home .home-updates__art {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-home .home-updates__filter {
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .home-updates__track {
  list-style: none;
  margin: 18px 0 0;
  padding: 4px 2px 16px;
  display: flex;
  gap: var(--home-gap);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-home .home-update {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
  padding: 16px 18px 18px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line-ink);
  border-left: 3px solid var(--gold);
  transition: transform var(--ease), box-shadow var(--ease), border-left-color var(--ease), background-color var(--ease);
}

.page-home .home-update:hover,
.page-home .home-update:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-left-color: var(--ruby);
  background: var(--ruby-soft);
}

.page-home .home-update__time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--grey);
}

.page-home .home-update .tag {
  margin-top: 10px;
}

.page-home .home-update__text {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: #26262e;
}

/* ---------- 场景通道 ---------- */
.page-home .home-scenes__bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .home-scene {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-home .home-scene__media {
  margin: 0 0 16px;
  border-radius: var(--r-md);
  overflow: hidden;
}

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

.page-home .home-scene .card__index {
  color: var(--sapphire);
}

.page-home .home-scene--service .card__index {
  color: var(--gold);
}

.page-home .home-scene--service .card__text {
  color: rgba(255, 255, 255, .74);
}

.page-home .home-scene__link {
  display: inline-block;
  color: var(--ruby);
  font-weight: 500;
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 27, 60, .35);
  padding-bottom: 2px;
  transition: border-color var(--ease), color var(--ease);
}

.page-home .home-scene__link:hover,
.page-home .home-scene__link:focus-visible {
  color: #a5122c;
  border-bottom-color: #a5122c;
}

.page-home .home-scene--service .home-scene__link {
  color: var(--gold);
  border-bottom-color: rgba(201, 162, 39, .45);
}

.page-home .home-scene--service .home-scene__link:hover,
.page-home .home-scene--service .home-scene__link:focus-visible {
  color: #e2bd44;
  border-bottom-color: #e2bd44;
}

/* ---------- 站点身份 ---------- */
.page-home .home-identity__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--home-gap);
  margin-top: clamp(6px, 1.4vw, 14px);
}

.page-home .home-identity__stat {
  padding: 18px 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-light);
  background: var(--deep);
}

.page-home .home-identity__stat .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--white);
}

.page-home .home-identity__stat .stat__value em {
  font-style: normal;
  font-size: .48em;
  margin-left: 4px;
  color: var(--gold);
}

.page-home .home-identity__stat .stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .58);
}

.page-home .home-identity__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  margin-top: clamp(24px, 3.2vw, 38px);
  align-items: start;
}

.page-home .home-identity__art {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-home .home-identity__subtitle {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--white);
}

.page-home .home-contact {
  margin: 0;
  display: grid;
  gap: 0;
}

.page-home .home-contact__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 13px 0;
  border-top: 1px solid var(--line-light);
}

.page-home .home-contact__row:last-child {
  border-bottom: 1px solid var(--line-light);
}

.page-home .home-contact dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gold);
}

.page-home .home-contact dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
  word-break: break-word;
}

.page-home .home-contact .copy-btn {
  font: inherit;
  color: var(--white);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px dashed rgba(255, 255, 255, .35);
  transition: color var(--ease), border-color var(--ease);
}

.page-home .home-contact .copy-btn:hover,
.page-home .home-contact .copy-btn:focus-visible {
  color: var(--ruby);
  border-bottom-color: var(--ruby);
}

.page-home .home-identity__note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .6);
}

.page-home .home-identity__link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, .45);
  transition: color var(--ease), border-color var(--ease);
}

.page-home .home-identity__link:hover,
.page-home .home-identity__link:focus-visible {
  color: #e2bd44;
  border-bottom-color: #e2bd44;
}

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

@media (min-width: 760px) {
  .page-home .home-top__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }

  .page-home .home-entries {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home .home-updates__head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }

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

  .page-home .home-updates__art img {
    height: 100%;
  }

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

  .page-home .home-identity__body {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: stretch;
  }

  .page-home .home-contact__row {
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
  }

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

  .page-home .home-scene--tablet {
    grid-column: span 7;
  }

  .page-home .home-scene--mobile {
    grid-column: span 5;
  }

  .page-home .home-scene--desktop {
    grid-column: span 5;
  }

  .page-home .home-scene--service {
    grid-column: span 7;
  }
}

@media (min-width: 1040px) {
  .page-home .home-updates__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 4px;
  }

  .page-home .home-update {
    flex: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-entry,
  .page-home .home-update,
  .page-home .home-scene__link,
  .page-home .home-contact .copy-btn,
  .page-home .home-identity__link {
    transition: none;
  }

  .page-home .home-entry:hover,
  .page-home .home-entry:focus-visible,
  .page-home .home-update:hover,
  .page-home .home-update:focus-within {
    transform: none;
  }
}
