.page-home {
  --home-grid: 112px;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding-block: 32px 56px;
  background-image:
    linear-gradient(to right, rgba(34, 48, 76, .5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 48, 76, .5) 1px, transparent 1px);
  background-size: var(--home-grid) var(--home-grid);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 62%;
  height: 150%;
  background: linear-gradient(160deg, rgba(255, 122, 47, 0) 20%, rgba(255, 122, 47, .10) 55%, rgba(47, 227, 210, .07) 100%);
  transform: skewX(-8deg);
  pointer-events: none;
  z-index: 0;
}

.page-home .breadcrumb {
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gray);
}

.page-home .breadcrumb a {
  color: var(--cyan);
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  text-decoration: underline;
}

.page-home .home-hero__grid {
  align-items: start;
}

.page-home .home-hero__rail {
  position: relative;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.page-home .home-title {
  margin: 14px 0 16px;
  font-size: clamp(34px, 7vw, 66px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-hero__rail .lede {
  max-width: 34ch;
}

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

.page-home .home-index {
  margin-top: 32px;
}

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

.page-home .home-index__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  padding: 15px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  text-decoration: none;
  transition: background .22s var(--ease), padding-left .22s var(--ease);
}

.page-home .home-index__item:hover,
.page-home .home-index__item:focus-visible {
  background: linear-gradient(90deg, rgba(255, 122, 47, .14), rgba(47, 227, 210, .06) 60%, transparent);
  padding-left: 14px;
}

.page-home .home-index__num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--orange);
}

.page-home .home-index__label {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .home-index__hint {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
}

.page-home .home-index__arrow {
  font-size: 14px;
  color: var(--cyan);
  opacity: .6;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.page-home .home-index__item:hover .home-index__arrow,
.page-home .home-index__item:focus-visible .home-index__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.page-home .home-index__note {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
}

.page-home .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.page-home .home-hero__media {
  margin-top: 34px;
  overflow: hidden;
}

.page-home .home-rounds {
  padding-block: 64px;
}

.page-home .home-rounds__head {
  margin-bottom: 32px;
}

.page-home .home-rounds__head .lede {
  max-width: 58ch;
}

.page-home .home-rounds__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .home-rounds__media {
  overflow: hidden;
}

.page-home .home-rounds__caption {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .home-rounds__panel {
  min-width: 0;
}

.page-home .home-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .home-chip {
  padding: 9px 18px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gray);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-home .home-chip:hover {
  color: var(--white);
  border-color: var(--cyan);
}

.page-home .home-chip.is-active,
.page-home .home-chip[aria-pressed="true"] {
  color: var(--cyan);
  border-color: var(--orange);
  background: linear-gradient(120deg, rgba(255, 122, 47, .14), rgba(47, 227, 210, .08));
}

.page-home .home-chip[data-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
}

.page-home .home-chip:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .round-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .round-card {
  position: relative;
  padding: 20px 20px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px 16px 26px 14px;
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}

.page-home .round-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.page-home .round-card__round {
  margin: 12px 0 6px;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .round-card__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--cyan-soft);
}

.page-home .round-card__meta {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray);
}

.page-home .home-entries {
  padding-block: 64px;
  background-image: linear-gradient(198deg, rgba(47, 227, 210, .07), transparent 46%);
}

.page-home .home-entries__grid {
  align-items: start;
}

.page-home .home-entries__media {
  overflow: hidden;
  margin-bottom: 26px;
}

.page-home .entry-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: linear-gradient(168deg, var(--panel), rgba(11, 18, 32, .92));
  border: 1px solid var(--line);
  border-radius: 26px 18px 30px 16px;
  box-shadow: 0 18px 40px rgba(5, 7, 15, .5);
  transition: transform .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 26px 54px rgba(255, 122, 47, .16);
}

.page-home .entry-card__step {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-home .entry-card .card-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.page-home .entry-card__where {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--cyan);
}

.page-home .entry-card__action {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--white);
}

.page-home .entry-card__note {
  max-height: 0;
  margin: 0 0 16px;
  overflow: hidden;
  opacity: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray);
  transition: max-height .3s var(--ease), opacity .24s var(--ease);
}

.page-home .entry-card:hover .entry-card__note,
.page-home .entry-card:focus-within .entry-card__note {
  max-height: 200px;
  opacity: 1;
}

.page-home .entry-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.page-home .home-snapshot {
  padding-block: 64px;
}

.page-home .home-snapshot__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: end;
  margin-bottom: 30px;
}

.page-home .home-snapshot__head .lede {
  max-width: 52ch;
}

.page-home .home-snapshot__media {
  overflow: hidden;
}

.page-home .snap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .snap-item {
  padding: 18px 18px 20px;
  background: var(--ink);
}

.page-home .snap-item .stat-label {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .02em;
  color: var(--gray);
}

.page-home .snap-item .stat-value {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 21px;
  color: var(--cyan);
  letter-spacing: -0.01em;
}

.page-home .snap-progress {
  margin-top: 26px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px 16px 26px 14px;
}

.page-home .snap-progress__label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.page-home .snap-progress__track {
  height: 10px;
  border-radius: 999px;
  background: var(--deep);
  border: 1px solid var(--line);
  overflow: hidden;
}

.page-home .snap-progress__bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.page-home .snap-bar-67 {
  width: 67%;
}

.page-home .snap-progress__value {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--orange-soft);
}

.page-home .home-updates {
  padding-block: 64px;
}

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

.page-home .feed-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}

.page-home .feed-item .card-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.page-home .feed-item__text {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .feed-item__time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cyan);
}

.page-home .feed-item .pill {
  justify-self: start;
}

.page-home .home-updates__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.page-home .home-updates__note {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
}

.page-home .home-rhythm {
  padding-block: 64px 56px;
  background-image: linear-gradient(22deg, rgba(255, 122, 47, .08), transparent 55%);
}

.page-home .home-rhythm__steps .section-title {
  margin-bottom: 10px;
}

.page-home .rhythm-steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-home .rhythm-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.page-home .rhythm-step__num {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--orange);
}

.page-home .rhythm-step p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white);
}

.page-home .home-rhythm__aside {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.page-home .rhythm-card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
}

.page-home .rhythm-card--soft {
  background: rgba(19, 28, 49, .6);
}

.page-home .rhythm-card .card-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.page-home .rhythm-card p {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray);
}

.page-home .home-rhythm__trust {
  max-width: 68ch;
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray);
}

@media (min-width: 760px) {
  .page-home .home-hero {
    padding-block: 40px 72px;
  }

  .page-home .home-index {
    margin-top: 0;
  }

  .page-home .home-rounds__grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 40px;
  }

  .page-home .round-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .home-entries__media {
    margin-bottom: 0;
  }

  .page-home .home-snapshot__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: 34px;
  }

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

  .page-home .feed-item {
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 22px;
  }

  .page-home .home-rhythm__aside {
    margin-top: 0;
  }

  .page-home .entry-card:nth-child(2) {
    transform: translateY(-10px);
  }

  .page-home .entry-card:nth-child(2):hover,
  .page-home .entry-card:nth-child(2):focus-within {
    transform: translateY(-15px);
  }
}

@media (min-width: 1080px) {
  .page-home .home-rounds {
    padding-block: 80px;
  }

  .page-home .home-entries,
  .page-home .home-snapshot,
  .page-home .home-updates {
    padding-block: 80px;
  }

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

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

@media (max-width: 759px) {
  .page-home .entry-card__note {
    max-height: 200px;
    opacity: 1;
  }

  .page-home .entry-card:nth-child(2) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-index__item,
  .page-home .home-index__arrow,
  .page-home .round-card,
  .page-home .entry-card,
  .page-home .entry-card__note,
  .page-home .home-chip {
    transition: none;
  }

  .page-home .round-card:hover,
  .page-home .entry-card:hover,
  .page-home .entry-card:focus-within {
    transform: none;
  }
}
