/* Standalone homepage treatment; shared/app-home styles remain unchanged. */
.home--cinematic .site-header { border-bottom: 0; }
.home--cinematic .site-header:not(.is-scrolled) { background: linear-gradient(180deg, rgba(2, 8, 18, .74), rgba(2, 8, 18, .25)); }
.home--cinematic .site-header__inner { min-height: 94px; }
.home--cinematic .brand__caption { color: #bdc9db; }
.home--cinematic .site-nav__link { color: #e4eaf5; text-shadow: 0 1px 12px #020713; }
.home--cinematic .site-nav__action { border-color: rgba(230, 238, 255, .4); color: #f1f5ff; background: rgba(10, 19, 34, .15); }
.hero--cinematic { min-height: 100vh; min-height: 100svh; padding: 135px 0 160px; background: #081625; }
.hero__backdrop { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: #081625 url("../media/welkin-moon-poster.webp") center / cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; opacity: 0; transition: opacity .8s ease; }
.hero--cinematic.is-video-playing .hero__video { opacity: 1; }
/* Keep the reference-like dark treatment on the backdrop only, not foreground content. */
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 9, 19, .08), transparent 25%, transparent 64%, #040713), radial-gradient(ellipse at 50% 42%, transparent 30%, rgba(3, 9, 19, .12) 100%); background-color: rgba(4, 4, 4, .71); }
.hero--cinematic .hero__inner { display: block; text-align: center; }
.hero--cinematic .hero__copy { width: min(100%, 850px); margin-inline: auto; padding: 0; }
.hero__kicker { margin: 0 0 18px; color: #c8d3e3; font-size: 11px; letter-spacing: .16em; text-shadow: 0 2px 16px #030919; }
.hero--cinematic h1 { margin: 0; color: #f1f5ff; font-family: "Songti SC", SimSun, serif; font-size: clamp(34px, 3.6vw, 50px); font-weight: 400; letter-spacing: .08em; line-height: 1.45; overflow-wrap: anywhere; text-shadow: 0 2px 18px #030919; }
.hero__tagline { margin: 22px 0 0; color: #e1e9f4; font-size: 14px; letter-spacing: .08em; line-height: 1.9; text-shadow: 0 2px 14px #030919; }
.hero--cinematic .hero__description { max-width: 560px; margin: 9px auto 0; color: #b9c7da; font-size: 12px; letter-spacing: .04em; text-shadow: 0 2px 12px #030919; }
.hero--cinematic .hero__actions { justify-content: center; gap: 16px; margin-top: 32px; }
.hero--cinematic .button { min-height: 46px; min-width: 160px; border-radius: 2px; letter-spacing: .07em; }
.hero--cinematic .button--primary { --button-text: #12223b; border-color: #e2e9f5; background: #e2e9f5; }
.hero--cinematic .button--primary:hover { border-color: #fff; background: #fff; }
.hero--cinematic .button--quiet { --button-text: #edf3ff; border-color: rgba(211, 228, 250, .45); background: rgba(6, 18, 34, .32); }
.hero--cinematic .button--quiet:hover { background: rgba(27, 48, 74, .6); }
.hero--cinematic .hero__bottom { bottom: 33px; align-items: flex-end; color: #c8d4e7; }
.hero--cinematic .hero__edition { font-size: 9px; letter-spacing: .2em; }
/* Original reference artwork, cropped losslessly from its loading_bar atlas. */
.hero--cinematic .scroll-cue { --scroll-cue-size: 84px; position: absolute; bottom: 0; left: 50%; display: block; width: calc(var(--scroll-cue-size) + 16px); height: calc(var(--scroll-cue-size) * 1.5); transform: translateX(-50%); }
.scroll-cue__art { position: relative; display: block; width: var(--scroll-cue-size); height: 100%; margin-inline: auto; pointer-events: none; }
.scroll-cue__orbit { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: var(--scroll-cue-size); object-fit: contain; transform-origin: center; }
.scroll-cue__orbit--blue { animation: scroll-cue-blue 12s linear infinite; }
.scroll-cue__orbit--pink { opacity: .85; animation: scroll-cue-pink 15s linear infinite; }
.scroll-cue__arrow { position: absolute; top: calc(var(--scroll-cue-size) * .72); left: 50%; display: block; width: auto; height: calc(var(--scroll-cue-size) * .74); max-width: none; transform: translateX(-50%); animation: scroll-cue-arrow 2.8s ease-in-out infinite; }
.hero--cinematic .scroll-cue:hover .scroll-cue__art { filter: brightness(1.3); }
.hero--cinematic .scroll-cue:focus-visible { outline: 1px solid #d5dfec; outline-offset: 6px; border-radius: 4px; }
@keyframes scroll-cue-blue { 0% { transform: rotate(0deg) scale(.98, 1.03); } 50% { transform: rotate(180deg) scale(1.03, .98); } 100% { transform: rotate(360deg) scale(.98, 1.03); } }
@keyframes scroll-cue-pink { 0% { transform: rotate(35deg) scale(1.02, .97); } 50% { transform: rotate(-145deg) scale(.97, 1.02); } 100% { transform: rotate(-325deg) scale(1.02, .97); } }
@keyframes scroll-cue-arrow { 0%, 100% { transform: translate(-50%, -3px); opacity: .65; } 50% { transform: translate(-50%, 3px); opacity: 1; } }
.hero__motion-toggle { display: inline-flex; min-height: 36px; align-items: center; gap: 9px; margin-left: auto; padding: 4px 0 4px 12px; border: 0; color: #d5dfec; background: transparent; font-size: 10px; letter-spacing: .06em; cursor: pointer; }
.hero__motion-icon { width: 10px; height: 11px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.hero__motion-toggle[aria-pressed="true"] .hero__motion-icon { width: 9px; height: 11px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero__motion-toggle:disabled { cursor: default; opacity: .7; }
@media (max-width: 760px) {
    .home--cinematic .site-header__inner { min-height: 76px; }
    .home--cinematic .menu-toggle { border-color: rgba(207, 224, 247, .3); background: rgba(7, 20, 38, .45); }
    .hero--cinematic { min-height: 100vh; min-height: 100svh; padding: 116px 0 145px; }
    .hero__kicker { margin-bottom: 15px; font-size: 10px; letter-spacing: .12em; }
    .hero--cinematic h1 { margin-top: 0; font-size: clamp(28px, 7.7vw, 34px); letter-spacing: .06em; }
    .hero__tagline { margin-top: 18px; font-size: 12px; letter-spacing: .04em; }
    .hero--cinematic .hero__description { max-width: 320px; font-size: 11px; letter-spacing: .02em; }
    .hero--cinematic .hero__actions { gap: 10px; margin-top: 26px; }
    .hero--cinematic .button { min-width: 0; min-height: 44px; gap: 15px; padding-inline: 16px; font-size: 11px; }
    .hero--cinematic .hero__bottom { bottom: 24px; }
    .hero--cinematic .hero__edition { max-width: 95px; font-size: 7px; line-height: 1.7; letter-spacing: .08em; }
    .hero--cinematic .scroll-cue { --scroll-cue-size: 64px; }
}
@media (max-height: 650px) {
    .hero--cinematic { padding-top: 112px; padding-bottom: 115px; }
    .hero__kicker { margin-bottom: 14px; }
    .hero--cinematic h1 { margin-top: 0; font-size: clamp(28px, 4vw, 40px); }
    .hero__tagline { margin-top: 12px; }
    .hero--cinematic .hero__actions { margin-top: 20px; }
    .hero--cinematic .scroll-cue { --scroll-cue-size: 48px; }
}
@media (prefers-reduced-motion: reduce) { .hero__video { transition: none; } .scroll-cue__orbit, .scroll-cue__arrow { animation: none; } }
@media (forced-colors: active) { .hero--cinematic .button, .hero__motion-toggle { border: 1px solid ButtonText; } }

/* Mobile static backdrop: avoid cropping a landscape film into a portrait hero. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
    .hero--cinematic { background: #040713; }
    .hero--cinematic .hero__backdrop {
        background: radial-gradient(ellipse at 50% 35%, rgba(40, 63, 92, .26), transparent 68%), linear-gradient(180deg, #08101b 0%, #060b15 65%, #040713 100%);
    }
    .hero--cinematic .hero__video,
    .hero--cinematic .hero__motion-toggle { display: none; }
    .hero--cinematic .hero__veil { background: linear-gradient(180deg, transparent 65%, #040713); }
}
