.page-home {
  --hm-gutter: clamp(20px, 4.5vw, 44px);
  --hm-gap: clamp(16px, 2.4vw, 28px);
  overflow-x: hidden;
  background:
    radial-gradient(120% 60% at 82% -10%, rgba(139, 92, 246, 0.16), transparent 62%),
    radial-gradient(90% 50% at 0% 30%, rgba(34, 211, 238, 0.07), transparent 60%),
    var(--ink);
}

.page-home .hm-cover {
  position: relative;
  padding: clamp(24px, 5vw, 52px) 0 clamp(28px, 5vw, 56px);
}

.page-home .hm-cover::before {
  content: "";
  position: absolute;
  inset: auto -20% 40% auto;
  width: min(560px, 80vw);
  height: min(560px, 80vw);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 68%);
  pointer-events: none;
}

.page-home .hm-cover__grid {
  position: relative;
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  align-items: stretch;
}

.page-home .hm-cover__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .hm-cover__accent {
  color: var(--lilac);
  text-shadow: 0 0 28px rgba(139, 92, 246, 0.45);
}

.page-home .hm-title--cover,
.page-home .hn-title--cover {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.page-home .hm-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.page-home .hm-cover__slice {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--indigo);
  min-height: 320px;
  box-shadow: 0 30px 80px -40px rgba(139, 92, 246, 0.55);
}

.page-home .hm-cover__slice img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 560px;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05) contrast(1.05);
}

.page-home .hm-cover__slice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 16, 0.1) 0%, rgba(11, 10, 16, 0.72) 100%);
  pointer-events: none;
}

.page-home .hm-cover__cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-transform: uppercase;
}

.page-home .hm-cover__capnum {
  color: var(--gold);
}

.page-home .hm-cover__index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(26px, 4vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--edge);
}

.page-home .hm-cover__indexlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: rgba(20, 18, 31, 0.7);
  color: var(--white);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-home .hm-cover__indexlink:hover,
.page-home .hm-cover__indexlink:focus-visible {
  border-color: rgba(139, 92, 246, 0.7);
  color: var(--lilac);
  transform: translateY(-2px);
}

.page-home .hm-cover__indexnum {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
}

.page-home .hm-exp {
  border-top: 1px solid var(--edge);
}

.page-home .hm-exp__lede,
.page-home .hm-member__lede,
.page-home .hm-stats__lede,
.page-home .hm-eco__lede {
  max-width: 62ch;
}

.page-home .hm-scroller {
  display: flex;
  gap: var(--hm-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 30px var(--hm-gutter) 18px;
  margin-top: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.6) transparent;
}

.page-home .hm-scroller::-webkit-scrollbar {
  height: 6px;
}

.page-home .hm-scroller::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.55);
  border-radius: 999px;
}

.page-home .hm-card {
  flex: 0 0 auto;
  width: min(78vw, 350px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--edge);
  background: linear-gradient(165deg, rgba(42, 36, 56, 0.92), rgba(20, 18, 31, 0.94));
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.page-home .hm-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.4);
}

.page-home .hm-card--media {
  background: linear-gradient(180deg, rgba(42, 36, 56, 0.98), rgba(20, 18, 31, 0.96));
}

.page-home .hm-card__media {
  margin: -24px -22px 4px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
}

.page-home .hm-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: brightness(0.86) saturate(1.08);
}

.page-home .hm-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .hm-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 25px);
  color: var(--white);
  letter-spacing: 0.01em;
}

.page-home .hm-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 10px 0 0;
  list-style: none;
}

.page-home .hm-exp__hint {
  margin: 4px auto 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
  opacity: 0.8;
}

.page-home .hm-member {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(139, 92, 246, 0.14), transparent 60%),
    var(--indigo);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.page-home .hm-member__grid {
  gap: clamp(30px, 5vw, 56px);
}

.page-home .hm-member__index {
  margin-top: 26px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .hm-member__index .hn-index__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--edge);
}

.page-home .hm-member__index .hn-index__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
  padding-top: 4px;
}

.page-home .hm-member__index .hn-index__title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.page-home .hm-member__index .hn-index__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-member__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hm-member__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--edge);
  background: rgba(11, 10, 16, 0.55);
}

.page-home .hm-member__glow {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 4px;
}

.page-home .hm-member__glow img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  filter: brightness(0.82) saturate(1.15);
}

.page-home .hm-member__asideTitle {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
}

.page-home .hm-member__aside .hn-disclosure {
  border-top: 1px solid var(--edge);
  padding-top: 12px;
}

.page-home .hm-member__aside .hn-disclosure:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.page-home .hm-member__aside .hn-disclosure__body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-stats {
  position: relative;
}

.page-home .hm-statList {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--edge);
}

.page-home .hm-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 6px 16px;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--edge);
}

.page-home .hm-stat__label {
  font-size: 14.5px;
  color: var(--mist);
}

.page-home .hm-stat__value {
  font-family: var(--font-mono);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.page-home .hm-stat__bar {
  grid-column: 1 / -1;
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(42, 36, 56, 0.9);
  overflow: hidden;
}

.page-home .hm-stat__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  opacity: 0.85;
}

.page-home .hm-stat:nth-child(1) .hm-stat__fill { width: 78%; }
.page-home .hm-stat:nth-child(2) .hm-stat__fill { width: 62%; }
.page-home .hm-stat:nth-child(3) .hm-stat__fill { width: 88%; }
.page-home .hm-stat:nth-child(4) .hm-stat__fill { width: 96%; }
.page-home .hm-stat:nth-child(5) .hm-stat__fill { width: 68%; }
.page-home .hm-stat:nth-child(6) .hm-stat__fill { width: 54%; }
.page-home .hm-stat:nth-child(7) .hm-stat__fill { width: 72%; }
.page-home .hm-stat:nth-child(8) .hm-stat__fill { width: 44%; }

.page-home .hm-stats__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.page-home .hm-stats__note {
  margin: 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hm-eco {
  border-top: 1px solid var(--edge);
}

.page-home .hm-eco__grid {
  gap: clamp(28px, 4.5vw, 52px);
  align-items: center;
}

.page-home .hm-eco__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--indigo);
}

.page-home .hm-eco__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  filter: brightness(0.9) saturate(1.1);
}

.page-home .hm-eco__figure figcaption {
  padding: 12px 18px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
  border-top: 1px solid var(--edge);
}

.page-home .hm-eco__cats {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home .hm-eco__cat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--edge);
  background: rgba(42, 36, 56, 0.5);
  font-size: 14.5px;
  color: var(--white);
}

.page-home .hm-eco__catnum {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
}

.page-home .hm-eco__note {
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 2px solid rgba(232, 201, 155, 0.55);
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hm-eco__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .hm-invite {
  padding-bottom: clamp(60px, 9vw, 110px);
}

.page-home .hm-invite__panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 201, 155, 0.34);
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 90% 0%, rgba(139, 92, 246, 0.3), transparent 62%),
    radial-gradient(70% 100% at 0% 100%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(150deg, #16131F, #0B0A10);
}

.page-home .hm-invite__title {
  max-width: 22ch;
  color: var(--white);
}

.page-home .hm-invite__lede {
  max-width: 56ch;
}

.page-home .hm-invite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hm-invite__micro {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
}

@media (min-width: 768px) {
  .page-home .hm-cover__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.78fr);
    align-items: center;
  }

  .page-home .hm-cover__slice {
    min-height: 480px;
  }

  .page-home .hm-cover__slice img {
    min-height: 480px;
    max-height: 640px;
  }

  .page-home .hm-card {
    width: 360px;
  }

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

  .page-home .hm-stat {
    grid-template-columns: minmax(0, 1fr) 160px;
    align-items: center;
    gap: 10px 24px;
    padding: 18px 0 16px;
  }

  .page-home .hm-stat__value {
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .page-home .hm-cover__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.72fr);
    gap: clamp(40px, 6vw, 88px);
  }

  .page-home .hm-cover__slice {
    min-height: 600px;
  }

  .page-home .hm-cover__slice img {
    min-height: 600px;
    max-height: 720px;
  }

  .page-home .hm-scroller {
    padding-left: calc(var(--hm-gutter) + 24px);
    padding-right: calc(var(--hm-gutter) + 24px);
  }

  .page-home .hm-card {
    width: 380px;
  }

  .page-home .hm-member__aside {
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
  }

  .page-home .hm-eco__figure img {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-card,
  .page-home .hm-cover__indexlink {
    transition: none;
  }

  .page-home .hm-card:hover,
  .page-home .hm-cover__indexlink:hover {
    transform: none;
  }
}
