/* 크리스마스 히어로: 콘텐츠는 즉시 보이고, 모션은 준비된 경우에만 적용 */
html.season-xmas .fr-hero {
    background: radial-gradient(ellipse at 72% 38%, #d8c5b5 0, #e9ddd3 42%, #f8f1e9 78%);
}
html.season-xmas .fr-hero::before { animation: none; background: none; }
html.season-xmas .fr-hero-grid { gap: clamp(12px, 3vw, 50px); }
html.season-xmas .fr-hero-copy { position: relative; z-index: 3; }
html.season-xmas.fr-anim-ready .fr-hero-title .fr-w,
html.season-xmas.fr-anim-ready .fr-hero-desc,
html.season-xmas.fr-anim-ready .fr-hero-cta,
html.season-xmas.fr-anim-ready .fr-hero-scroll,
html.season-xmas.fr-anim-ready .fr-hero-stage { opacity: 1; transform: none; }
html.season-xmas .fr-hero .fr-label { color: #86643a; font-size: .85rem; letter-spacing: .05em; }
html.season-xmas .fr-hero-title { color: #163f2d; font-size: clamp(2.4rem, 4.5vw, 4.4rem); line-height: 1.22; }
html.season-xmas .fr-hero-title em { color: #163f2d; }
html.season-xmas .fr-hero .fr-btn--primary { background: #16472f; box-shadow: 0 12px 26px -14px #16472f99; }
html.season-xmas .fr-hero .fr-btn--primary:hover { background: #245f40; }
html.season-xmas .fr-hero-stage { padding: 0; min-width: 0; isolation: isolate; }
html.season-xmas .fr-hero-stage::before { top: 4%; height: 78%; border: 0; background: radial-gradient(ellipse, #fff5e3a0, transparent 70%); box-shadow: none; }
html.season-xmas .fr-hero-stage::after { bottom: 1%; height: 12%; left: 0; width: 100%; background: radial-gradient(ellipse, #826f5b45, transparent 68%); }
html.season-xmas .fr-hero-illust,
html.season-xmas .fr-device--phone { display: none; }
html.season-xmas .fr-device--imac {
    position: absolute; z-index: 5; width: 27%; right: 0; bottom: 11%;
    filter: drop-shadow(0 10px 12px #4b372b38); transform: rotate(3deg);
}
html.season-xmas .fr-device--imac .fr-device-screen { border: 2px solid #25533e; border-radius: 6px; padding: 4px; }
html.season-xmas .fr-device--imac .fr-device-screen img { border: 0; border-radius: 2px; }
html.season-xmas .fr-device--imac .fr-device-stand,
html.season-xmas .fr-device--imac .fr-device-base { display: none; }
.xmas-popbook { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.xmas-popbook svg { display: block; width: 100%; height: auto; overflow: visible; }
.xmas-snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.xmas-motion-toggle { margin-top: 28px; padding: 7px 0; border: 0; background: transparent; color: #526456; font: inherit; font-size: .8rem; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.xmas-motion-toggle:focus-visible { outline: 2px solid #245f40; outline-offset: 4px; }
.pop-layer, .pop-star { transform-box: view-box; transform-origin: 350px 510px; }
.xmas-motion-on .pop-layer { animation: popUnfold 1.35s cubic-bezier(.16,.8,.2,1) both; }
.xmas-motion-on .pop-layer--1 { animation-delay: .15s; }
.xmas-motion-on .pop-layer--2 { animation-delay: .65s; }
.xmas-motion-on .pop-layer--3 { animation-delay: 1.15s; }
.xmas-motion-on .pop-layer--4 { animation-delay: 1.65s; }
.xmas-motion-on .pop-layer--5 { animation-delay: 2.15s; }
.xmas-motion-on .pop-layer--6 { animation-delay: 2.65s; }
.xmas-motion-on .pop-star { transform-origin: 350px 65px; animation: popStarIn 1s ease-out 4s both, popStarGlow 4s ease-in-out 5s infinite alternate; }
@keyframes popUnfold { 0% { opacity: 0; transform: translateY(26px) scale(.52,.06) rotate(-5deg); } 30% { opacity: 1; } 75% { transform: translateY(-3px) scale(1.01,1.025) rotate(.5deg); } 100% { opacity: 1; transform: none; } }
@keyframes popStarIn { from { opacity: 0; transform: scale(.45); } to { opacity: 1; transform: scale(1); } }
@keyframes popStarGlow { from { opacity: .8; } to { opacity: 1; } }
.xmas-motion-on .pop-layer--6 { animation: popUnfold 1.35s cubic-bezier(.16,.8,.2,1) 2.65s both, popPaperBreath 5s ease-in-out 5s infinite alternate; }
@keyframes popPaperBreath { from { transform: rotate(-.35deg); } to { transform: rotate(.35deg); } }
.xmas-motion-paused .pop-layer, .xmas-motion-paused .pop-star { animation-play-state: paused; }
@media (max-width: 1024px) { html.season-xmas .fr-hero-stage { max-width: 620px; } }
@media (max-width: 720px) {
    html.season-xmas .fr-hero-grid { gap: 28px; }
    html.season-xmas .fr-hero-stage { padding: 0; }
    html.season-xmas .fr-hero .fr-label { font-size: .75rem; letter-spacing: .03em; }
    html.season-xmas .fr-device--imac { width: 25%; right: 1%; bottom: 10%; }
    .xmas-motion-toggle { margin-top: 18px; }
}
