.page-home {
  background: var(--c-space);
  color: var(--c-white);
  padding: 0 clamp(16px, 4vw, 48px);
  overflow-x: hidden;
}

.page-home .home-path {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0 14px;
  font-size: 13px;
  color: var(--c-silver);
  border-bottom: 1px solid var(--line-silver);
  letter-spacing: 0.04em;
}

.page-home .home-path__sep {
  color: var(--c-gold);
  opacity: 0.6;
}

.page-home .home-preview {
  background-image:
    linear-gradient(rgba(245, 184, 30, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 184, 30, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
  padding: 36px 0 48px;
}

.page-home .home-preview__head {
  max-width: 640px;
  border-left: 3px solid var(--c-gold);
  padding-left: 18px;
}

.page-home .home-preview__title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  margin: 10px 0 16px;
  letter-spacing: 0.02em;
}

.page-home .home-preview__lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-silver);
  margin: 0 0 24px;
}

.page-home .home-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.page-home .home-preview__body {
  display: grid;
  gap: 28px;
}

.page-home .home-preview__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-silver);
  background: var(--c-night);
}

.page-home .home-preview__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-home .home-chapters {
  border-top: 1px solid var(--line-gold);
  padding-top: 18px;
}

.page-home .home-chapters__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 14px;
}

.page-home .home-chapter {
  display: grid;
  grid-template-columns: 42px 1fr 30px;
  gap: 10px;
  align-items: center;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line-silver);
  color: var(--c-white);
  text-decoration: none;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  animation: homeChapterIn 0.5s var(--ease) both;
}

.page-home .home-chapters .home-chapter:nth-of-type(2) {
  animation-delay: 0.08s;
}

.page-home .home-chapters .home-chapter:nth-of-type(3) {
  animation-delay: 0.16s;
}

.page-home .home-chapters .home-chapter:nth-of-type(4) {
  animation-delay: 0.24s;
}

@keyframes homeChapterIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-home .home-chapter:hover,
.page-home .home-chapter:focus-visible {
  transform: translateX(6px);
  background-color: rgba(245, 184, 30, 0.05);
  border-bottom-color: var(--line-gold);
}

.page-home .home-chapter__idx {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--c-gold);
  opacity: 0.85;
}

.page-home .home-chapter__body {
  display: block;
  min-width: 0;
}

.page-home .home-chapter__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.page-home .home-chapter__desc {
  display: block;
  font-size: 13px;
  color: var(--c-silver);
  margin-top: 4px;
  line-height: 1.6;
}

.page-home .home-chapter__arrow {
  font-size: 24px;
  color: var(--c-gold);
  text-align: right;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .home-chapter:hover .home-chapter__arrow,
.page-home .home-chapter:focus-visible .home-chapter__arrow {
  opacity: 1;
  transform: translateX(0);
}

.page-home .home-about {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 48px 0 40px;
}

.page-home .home-about__content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 16px;
}

.page-home .home-about__content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-silver);
  margin: 0 0 14px;
}

.page-home .home-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.page-home .home-about__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-silver);
  background: var(--c-night);
}

.page-home .home-about__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-home .home-about__ornament {
  position: absolute;
  right: -16px;
  top: 16px;
  width: 96px;
  height: 96px;
  opacity: 0.25;
  pointer-events: none;
}

.page-home .home-news {
  position: relative;
  padding: 48px 0;
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
  overflow: hidden;
}

.page-home .home-news__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  background: var(--c-ink);
}

.page-home .home-news__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .home-news__bg::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: 12%;
  top: 18%;
  background: radial-gradient(circle, rgba(245, 184, 30, 0.2) 0%, transparent 70%);
  animation: homeParticleFloat 7s ease-in-out infinite alternate;
}

@keyframes homeParticleFloat {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(28px, -18px) scale(1.12);
  }
}

.page-home .home-news__head,
.page-home .home-news__list {
  position: relative;
  z-index: 1;
}

.page-home .home-news__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.page-home .home-news__head h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 0;
}

.page-home .home-news__list {
  display: grid;
  gap: 16px;
}

.page-home .home-news__item {
  background: var(--c-night);
  border: 1px solid var(--line-silver);
  padding: 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.page-home .home-news__item:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  background-color: var(--c-nebula);
}

.page-home .home-news__tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-gold);
}

.page-home .home-news__item h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.45;
  margin: 10px 0 10px;
}

.page-home .home-news__item h3 a {
  color: var(--c-white);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.page-home .home-news__item:hover h3 a {
  color: var(--c-amber);
}

.page-home .home-news__item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-silver);
  margin: 0;
}

.page-home .home-stats {
  display: grid;
  gap: 28px;
  padding: 52px 0 56px;
}

.page-home .home-stats__intro h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 14px;
}

.page-home .home-stats__intro p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-silver);
  margin: 0 0 20px;
}

.page-home .home-stats__figure {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .home-stat {
  background: var(--c-night);
  border: 1px solid var(--line-silver);
  padding: 24px 12px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .home-stat:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-card);
}

.page-home .home-stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 900;
  color: var(--c-gold);
  white-space: nowrap;
  line-height: 1.15;
}

.page-home .home-stat__label {
  display: block;
  font-size: 13px;
  color: var(--c-silver);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.page-home .home-stats__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-silver);
  background: var(--c-ink);
}

.page-home .home-stats__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .page-home {
    padding: 0 clamp(24px, 6vw, 72px);
  }

  .page-home .home-preview {
    padding: 56px 0 64px;
  }

  .page-home .home-preview__head {
    max-width: 760px;
  }

  .page-home .home-preview__title {
    font-size: 52px;
  }

  .page-home .home-preview__lead {
    font-size: 18px;
  }

  .page-home .home-preview__body {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 40px;
    align-items: start;
    margin-top: 36px;
  }

  .page-home .home-preview__media {
    position: sticky;
    top: calc(var(--top-h) + 20px);
  }

  .page-home .home-chapter__name {
    font-size: 24px;
  }

  .page-home .home-about {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0;
  }

  .page-home .home-about__content h2 {
    font-size: 36px;
  }

  .page-home .home-about__content p {
    font-size: 16px;
  }

  .page-home .home-about__ornament {
    opacity: 0.6;
  }

  .page-home .home-news__head h2 {
    font-size: 36px;
  }

  .page-home .home-news__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-home .home-news__item {
    padding: 28px 24px;
  }

  .page-home .home-stats {
    grid-template-columns: 0.85fr 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    padding: 64px 0;
  }

  .page-home .home-stats__intro h2 {
    font-size: 34px;
  }

  .page-home .home-stat__num {
    font-size: 40px;
  }
}
