* { box-sizing: border-box; }
html, body { margin: 0; background: #0d0a08; color: #fff; font-family: -apple-system, "Apple SD Gothic Neo", "Pretendard", sans-serif; word-break: keep-all; }

.stage { position: fixed; inset: 0; overflow: hidden; }
#film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%); pointer-events: none; }
.shade::after { content: ''; position: absolute; inset: 0; background: rgba(10,6,3,.62); opacity: 0; transition: opacity .6s ease; }
.stage.ending .shade::after { opacity: 1; }

#scroll-space { height: 1200vh; }

.caption, .cta {
  position: absolute; left: 6vw; top: 50%; max-width: 560px;
  opacity: 0; transform: translateY(calc(-50% + 24px));
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none; text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.caption.on, .cta.on { opacity: 1; transform: translateY(-50%); }
.cta.on { pointer-events: auto; }

.eyebrow { margin: 0 0 14px; font-size: 13px; letter-spacing: .28em; color: #f3c98b; font-weight: 600; }
h1 { margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: 1.15; font-weight: 800; }
h2 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.3; font-weight: 700; }
.scroll-hint { margin-top: 28px; font-size: 14px; opacity: .8; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

.cta { left: 50%; text-align: center; max-width: 720px; transform: translate(-50%, calc(-50% + 24px)); }
.cta.on { transform: translate(-50%, -50%); }
.button {
  display: inline-block; margin-top: 32px; padding: 18px 44px; border-radius: 999px;
  background: #f3c98b; color: #2a1a0c; font-weight: 700; font-size: 18px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(243,201,139,.35); transition: transform .2s ease;
}
.button:hover { transform: translateY(-2px); }

.lead { margin: 18px 0 0; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; opacity: .9; }
.fine { margin: 18px 0 0; font-size: 13px; opacity: .6; }

.brand-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 6vw; text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.brand { color: #fff; text-decoration: none; font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 10px; }
.brand small { font-size: 12px; font-weight: 500; color: #f3c98b; letter-spacing: .02em; }
.brand-cta {
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 9px 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
  background: rgba(0,0,0,.15); backdrop-filter: blur(6px); transition: background .2s ease;
}
.brand-cta:hover { background: rgba(255,255,255,.15); }

.progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.12); }
.progress span { display: block; height: 100%; width: 0; background: #f3c98b; }

@media (max-width: 720px) {
  /* 세로 화면에서는 16:9 영상을 잘라내지 않고 위쪽에 온전히 보여 주고, 캡션은 아래 여백에 둔다 */
  #film { object-fit: contain; object-position: center 30%; }
  .shade { background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 55%); }
  .caption { top: auto; bottom: 10vh; left: 6vw; right: 6vw; transform: translateY(24px); }
  .caption.on { transform: none; }
  .cta { width: 88vw; }
  .wide-only { display: none; }
}
