/* ===== 逐帧动画过渡区（朝晖家 · 主打产品，始终深色） ===== */
.frame-transition {
  position: relative;
  z-index: 2;
  height: 500vh;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-night) 100%);
}

.frame-transition__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.frame-transition__stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-transition__backlight {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60vmin;
  height: 60vmin;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 184, 77, 0.3) 0%,
    rgba(255, 184, 77, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.frame-transition__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(18% 24% 18% 24% round 24px);
  will-change: clip-path;
}

.frame-transition__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  will-change: transform;
}

.frame-transition__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  pointer-events: none;
}

.ft-word {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.06em;
  text-shadow: 0 8px 40px rgba(10, 17, 34, 0.6);
  opacity: 0;
}

.ft-dot {
  width: clamp(10px, 1.4vw, 20px);
  height: clamp(10px, 1.4vw, 20px);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(255, 184, 77, 0.8);
  opacity: 0;
}

@media (max-width: 768px) {
  .frame-transition {
    height: 420vh;
  }

  .frame-transition__frame {
    clip-path: inset(30% 12% 30% 12% round 20px);
  }

  .frame-transition__title {
    gap: 0.9rem;
    bottom: 10%;
  }
}
