/* 首頁 Hero 右側：隨機輪播實際作品（每 5 秒） */
.hero-works .art-top{margin:0 0 16px}
.hw-frame{position:relative;display:block;height:540px;border-radius:22px;overflow:hidden;background:var(--gray);box-shadow:0 18px 50px #171a2114;color:#fff}
.hw-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%;opacity:0;transform:scale(1.03);transition:opacity .9s ease,transform 5.5s ease-out}
.hw-frame img.is-on{opacity:1;transform:scale(1)}
.hw-frame:hover img.is-on{transform:scale(1.02)}
.hw-cap{position:absolute;left:16px;right:16px;bottom:16px;background:var(--ink);border-radius:14px;padding:16px 20px 18px;overflow:hidden}
.hw-cap .hw-kicker{display:flex;justify-content:space-between;font-size:12px;font-weight:600;letter-spacing:.08em;color:#F5C518}
.hw-cap .hw-count{color:#9da2ab;font-weight:500}
.hw-cap strong{display:block;font-size:22px;line-height:1.4;margin-top:4px;letter-spacing:-.02em}
.hw-cap .hw-spec{display:block;font-size:13px;color:#c9ccd2;margin-top:2px}
.hw-cap .hw-text{transition:opacity .4s ease}
.hw-cap.is-swapping .hw-text{opacity:0}
.hw-progress{position:absolute;left:0;top:0;height:3px;width:100%;background:#F5C518;transform-origin:left;transform:scaleX(0)}
.hw-progress.run{animation:hw-run 5s linear forwards}
.hero-works.paused .hw-progress{animation-play-state:paused}
@keyframes hw-run{to{transform:scaleX(1)}}
.hero-works .art-foot{position:static;margin-top:14px;font-size:10px}
.hw-dots{display:flex;gap:6px}
.hw-dots button{width:8px;height:8px;padding:0;border-radius:50%;background:#cfcabb;transition:background .2s,width .2s}
.hw-dots button[aria-current=true]{background:var(--ink);width:20px;border-radius:5px}
@media(max-width:1190px){.hw-frame{height:500px}}
@media(max-width:960px){.hw-frame{height:470px}}
@media(max-width:700px){.hero-works{min-height:0}.hw-frame{height:auto;aspect-ratio:4/5}.hw-cap{left:12px;right:12px;bottom:12px;padding:14px 16px}.hw-cap strong{font-size:19px}}
@media(prefers-reduced-motion:reduce){.hw-frame img{transition:none;transform:none}.hw-progress.run{animation:none}}
