.page-home {
  --feature-red: #E4572E;
  --feature-amber: #F2A900;
  --feature-sage: #7A9B76;
  --hero-grad-a: rgba(26, 46, 63, 0.92);
  --hero-grad-b: rgba(43, 38, 32, 0.68);
  --hero-grad-c: rgba(228, 87, 46, 0.26);
  --hero-stat-bg: rgba(255, 255, 255, 0.06);
  --home-scrollbar: rgba(255, 255, 255, 0.16);
  background: var(--cream);
  min-height: 70vh;
}

.page-home .home-hero__breadcrumb {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 1.25rem 1.25rem 0;
  color: rgba(245, 239, 230, 0.7);
  background: transparent;
}

.page-home .home-hero__breadcrumb .breadcrumb__list {
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.page-home .home-hero__breadcrumb .breadcrumb__link,
.page-home .home-hero__breadcrumb .breadcrumb__current {
  font-size: 0.8125rem;
  color: rgba(245, 239, 230, 0.78);
}

.page-home .home-hero__breadcrumb .breadcrumb__current {
  color: var(--feature-amber);
}

.page-home .home-hero {
  --hero-pad-y: clamp(3rem, 9vw, 6.5rem);
  --hero-pad-x: 1.25rem;
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: var(--hero-pad-y) var(--hero-pad-x);
  background: var(--deep-blue);
  overflow: hidden;
  isolation: isolate;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, var(--hero-grad-a) 0%, var(--hero-grad-b) 46%, var(--hero-grad-c) 100%),
    linear-gradient(180deg, rgba(26, 46, 63, 0.55) 0%, transparent 30%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -18%;
  width: 44%;
  height: 46%;
  z-index: 1;
  opacity: 0.4;
  transform: rotate(12deg);
  background:
    linear-gradient(135deg, transparent 0 6%, var(--feature-red) 6% 12%, transparent 12% 24%, var(--feature-amber) 24% 29%, transparent 29% 46%, var(--deep-blue) 46% 52%, transparent 52%);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  z-index: 0;
}

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

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  color: var(--cream);
  padding-bottom: 5vw;
}

.page-home .home-hero__version {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  background: var(--home-scrollbar);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-home .home-hero__version-tag {
  background: var(--feature-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.page-home .home-hero__version-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--cream);
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--cream);
}

.page-home .home-hero__desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(245, 239, 230, 0.88);
  margin: 0 0 2rem;
  max-width: 60ch;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .home-hero .btn--ghost {
  border-color: rgba(245, 239, 230, 0.5);
  color: var(--cream);
}

.page-home .home-hero .btn--ghost:hover,
.page-home .home-hero .btn--ghost:focus-visible {
  border-color: var(--cream);
  color: var(--cream);
  background: rgba(245, 239, 230, 0.1);
}

.page-home .home-update {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background: var(--cream);
}

.page-home .home-update::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--feature-red) 0%, var(--feature-red) 34%, var(--feature-amber) 34%, var(--feature-amber) 66%, var(--deep-blue) 66%, var(--deep-blue) 100%);
}

.page-home .home-update__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-top: 2.5rem;
}

.page-home .home-update__img {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.page-home .home-update__img img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-update__img figcaption,
.page-home .home-stats__map figcaption {
  font-size: 0.8125rem;
  color: var(--mid-gray);
  padding: 0.75rem 0 0;
  line-height: 1.5;
}

.page-home .home-update__points {
  display: grid;
  gap: 1.75rem;
}

.page-home .home-update__point {
  position: relative;
  padding-left: 3.5rem;
}

.page-home .home-update__num {
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  display: grid;
  place-items: center;
}

.page-home .home-update__point h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.page-home .home-update__point p {
  margin: 0;
  color: var(--mid-gray);
  line-height: 1.65;
}

.page-home .home-update__more {
  display: inline-block;
  font-weight: 600;
  color: var(--feature-red);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  width: fit-content;
}

.page-home .home-update__more:hover,
.page-home .home-update__more:focus-visible {
  border-bottom-color: var(--feature-red);
  color: var(--ink);
}

.page-home .home-features {
  background: var(--light-gray);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border-top: 1px solid rgba(43, 38, 32, 0.06);
  border-bottom: 1px solid rgba(43, 38, 32, 0.06);
}

.page-home .home-features__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.page-home .home-features__bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.page-home .home-features__card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-height: 220px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.page-home .home-features__card:hover,
.page-home .home-features__card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.page-home .home-features__card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  line-height: 1.3;
  margin: 0;
  color: inherit;
}

.page-home .home-features__card p {
  margin: 0;
  color: var(--mid-gray);
  line-height: 1.65;
  flex: 1;
}

.page-home .home-features__card--ink {
  background: var(--deep-blue);
  color: var(--cream);
}

.page-home .home-features__card--ink p {
  color: rgba(245, 239, 230, 0.78);
}

.page-home .home-features__card--media {
  min-height: 0;
}

.page-home .home-features__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}

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

.page-home .home-features__caption {
  font-size: 0.875rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

.page-home .home-features__link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--feature-red);
  transition: color 0.3s var(--ease);
}

.page-home .home-features__card--ink .home-features__link {
  color: var(--feature-amber);
}

.page-home .home-features__card:hover .home-features__link,
.page-home .home-features__card:focus-visible .home-features__link {
  color: var(--ink);
}

.page-home .home-features__card--ink:hover .home-features__link,
.page-home .home-features__card--ink:focus-visible .home-features__link {
  color: var(--cream);
}

.page-home .home-guide {
  background: var(--cream);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.page-home .home-guide__steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: guide-step;
}

.page-home .home-guide__step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--glass-strong);
  border: 1px solid rgba(43, 38, 32, 0.08);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .home-guide__step:hover {
  border-color: rgba(228, 87, 46, 0.35);
  box-shadow: var(--shadow-sm);
}

.page-home .home-guide__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: var(--feature-red);
}

.page-home .home-guide__step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--feature-red);
  margin-bottom: 0.5rem;
}

.page-home .home-guide__step h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.page-home .home-guide__step p {
  margin: 0;
  color: var(--mid-gray);
  line-height: 1.65;
}

.page-home .home-timeline-section {
  background: var(--light-gray);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border-top: 1px solid rgba(43, 38, 32, 0.06);
  border-bottom: 1px solid rgba(43, 38, 32, 0.06);
}

.page-home .home-timeline {
  margin-top: 2.5rem;
  max-width: 760px;
}

.page-home .home-timeline .timeline__item {
  border-left: 2px solid var(--feature-red);
}

.page-home .home-timeline .timeline__date {
  color: var(--feature-red);
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-home .home-timeline__more {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.page-home .home-stats {
  position: relative;
  background: var(--deep-blue);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  overflow: hidden;
}

.page-home .home-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: -12%;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, rgba(228, 87, 46, 0.18) 0%, transparent 70%);
  transform: skewX(-12deg);
  pointer-events: none;
}

.page-home .home-stats .section-label {
  color: var(--feature-amber);
}

.page-home .home-stats .section-title {
  color: var(--cream);
}

.page-home .home-stats .section-desc {
  color: rgba(245, 239, 230, 0.7);
}

.page-home .home-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.page-home .home-stats__item {
  background: var(--hero-stat-bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-height: 120px;
  justify-content: center;
}

.page-home .home-stats__num {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1;
  color: var(--cream);
  display: block;
}

.page-home .home-stats__label {
  font-size: 0.9375rem;
  color: rgba(245, 239, 230, 0.74);
  line-height: 1.4;
}

.page-home .home-stats__map {
  margin: 2.5rem auto 0;
  max-width: 640px;
  width: 100%;
}

.page-home .home-stats__map img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.page-home .home-stats__map figcaption {
  color: rgba(245, 239, 230, 0.68);
}

@media (min-width: 560px) {
  .page-home .home-stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-guide__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .page-home .home-guide__step {
    padding: 1.5rem 1.25rem 1.25rem;
  }
}

@media (min-width: 760px) {
  .page-home .home-update__grid {
    grid-template-columns: 4fr 5fr;
    gap: 3rem;
    align-items: center;
  }

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

  .page-home .home-features__card--schedule {
    grid-column: span 4;
  }

  .page-home .home-features__card--fix {
    grid-column: span 2;
  }

  .page-home .home-features__card--media {
    grid-column: span 2;
  }

  .page-home .home-features__card--replay {
    grid-column: span 2;
  }

  .page-home .home-features__card--guide {
    grid-column: span 2;
  }

  .page-home .home-features__card--media {
    min-height: 220px;
  }

  .page-home .home-features__card--media img {
    height: auto;
    max-height: 280px;
  }

  .page-home .home-stats__item {
    min-height: 140px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__inner {
    max-width: 820px;
  }

  .page-home .home-features__bento {
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
  }

  .page-home .home-features__card--schedule {
    grid-column: span 7;
  }

  .page-home .home-features__card--fix {
    grid-column: span 5;
  }

  .page-home .home-features__card--media {
    grid-column: span 4;
  }

  .page-home .home-features__card--replay {
    grid-column: span 4;
  }

  .page-home .home-features__card--guide {
    grid-column: span 4;
  }

  .page-home .home-features__card--media {
    min-height: 260px;
  }

  .page-home .home-features__card--media img {
    max-height: 320px;
  }

  .page-home .home-timeline {
    margin-left: 1rem;
  }

  .page-home .home-timeline__more {
    justify-content: flex-start;
    margin-left: 1rem;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .page-home .home-hero__inner {
    max-width: 860px;
  }

  .page-home .home-update__grid {
    grid-template-columns: 5fr 5fr;
    gap: 4rem;
  }
}
