.greeting-main {
  padding: 0;
  margin: 0;
}

/* 🎥 비디오 히어로: 페이지 스코프 + svh */
.greeting-main .video-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
}
.greeting-main .video-hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.greeting-main .video-hero .overlay {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: min(30svh, 30vh);
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* 🧭 소개 텍스트 섹션 */
.greeting-intro {
  background-color: #ffffff;
  padding: var(--section-padding) 0;
  margin-top: 2rem;
  text-align: center;
}
.greeting-intro h1 {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  margin-bottom: var(--gap-sm);
}
.greeting-intro p {
  font-size: var(--font-size-md);
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ⌨️ 타이핑: JS 전용(가로쓰기 + 줄바꿈 허용) */
.typewriter {
  font-size: var(--font-size-md);
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--color-text);
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: normal;     /* 줄바꿈 허용 */
  overflow: visible;       /* 잘림 방지 */
  width: auto;
  max-width: 800px;
  line-height: 1.8;
  margin: 0 auto;
}

/* 📄 인사말 섹션 */
.greeting-section {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--section-padding) 1rem;
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 1.8;
  text-align: left;
}
.greeting-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-md);
}
.ceo-photo {
  width: 200px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-sm);
}
.message-box { max-width: 700px; }
.message-box h2 {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  margin-bottom: var(--gap-sm);
}
.message-box p { margin-bottom: var(--gap-md); }
.signature {
  text-align: right;
  font-weight: bold;
  margin-top: var(--gap-lg);
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .greeting-main .video-hero { min-height: 60svh; }
  .greeting-main .video-hero .overlay { padding-top: 10svh; font-size: 1rem; }

  .greeting-intro { padding: 2rem 1rem; margin-top: 1.5rem; }
  .greeting-intro h1 { font-size: 1.4rem; margin-bottom: 0.75rem; }

  .greeting-intro p,
  .typewriter {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 100%;
  }

  .greeting-section {
    padding: 2rem 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .greeting-message { gap: 1.5rem; }
  .ceo-photo { width: 160px; }
  .message-box h2,
  .message-box h3 { font-size: 1.2rem; margin-bottom: 1rem; }
  .message-box p { margin-bottom: 1rem; }
  .signature { font-size: 0.95rem; margin-top: 1.5rem; text-align: right; }
}
@media (max-width: 768px){
  .content-section.greeting-section{
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
