@charset "utf-8";

/* ---------- 인트로 영상 ---------- */
/* body.intro-playing : 인트로가 재생되는 동안만 붙어 있는 클래스 (모바일 스크롤 잠금용) */
html:not(.intro-seen) body.intro-playing{overflow:hidden;}
html.intro-seen .intro{display:none;}   /* 이미 본 세션: head 의 인라인 스크립트가 intro-seen 을 붙여 첫 프레임부터 숨김 → 깜빡임 방지 */

.intro{
  position:fixed; inset:0; z-index:10000;           /* header(9999), .bu-cursor(9999)보다 위 */
  display:flex; align-items:center; justify-content:center;
  background:#fff;                                  /* 영상 배경(흰색)과 같은 색 → 화면 여백이 티 나지 않음 */
  overflow:hidden; overscroll-behavior:contain; touch-action:none;
  opacity:1; visibility:visible;
  transition:opacity 0.7s ease, visibility 0s linear 0s;
}
.intro.is-hide{                                     /* JS가 이 클래스를 붙이면 페이드아웃 */
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity 0.7s ease, visibility 0s linear 0.7s;
}

.intro-video{width:100%; height:100%; object-fit:contain; pointer-events:none;}

/* 건너뛰기 버튼 (헤더 CONTACT US 버튼과 같은 톤) */
.intro-skip{
  position:absolute; right:50px; bottom:calc(40px + env(safe-area-inset-bottom, 0px));
  height:40px; padding:0 20px; border:1px solid #202026; border-radius:999px;
  background:transparent; color:#202026; cursor:pointer;
  font-family:"Montserrat", "Pretendard Variable", sans-serif; font-size:13px; font-weight:700; letter-spacing:0.06em;
  transition:background-color 0.3s, color 0.3s;
}
.intro-skip:hover,
.intro-skip:focus-visible{background:#202026; color:#fff;}


@media (max-width:1024px){
  /* 모바일 세로: 가로(16:9) 영상이 너무 작게 보여서 키워서 보여줌 */
  .intro-skip{right:20px; bottom:calc(24px + env(safe-area-inset-bottom, 0px)); height:36px; padding:0 16px; font-size:12px;}
}
@media (max-width:834px) and (orientation:portrait){
  /* 영상 폭을 화면의 125%로 → 로고가 화면 폭의 약 65%. 더 크게/작게는 이 값만 조절 */
  .intro-video{flex:none; width:125%; max-width:none; height:auto;}
}

