/* 디자인(01-hero.png 1125x1896 @3x) 좌표 ÷ 3 */
.hero {
  position: relative;
  height: 632px;
  overflow: hidden;
  background: #2a2a2a;
  text-align: center;
}
/* 흑백 배경 사진: 화면 폭에 맞춰 위쪽 기준으로 채움 */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__together {
  position: absolute;
  top: 32.5px;
  left: 0;
  right: 0;
  font-family: var(--f-en);
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #fff;
  white-space: nowrap;
}
/* 종이 카드: hero frame bg.png (777x1278 @3x) → 259 x 388 영역으로 위쪽 기준 크롭 */
.hero__card {
  position: absolute;
  top: 164px;
  left: 50%;
  width: 258.67px;
  height: 387.67px;
  margin-left: -128.5px;
  background: #e9e6df url("../../public/images/hero-card.jpg") center top / 100% auto no-repeat;
}
.hero__names-ko {
  position: absolute;
  top: 34.7px;
  left: 0;
  right: 0;
  font-size: 12.1px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-dark);
}
.hero__names-en {
  position: absolute;
  top: 60px;
  left: -20px;
  right: -20px;
  font-family: var(--f-en);
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: var(--c-dark);
  white-space: nowrap;
}
/* hero-img.png: 651x537 @3x (폴라로이드 + 그림자 여백 포함) */
.hero__photo {
  position: absolute;
  top: 108.67px;
  left: 21.33px;
  width: 217px;
  height: 179px;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  filter: brightness(0.94);
}
.hero__date,
.hero__venue {
  position: absolute;
  left: 0;
  right: 0;
  font-size: 12.5px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c-text);
  white-space: nowrap;
}
.hero__date { top: 315.4px; letter-spacing: -0.02em; }
.hero__venue { top: 338.4px; }

/* ---------- 첫 화면 등장 인터랙션 (js/reveal.js 가 .is-play 부여) ----------
   1) 흑백 배경: 흐릿하게 확대된 상태에서 초점이 맞듯 선명해지며 천천히 줌아웃
   2) ( together ): 자간이 모이며 나타남
   3) 종이 카드: 아래에서 천천히 떠오름
   4) 폴라로이드: 사진이 현상되듯 하얗게 바랜 상태 → 선명해짐
   5) 한글 이름 → 영문 필기체(써지듯) → 날짜·장소 순서로 등장 */
.hero__bg,
.hero__together,
.hero__card,
.hero__photo,
.hero__names-ko,
.hero__names-en,
.hero__date,
.hero__venue { opacity: 0; }

.hero.is-play .hero__bg { animation: hero-fade 1.6s ease-out both; }
.hero.is-play .hero__bg img { animation: hero-focus 3.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero.is-play .hero__together { animation: hero-track 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; }
.hero.is-play .hero__card { animation: hero-card 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both; }
.hero.is-play .hero__names-ko { animation: hero-track 1.3s cubic-bezier(0.22, 1, 0.36, 1) 1.7s both; }
.hero.is-play .hero__names-en { animation: hero-write 2s cubic-bezier(0.45, 0, 0.25, 1) 2s both; }
.hero.is-play .hero__photo { animation: hero-rise 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.4s both; }
.hero.is-play .hero__photo img { animation: hero-develop 2.6s ease-out 1.4s both; }
.hero.is-play .hero__date { animation: hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 3s both; }
.hero.is-play .hero__venue { animation: hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 3.2s both; }

@keyframes hero-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hero-focus {
  from { scale: 1.15; filter: blur(8px); }
  to   { scale: 1;    filter: blur(0); }
}
@keyframes hero-card {
  from { opacity: 0; translate: 0 40px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes hero-develop {
  from { filter: brightness(1.5) saturate(0) blur(2px); }
  to   { filter: brightness(0.94) saturate(1) blur(0); }
}
@keyframes hero-track {
  from { opacity: 0; letter-spacing: 0.45em; translate: 0 10px; }
  to   { opacity: 1; letter-spacing: 0;      translate: 0 0; }
}
@keyframes hero-write {
  from { opacity: 1; clip-path: inset(-30% 100% -40% -10%); }
  to   { opacity: 1; clip-path: inset(-30% -10% -40% -10%); }
}
@keyframes hero-rise {
  from { opacity: 0; translate: 0 14px; }
  to   { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero__together, .hero__card, .hero__photo, .hero__names-ko, .hero__names-en, .hero__date, .hero__venue { opacity: 1; }
  .hero.is-play * { animation: none !important; }
}
