/* 첫 화면 애플 스타일 시안 (index-apple.html 전용) */
.apple-home { background: #fff; --ink: #1d1d1f; --ink-sub: #6e6e73; --dark: #0f0f0d; }
.apple-home .site-header { background: rgba(255,255,255,0.72); }

/* 히어로 */
.apple-home .hero.hero-home { min-height: 100vh; padding: 0; align-items: flex-end; }
.apple-home .hero-home .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.05) 38%, rgba(0,0,0,0.55) 100%); }
.apple-home .hero-home .hero-content { padding-bottom: 96px; padding-top: 140px; }
.apple-home .hero-home h1 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.07; }
.apple-home .hero-home p.lead { font-size: clamp(1.05rem, 1.9vw, 1.4rem); max-width: 600px; margin-bottom: 30px; color: rgba(255,255,255,0.88); }
.apple-home .hero-notice { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; }
.apple-home .hero-home .btn-row { gap: 10px 22px; align-items: center; }
.apple-home .hero-home .btn-gold { background: #fff; color: var(--ink); padding: 13px 28px; }
.apple-home .hero-home .btn-outline { background: none; border: none; padding: 8px 2px; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; font-weight: 500; }
.apple-home .hero-home .btn-outline::after { content: "›"; margin-left: 6px; font-size: 1.25em; line-height: 1; }
.apple-home .hero-home .btn-outline:hover { background: none; text-decoration: underline; text-underline-offset: 5px; }
.apple-home .hero-home .hero-dots { margin-top: 40px; }
.apple-home .hero-photo-credit { bottom: 20px; opacity: 0.7; }

/* 어두운 섹션 */
.apple-home .ah-dark { background: var(--dark); color: #f5f5f7; padding: 130px 0; }
.apple-home .ah-dark .eyebrow { color: var(--gold-light); }
.apple-home .ah-dark h2, .apple-home .ah-dark h3 { color: #f5f5f7; }
.apple-home .ah-video .section-head { text-align: center; margin: 0 auto 56px; }
.apple-home .ah-video .section-head h2 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); letter-spacing: -0.04em; line-height: 1.1; }
.apple-home .intro-video-frame { border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); max-width: 960px; margin: 0 auto; }
.apple-home .follow-card { background: none; border: none; box-shadow: none; padding: 80px 0 0; text-align: center; }
.apple-home .follow-card h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.035em; }
.apple-home .follow-card p { color: #a1a1a6; }
.apple-home .ah-dark .btn-gold { background: #f5f5f7; color: var(--ink); }
.apple-home .ah-dark .btn-outline, .apple-home .ah-dark .welcome-btn-outline { background: none; border: 1px solid rgba(255,255,255,0.35); color: #f5f5f7; }
.apple-home .ah-dark .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* 회색 섹션 */
.apple-home .ah-gray { background: var(--gray); padding: 130px 0; }
.apple-home .ah-programs .section-head h2 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); letter-spacing: -0.04em; line-height: 1.1; color: var(--ink); }
.apple-home .poster-card { border: none; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: none; transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1); }
.apple-home .poster-card:hover { transform: scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.apple-home #home-poster-empty { background: #fff; border: none; box-shadow: none; border-radius: 28px; }

/* 문의 */
.apple-home .ah-contact { padding: 140px 0; }
.apple-home .ah-contact .welcome-card { background: none; border: none; box-shadow: none; padding: 0; }
.apple-home .ah-contact .welcome-title { font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.2; color: #f5f5f7; margin-bottom: 40px; }
.apple-home .welcome-note { color: #a1a1a6; }

/* 푸터 */
.apple-home .site-footer { background: var(--gray); }

@media (max-width: 760px) {
  .apple-home .ah-dark, .apple-home .ah-gray { padding: 80px 0; }
  .apple-home .ah-contact { padding: 90px 0; }
  .apple-home .hero-home .hero-content { padding-bottom: 72px; }
  .apple-home .follow-card { padding-top: 56px; }
}

/* 히어로 제목: 항상 2줄 (줄마다 한 줄로 유지, 화면 폭에 맞춰 최대 크기) */
body.apple-home .hero.hero-home .hero-content h1 {
  font-size: clamp(1.5rem, 6.8vw, 5.6rem);
  white-space: nowrap;
  max-width: none;
  word-break: keep-all;
}

/* 히어로 보조 버튼: 사진 위에서도 또렷하게 (어두운 유리 알약 모양) */
body.apple-home .hero-home .btn-outline {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 11px 22px;
  color: #fff;
  font-weight: 600;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
body.apple-home .hero-home .btn-outline:hover { background: rgba(0, 0, 0, 0.55); text-decoration: none; }

/* 모바일 히어로: 위 빈 공간을 줄이고 글을 가운데에 */
@media (max-width: 760px) {
  body.apple-home .hero.hero-home { min-height: min(84svh, 700px); align-items: center; }
  body.apple-home .hero-home .hero-content { padding-top: 96px; padding-bottom: 64px; }
  body.apple-home .hero-home .hero-notice { margin-bottom: 20px; }
  body.apple-home .hero-home .btn-row { gap: 10px; justify-content: center; }
  body.apple-home .hero-home .btn-row .btn-gold { flex: 0 0 100%; max-width: 260px; text-align: center; justify-content: center; }
  body.apple-home .hero-home .btn-outline { padding: 10px 16px; font-size: 0.9rem; }
  body.apple-home .hero-home .hero-dots { margin-top: 28px; }
}

/* 히어로 버튼 크기 통일 (주 버튼은 색만 다르게) */
body.apple-home .hero-home .btn-row .btn { padding: 11px 24px; font-size: 0.95rem; font-weight: 600; }
body.apple-home .hero-home .btn-row .btn-gold { padding: 11px 26px; }
@media (max-width: 760px) {
  body.apple-home .hero-home .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 320px; margin: 0 auto; }
  body.apple-home .hero-home .btn-row .btn,
  body.apple-home .hero-home .btn-row .btn-gold { flex: none; max-width: none; width: 100%; padding: 12px 8px; font-size: 0.92rem; text-align: center; justify-content: center; }
}

/* ---- 히어로: 글과 버튼을 위로, 제목 조금 더 크게, 다음 내용이 살짝 보이도록 ---- */
body.apple-home .hero.hero-home { min-height: min(88svh, 780px); align-items: center; }
body.apple-home .hero-home .hero-content { padding-top: 96px; padding-bottom: 150px; }
body.apple-home .hero.hero-home .hero-content h1 { font-size: clamp(1.6rem, 8vw, 5.6rem); }
body.apple-home .hero-photo-credit { bottom: 14px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: #fff; text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  animation: cueBounce 2s ease-in-out infinite;
}
@keyframes cueBounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

@media (max-width: 760px) {
  body.apple-home .hero.hero-home { min-height: min(80svh, 680px); }
  body.apple-home .hero-home .hero-content { padding-top: 84px; padding-bottom: 130px; }
  .scroll-cue { bottom: 40px; }
}

/* 구역 사이 "아래로" 표시 (본문 흐름 안) */
.scroll-cue.inline { position: static; transform: none; margin: 72px auto 0; width: max-content; animation: cueBounceInline 2s ease-in-out infinite; text-shadow: none; }
@keyframes cueBounceInline { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.ah-dark .scroll-cue.inline { color: #a1a1a6; }
.ah-gray .scroll-cue.inline { color: var(--text-sub); }
.ah-dark .scroll-cue.inline:hover { color: #fff; }
.ah-gray .scroll-cue.inline:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .scroll-cue.inline { animation: none; } }
@media (max-width: 760px) { .scroll-cue.inline { margin-top: 48px; } }
html { scroll-behavior: smooth; }
