/* 첫 화면(남색 #0B1220): 제목 두 줄 m-up, 설명 · 단추 m-fade, 아래 장면 무대. 장면 안쪽은 landing-scene.css */
.hero { position: relative; overflow: hidden; padding-top: 104px; background: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; left: 50%; top: -220px; width: 1100px; height: 700px; margin-left: -550px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 196, 0, .16), rgba(245, 196, 0, 0)); pointer-events: none; }
.hero-copy { position: relative; text-align: center; }
.h1 { max-width: 940px; margin: 0 auto; color: #fff; font-size: clamp(36px, 5.3vw, 68px); line-height: 1.1; letter-spacing: -.035em; }
.lede { max-width: 640px; margin: 24px auto 0; color: rgba(255, 255, 255, .72); font-size: 18px; line-height: 1.6; }
.hero .ctas { justify-content: center; margin-top: 36px; }
.hero-note { margin-top: 16px; color: rgba(255, 255, 255, .56); font-size: 14px; }

/* 제목 줄 올라오기 · 흐리게 나타나기(wkdk m-up / m-fade) */
.m-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.m-line > span { display: inline-block; animation: m-up 1.1s var(--ease-out) both; }
.m-line > span.d2 { animation-delay: .12s; }
.m-fade { animation: m-fade 1s var(--ease) both; }
.d3 { animation-delay: .38s; }
.d4 { animation-delay: .54s; }
.d5 { animation-delay: .65s; animation-duration: 1.2s; }
@keyframes m-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes m-fade { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fi { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fadein { animation: fi .45s var(--ease); }

/* 무대 상자: 1240×720 무대를 폭에 맞춰 scale(scene.js) */
.stage-wrap { position: relative; padding-top: 20px; padding-bottom: 16px; }
.stage-box { position: relative; width: 100%; aspect-ratio: 1240 / 720; }
.stage { position: absolute; left: 0; top: 0; width: 1240px; height: 720px; transform-origin: 0 0; }
.stage-box.gif { aspect-ratio: 16 / 9; }
.stage-box.gif.sq { aspect-ratio: 1 / 1; }
.stage-box.gif .stage { display: none; }
.gif-box { position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; border-radius: 20px; background: var(--navy); }
.gif-box img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.gif-box .seg { opacity: 0; transition: opacity 1s ease; }
.gif-box .seg.on { opacity: 1; }

@media (max-width: 768px) {
  .hero { padding-top: 56px; }
  .lede { font-size: 16px; }
  .hero .ctas .btn { flex: 1 1 140px; }
  .stage-wrap { padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .m-line > span, .m-fade, .fadein, .chip-cap span { animation: none; }
  .gif-box .seg { transition: none; }
}
