/* intro.css — Phase 9: 인트로 애니메이션 */

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #F5F5F5;
  overflow: hidden;
}

.intro-card-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: 0 16px;
}

.intro-col {
  flex: 0 0 calc((100vw - 80px) / 4);
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
}

.intro-col--offset {
  padding-top: 160px;
}

.intro-card {
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  background: #F5F5F5;
}

.intro-card.portrait {
  aspect-ratio: 348 / 480;
}

.intro-card.landscape {
  aspect-ratio: 348 / 320;
}

.intro-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.intro-card img.loaded {
  opacity: 1;
}

/* --- 화이트 오버레이 --- */
.intro-white-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.intro-title-container{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap:32px;
}

.intro-main-title{
  /* position: absolute;
  top: 344px;
  left: 50%; */
  opacity: 0;
  margin: 0;
  z-index: 4;

  color: #00499D;
  text-align: center;
  font-family: var(--font-nanum);
  font-size: clamp(40px, 5.56vw, 80px);
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

.intro-subtitle{
  color: var(--grey-5);
  text-align: center;
  font-family: var(--font-nanum);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* 160% */
  letter-spacing: -0.4px;
  z-index: 4;
  
}

