.page-home {
  --hh-home-kicker: 0.75rem;
  --hh-home-dip: 2.5rem;
}

.page-home .home-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--hh-hsp);
  background: var(--hh-blue-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--hh-blue-light);
  font-size: 0.8125rem;
}

.page-home .home-context .breadcrumb__item {
  color: var(--hh-blue-light);
}

.page-home .home-context .breadcrumb__link {
  color: var(--hh-blue-light);
  text-decoration: none;
}

.page-home .home-context__code {
  font-family: var(--hh-font-mono);
  color: var(--hh-orange);
  letter-spacing: 0.08em;
}

.page-home .hero-frame {
  position: relative;
  padding: 1.75rem var(--hh-hsp) 3.25rem;
  background: var(--hh-blue-dark);
  overflow: hidden;
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hh-orange) 0%, transparent 68%);
}

.page-home .hero-frame__stage {
  position: relative;
  max-width: var(--hh-container);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--hh-blue-medium);
  box-shadow: 0 24px 60px rgba(7, 16, 34, 0.45);
}

.page-home .hero-frame__stage::before {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  z-index: 3;
  pointer-events: none;
}

.page-home .hero-frame__stage::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--hh-orange) 0 10px, transparent 10px 20px);
  z-index: 3;
  opacity: 0.85;
}

.page-home .hero-frame__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero-frame__inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.25rem 1.75rem 2.5rem;
  background: linear-gradient(180deg, rgba(10, 31, 68, 0.12) 0%, rgba(10, 31, 68, 0.82) 62%, rgba(10, 31, 68, 0.98) 100%);
}

.page-home .hero-frame__lead {
  margin-bottom: 0.5rem;
  font-family: var(--hh-font-mono);
  font-size: var(--hh-home-kicker);
  letter-spacing: 0.14em;
  color: var(--hh-orange);
  text-transform: uppercase;
}

.page-home .hero-frame__version {
  display: flex;
  align-items: baseline;
  gap: 0.08em;
  margin-bottom: 1rem;
  font-family: var(--hh-font-mono);
}

.page-home .hero-frame__num {
  color: #fff;
  font-weight: 900;
  line-height: 0.9;
}

.page-home .hero-frame__num.is-lg {
  font-size: 4.25rem;
}

.page-home .hero-frame__num.is-md {
  font-size: 3rem;
}

.page-home .hero-frame__dot {
  color: var(--hh-orange);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 0.6;
}

.page-home .hero-frame__meta {
  margin-left: 0.875rem;
  color: var(--hh-orange);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-home .hero-frame__title {
  margin: 0 0 0.625rem;
  font-family: var(--hh-font-display);
  font-size: 1.625rem;
  line-height: 1.3;
  color: #fff;
}

.page-home .hero-frame__desc {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.page-home .hero-frame__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .hero-frame__actions .button--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.page-home .hero-frame__rail {
  display: none;
}

.page-home .league-section {
  position: relative;
  overflow: hidden;
}

.page-home .league-section::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: 7rem;
  width: 15rem;
  height: 2px;
  transform: rotate(-24deg);
  background: linear-gradient(90deg, var(--hh-orange), transparent);
  opacity: 0.5;
}

.page-home .league-section__head,
.page-home .archive-section__head,
.page-home .update-section__head {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.page-home .league-section__head .section-title,
.page-home .archive-section__head .section-title,
.page-home .update-section__head .section-title {
  margin: 0 0 0.375rem;
}

.page-home .league-section__head .section-subtitle,
.page-home .archive-section__head .section-subtitle,
.page-home .update-section__head .section-subtitle {
  margin: 0;
}

.page-home .league-section__body {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .league-section__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
}

.page-home .league-section__content .button {
  margin-top: 0.25rem;
}

.page-home .league-section__intro {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.page-home .league-features {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-home .league-features__item {
  display: flex;
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.page-home .league-features__no {
  min-width: 2.5rem;
  font-family: var(--hh-font-mono);
  font-size: 0.8125rem;
  color: var(--hh-orange);
  padding-top: 0.25rem;
}

.page-home .league-features__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #fff;
}

.page-home .league-features p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.page-home .archive-section {
  position: relative;
  overflow: hidden;
}

.page-home .archive-section__layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .timeline-rail {
  position: relative;
  padding-left: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.page-home .timeline-rail::before {
  content: "";
  position: absolute;
  left: 0.4375rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: linear-gradient(180deg, var(--hh-orange) 0%, var(--hh-blue-bright) 100%);
}

.page-home .timeline-item {
  position: relative;
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0.4rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--hh-orange);
  background: var(--hh-blue-dark);
}

.page-home .timeline-item__year {
  display: block;
  font-family: var(--hh-font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.page-home .timeline-item__mark {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .archive-section__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  border-radius: 2px;
}

.page-home .archive-section__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.page-home .archive-section__foot p {
  max-width: 34rem;
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .archive-section__foot .button--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.page-home .profile-link {
  display: inline-block;
  margin-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--hh-orange);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.page-home .version-table {
  border-top: 1px solid rgba(10, 31, 68, 0.18);
  margin-top: 1.5rem;
}

.page-home .version-row {
  display: grid;
  grid-template-columns: 5.25rem 1fr auto;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(10, 31, 68, 0.14);
}

.page-home .version-row--current {
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.12), transparent);
}

.page-home .version-row__ver {
  font-family: var(--hh-font-mono);
  font-weight: 700;
  color: var(--hh-near-black);
}

.page-home .version-row__note {
  font-size: 0.875rem;
  color: var(--hh-gray-dark);
}

.page-home .version-row__status {
  justify-self: end;
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--hh-blue-light);
  color: var(--hh-blue-medium);
}

.page-home .version-row--current .version-row__status {
  background: var(--hh-orange);
  color: #fff;
}

.page-home .update-section__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-home .media-section {
  position: relative;
  overflow: hidden;
}

.page-home .media-section__layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .media-section__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

.page-home .media-section__content .section-title {
  margin: 0.125rem 0 0.75rem;
}

.page-home .media-section__desc {
  max-width: 32rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .media-section__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-home .media-section__stats .metric {
  border-left: 2px solid var(--hh-orange);
  padding-left: 0.875rem;
}

.page-home .media-section__stats .metric__value {
  display: block;
  font-family: var(--hh-font-mono);
  font-size: 1.625rem;
  font-weight: 700;
  color: #fff;
}

.page-home .media-section__stats .metric__label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-home .feedback-section {
  color: var(--hh-near-black);
}

.page-home .feedback-section .section-index {
  color: var(--hh-near-black);
}

.page-home .feedback-section .section-index::after {
  background: var(--hh-near-black);
}

.page-home .feedback-section .section-title {
  margin: 0.125rem 0 0.75rem;
  color: var(--hh-near-black);
}

.page-home .feedback-section__desc {
  max-width: 38rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(7, 16, 34, 0.84);
}

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

.page-home .feedback-card {
  padding: 1.25rem 1.5rem;
  background: rgba(10, 31, 68, 0.08);
  border: 1px solid rgba(10, 31, 68, 0.14);
  border-radius: 2px;
}

.page-home .feedback-card__label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  color: rgba(7, 16, 34, 0.68);
}

.page-home .feedback-card__value {
  font-family: var(--hh-font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--hh-near-black);
  word-break: break-all;
}

.page-home .feedback-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

.page-home .feedback-section__actions .button--outline {
  border-color: rgba(10, 31, 68, 0.5);
  color: var(--hh-near-black);
}

@media (min-width: 768px) {
  .page-home .hero-frame__inner {
    padding: 3rem 3rem 3.25rem;
  }

  .page-home .hero-frame__num.is-lg {
    font-size: 6rem;
  }

  .page-home .hero-frame__num.is-md {
    font-size: 4rem;
  }

  .page-home .hero-frame__dot {
    font-size: 3rem;
  }

  .page-home .hero-frame__title {
    font-size: 2.25rem;
  }

  .page-home .hero-frame__desc {
    font-size: 1rem;
  }

  .page-home .league-section__body {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .league-section__visual {
    order: 2;
  }

  .page-home .league-section__visual img {
    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
  }

  .page-home .archive-section__layout {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-home .media-section__layout {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-home .media-section__visual img {
    aspect-ratio: 4 / 3;
    clip-path: polygon(0 0, 100% 6%, 100% 94%, 0 100%);
  }

  .page-home .feedback-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .hero-frame__rail {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: absolute;
    right: max(2rem, calc((100vw - var(--hh-container)) / 2));
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    font-family: var(--hh-font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.22em;
    color: var(--hh-orange);
  }

  .page-home .hero-frame__rail span {
    writing-mode: vertical-rl;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 0.625rem;
    line-height: 1;
  }

  .page-home .league-section__head {
    gap: 2.5rem;
  }

  .page-home .league-section__head .section-index {
    font-size: 4rem;
  }

  .page-home .archive-section__head {
    gap: 2.5rem;
  }

  .page-home .archive-section__head .section-index {
    font-size: 4rem;
  }

  .page-home .update-section__head {
    gap: 2.5rem;
  }

  .page-home .update-section__head .section-index {
    font-size: 4rem;
  }

  .page-home .version-row {
    grid-template-columns: 7rem 1fr auto;
    padding: 1.125rem 0.5rem;
  }

  .page-home .version-row__ver {
    font-size: 1.125rem;
  }

  .page-home .feedback-section__inner {
    max-width: 52rem;
  }
}
