.home-stage {
  width: min(1360px, calc(100% - 4rem));
  margin-inline: auto;
  margin-bottom: 2rem;
  background: var(--stage-bg, #f3f4f6);
  color: var(--stage-title, #1e293b);
  padding-top: var(--stage-pad-top, 1.15rem);
  padding-right: 0;
  padding-bottom: var(--stage-pad-bottom, 1.35rem);
  padding-left: 0;
  border-radius: 0 0 1.5rem 1.5rem;
}

.home-stage-frame {
  background: #fff;
  padding-bottom: 2rem;
}

.home-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.home-stage-main {
  position: relative;
  min-width: 0;
  min-height: 26rem;
}

.home-stage-swiper {
  height: 100%;
  overflow: hidden;
}

.home-stage-swiper .swiper-slide {
  height: 100%;
  overflow: hidden;
}

.home-stage-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  min-height: 26rem;
  height: 100%;
  background: var(--stage-slide-bg, transparent);
  border-radius: 1.5rem;
}

.home-stage-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem 0.25rem 4.25rem;
}

.home-stage-copy h2 {
  margin: 0 0 0.55rem;
  max-width: 22rem;
  color: var(--stage-title, #1e293b);
  font-size: var(--stage-title-size, clamp(1.375rem, 1.2rem + 0.45vw, 1.75rem));
  font-weight: var(--stage-title-weight, 600);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.home-stage-copy p {
  margin: 0 0 0.9rem;
  max-width: 28rem;
  color: var(--stage-text, #4b5563);
  font-size: var(--stage-text-size, 0.9375rem);
  font-weight: var(--stage-text-weight, 400);
  line-height: 1.55;
}

.home-stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-stage .stage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--stage-btn, var(--wstyle-primary));
  border-radius: 999px;
  background: var(--stage-btn, var(--wstyle-primary));
  color: var(--stage-btn-text, #fff);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-stage .stage-btn:hover {
  background: color-mix(in srgb, var(--stage-btn, var(--wstyle-primary)) 86%, #000);
  border-color: color-mix(in srgb, var(--stage-btn, var(--wstyle-primary)) 86%, #000);
  color: var(--stage-btn-text, #fff);
}

.home-stage .stage-btn-quiet {
  background: transparent;
  border-color: var(--stage-btn, var(--stage-title, #1e293b));
  color: var(--stage-btn-text, var(--stage-btn, var(--stage-title, #1e293b)));
}

.home-stage .stage-btn-quiet:hover {
  background: color-mix(in srgb, var(--stage-btn, var(--stage-title, #1e293b)) 8%, transparent);
  border-color: var(--stage-btn, var(--stage-title, #1e293b));
  color: var(--stage-btn-text, var(--stage-btn, var(--stage-title, #1e293b)));
}

.home-stage .stage-btn i {
  line-height: 1;
}

.home-stage .stage-btn i.is-start { margin-inline-end: 0.45rem; }
.home-stage .stage-btn i.is-end { margin-inline-start: 0.45rem; }

.home-stage-photo {
  align-self: center;
  width: 100%;
  aspect-ratio: 5 / 4;
  height: auto;
  min-height: 0;
  border-radius: 1.5rem;
  overflow: hidden;
}

.home-stage-photo img,
.home-stage-photo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-stage-nav {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0.15rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.home-stage-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--stage-title, #1e293b) 28%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--stage-title, #1e293b);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.home-stage-nav button:hover {
  background: color-mix(in srgb, var(--stage-title, #1e293b) 6%, transparent);
}

.home-stage-next { position: relative; }

.home-stage-progress {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: rotate(-90deg);
  pointer-events: none;
}

.home-stage-progress circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 122.52;
  stroke-dashoffset: 122.52;
}

.home-stage-progress.is-on circle {
  animation: stage-ring 5.5s linear forwards;
}

.home-stage-main:hover .home-stage-progress.is-on circle {
  animation-play-state: paused;
}

@keyframes stage-ring {
  to { stroke-dashoffset: 0; }
}

.home-stage-count {
  min-width: 3.2rem;
  color: var(--stage-title, #1e293b);
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.home-stage-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100%;
  height: 100%;
  padding: 1.25rem 1.15rem 1.15rem;
  border-radius: 1.5rem;
  background: var(--stage-card-bg, var(--wstyle-primary));
  color: var(--stage-card-title, #fff);
  overflow: hidden;
  text-decoration: none;
}

.home-stage-card.is-image {
  padding: 0;
  justify-content: flex-end;
  background-color: var(--stage-card-bg, var(--wstyle-primary));
  background-image: var(--stage-card-image);
  background-position: center;
  background-size: cover;
}

.home-stage-card.is-image .home-stage-card-copy {
  padding: 1.5rem 1.35rem 1.35rem;
}

.home-stage-card.is-link:hover {
  opacity: 0.96;
}

.home-stage-art {
  flex: 1 1 auto;
  min-height: 9.5rem;
  border-radius: 1rem;
  overflow: hidden;
}

.home-stage-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-stage-card-kicker {
  margin: 0 0 0.35rem;
  color: var(--stage-card-kicker, color-mix(in srgb, #fff 82%, transparent));
  font-size: var(--stage-card-kicker-size, 0.8125rem);
  font-weight: var(--stage-card-kicker-weight, 500);
  line-height: 1.3;
}

.home-stage-card h3 {
  margin: 0 0 0.85rem;
  color: var(--stage-card-title, #fff);
  font-size: var(--stage-card-title-size, clamp(1.125rem, 1.05rem + 0.3vw, 1.375rem));
  font-weight: var(--stage-card-title-weight, 600);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.home-stage .stage-btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--stage-card-ink, var(--wstyle-primary));
}

.home-stage .stage-btn-light:hover {
  background: color-mix(in srgb, #fff 88%, var(--stage-card-ink, var(--wstyle-primary)));
  border-color: #fff;
  color: var(--stage-card-ink, var(--wstyle-primary));
}

@media (max-width: 991.98px) {
  .home-stage-main,
  .home-stage-slide,
  .home-stage-card {
    min-height: 0;
    height: auto;
  }

  .home-stage-grid { gap: 1.75rem; }

  .home-stage-slide { gap: 1.35rem; }

  .home-stage-copy {
    padding: 1.35rem 0 0;
  }

  .home-stage-copy h2 {
    font-size: var(--stage-title-size, 1.375rem);
  }

  .home-stage-copy p {
    margin-bottom: 0.75rem;
    font-size: var(--stage-text-size, 0.875rem);
  }

  .home-stage-card h3 {
    font-size: var(--stage-card-title-size, 1.25rem);
  }

  .home-stage-swiper,
  .home-stage-swiper .swiper-slide,
  .home-stage-slide {
    height: auto;
  }

  .home-stage-nav {
    position: static;
    justify-content: center;
    margin-top: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .home-stage {
    width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }

  .home-stage-frame {
    background: transparent;
    padding-bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 1399.98px) {
  .home-stage {
    width: min(1360px, calc(100% - 8px));
  }
}

@media (min-width: 1536px) {
  .home-stage {
    width: min(1536px, calc(100% - 5rem));
  }
}

@media (min-width: 992px) {
  .home-stage-grid {
    grid-template-columns: minmax(0, 3fr) minmax(15rem, 1fr);
    gap: 1.25rem;
  }

  .home-stage-slide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
  }

  .home-stage-main { min-height: 0; }

  .home-stage-slide { min-height: 0; }

  .home-stage-photo {
    align-self: stretch;
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
  }

  .home-stage-card {
    min-height: 0;
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-stage .stage-btn,
  .home-stage-nav button { transition: none; }
  .home-stage-progress circle { animation: none; }
}
