/* index.html — 허준 main-shell / absolute header / full-viewport hero */

body.is-home .main-shell {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

body.is-home #site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
}

.main-hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 100svh;
  overflow: hidden;
}

.main-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.main-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.main-hero__center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 1rem) var(--side-pad) clamp(48px, 8vw, 80px);
  pointer-events: none;
}

.main-hero__center > * {
  pointer-events: auto;
}

.main-hero__content {
  width: min(var(--max-w), 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 3vw, 36px);
}

@keyframes main-hero-pop-bounce {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }

  18% {
    opacity: 1;
    transform: scale(1.1);
  }

  38% {
    transform: scale(0.96);
  }

  55% {
    transform: scale(1.03);
  }

  72% {
    transform: scale(0.99);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes main-hero-info-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-hero__title {
  transform-origin: center center;
  animation: main-hero-pop-bounce 0.95s cubic-bezier(0.34, 1.2, 0.64, 1) both;
  will-change: transform, opacity;
}

.main-hero__title img {
  width: min(720px, 88vw);
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0, 73, 126, 0.15));
}

.main-hero__info {
  width: min(640px, 100%);
  padding: clamp(22px, 3.2vw, 30px) clamp(28px, 4.5vw, 44px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 73, 126, 0.1);
  text-align: center;
  font-family: var(--font);
  animation: main-hero-info-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.62s both;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .main-hero__title,
  .main-hero__info {
    animation: none;
    will-change: auto;
  }
}

/* 1행: 날짜(한) — #2378bb · 굵게 · 가장 큼 */
.main-hero__date-ko {
  margin: 0;
  font-size: clamp(26px, 2.85vw, 32px);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1.35;
}

/* 2행: 날짜(영)·시간 — #00497e · semi-bold · 중간 */
.main-hero__date-en {
  margin: 10px 0 0;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
  line-height: 1.45;
}

/* 3행: 장소 — 한 굵게(#2378bb), 영·구분(#00497e) */
.main-hero__place {
  margin: 10px 0 0;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.main-hero__place-ko {
  font-weight: 800;
  color: var(--blue);
}

.main-hero__place-sep {
  font-weight: 600;
  color: var(--blue-dark);
}

.main-hero__place-en {
  font-weight: 600;
  color: var(--blue-dark);
}

@media (max-width: 640px) {
  .main-hero__info {
    padding: 16px 18px;
    border-radius: 18px;
  }

  .main-hero__date-ko {
    font-size: clamp(19px, 5vw, 24px);
    line-height: 1.3;
  }

  .main-hero__date-en {
    margin-top: 6px;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.4;
  }

  .main-hero__place {
    margin-top: 6px;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.4;
  }
}
