/* Sword King launch artwork, scoped to the classic homepage. Existing JS is retained. */
body.legacy-page-index {
  --classic-forest: #132339;
  --classic-forest-light: #345d83;
  --classic-paper: #f3f4f6;
  --classic-white: #fff;
  --classic-ink: #1c2e45;
  --classic-muted: #63748a;
  --classic-line: #d6dde6;
  --classic-gold: #d9c292;
  --classic-shadow: 0 22px 48px -36px #12223870;
}
.legacy-page-index .site-header.sticky-header { background: #101b2cf5; border-bottom-color: #d7e3f01a; }
.legacy-page-index .site-header .brand__label small { color: #b3c2d5; }
.legacy-page-index .nav__link { color: #c3d0e0; }
.legacy-page-index .legacy-cinema { background: #101b2c; --legacy-focus: 61%; }
.legacy-page-index .legacy-cinema__copy h1 { color: #f2f5f9; font-size: clamp(48px,5.5vw,78px); }
.legacy-page-index .legacy-cinema__copy h1 em { color: #d9c292; }
.legacy-page-index .legacy-cinema__copy .legacy-cinema__eyebrow { color: #d9c292; font-size: 11px; }
.legacy-page-index .legacy-cinema__copy .legacy-sword-edition { font-size: 10px; color: #8ea4bf; letter-spacing: .14em; margin: 0 0 17px; }
.legacy-page-index .legacy-cinema__copy .legacy-cinema__lead { color: #b3c2d5; }
.legacy-page-index .legacy-cinema__visual { background: #162339; }
.legacy-page-index .legacy-cinema__visual img { object-position: 61% 52%; filter: saturate(.96) brightness(.98); }
.legacy-page-index .legacy-cinema.scroll-ready .legacy-cinema__visual img { object-position: var(--legacy-focus,61%) 52%; filter: saturate(.96) brightness(.98); }
.legacy-page-index .legacy-cinema__visual::after { background: linear-gradient(180deg,transparent 70%,#0b162d9c); }
.legacy-page-index .legacy-cinema.scroll-ready .legacy-cinema__shade::after { background: linear-gradient(90deg,#0b162dd9,transparent 72%),linear-gradient(0deg,#0b162df0,transparent 65%); }
.legacy-page-index .legacy-cinema__actions .btn--primary { color: #18293e; background: #eee6d3; border-color: #eee6d3; }
.legacy-page-index .legacy-cinema__actions .btn--primary:hover { background: #fff2d5; border-color: #fff2d5; }
.legacy-page-index .legacy-cinema__actions .btn--ghost { color: #d7e3f0; border-color: #b8cbe16b; background: #d7e3f00a; }
.legacy-page-index .legacy-cinema__actions .btn--ghost:hover { background: #d7e3f01a; }
.legacy-page-index .legacy-cinema__footer { border-top-color: #d7e3f022; color: #b3c2d5; }
.legacy-page-index .legacy-cinema__footer .chip { color: #b3c2d5; }
.legacy-page-index .legacy-cinema__scroll { color: #c3d0e0; }
.legacy-page-index .legacy-cinema__story { color: #f3f6fc; }
.legacy-page-index .legacy-cinema__story p span + span { color: #e6d1a0; }
.legacy-page-index .legacy-cinema__story small { color: #c1d0e4; }
.legacy-page-index .legacy-cinema__progress span { background: #d9c292; }

.legacy-page-index .legacy-sword-chapter { padding: clamp(76px,8vw,115px) 0; background: #f3f4f6; overflow: hidden; }
.legacy-sword-profile { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 70px; }
.legacy-sword-profile__copy .classic-home-kicker { color: #657e9d; font-size: 11px; }
.legacy-sword-profile__copy h2 { margin: 0 0 27px; color: #1c2e45; font-size: clamp(43px,4.8vw,65px); line-height: 1.24; letter-spacing: -.05em; font-weight: 620; }
.legacy-sword-profile__copy h2 span { color: #657e9d; }
.legacy-sword-profile__copy > p:not(.classic-home-kicker) { color: #63748a; font-size: 16px; line-height: 1.9; }
.legacy-sword-profile__tags { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 25px; }
.legacy-sword-profile__tags span { font-size: 11px; border: 1px solid #ccd6e1; border-radius: 5px; padding: 5px 10px; color: #4c6584; }
.legacy-sword-profile__copy .classic-home-text-link { margin-top: 26px; color: #345d83; }
.legacy-sword-profile__art { margin: 0; position: relative; isolation: isolate; text-align: center; }
.legacy-sword-profile__art::before { content: ''; position: absolute; z-index: -1; inset: 12% 0 4%; background: radial-gradient(ellipse,#b7cce16b,transparent 65%); }
.legacy-sword-profile__art img { width: 100%; height: auto; max-height: 440px; object-fit: contain; display: block; }
.legacy-sword-profile__art figcaption { color: #7d8da2; font-size: 10px; letter-spacing: .1em; margin-top: 16px; }

.legacy-page-index :is(.classic-home-world,.classic-home-play,.classic-home-journal) { background: #f3f4f6; color: #1c2e45; }
.legacy-page-index .classic-home-heading h2 { color: #1c2e45; }
.legacy-page-index .classic-home-heading > p { color: #63748a; }
.legacy-page-index .classic-home-kicker { color: #657e9d; }
.legacy-page-index .classic-home-companions { background: #101b2c; }
.legacy-page-index .classic-home-companions .classic-home-heading h2 { color: #f2f5f9; }
.legacy-page-index .classic-home-companions .classic-home-heading > p { color: #b3c2d5; }
.legacy-page-index .classic-home-companions .classic-home-kicker { color: #d9c292; }
.legacy-page-index .classic-home-companions__grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.legacy-page-index .classic-home-companion { padding: 23px; min-height: 390px; }
.legacy-page-index .classic-home-companion__art { min-height: 265px; }
.legacy-page-index .classic-home-companion__art img { height: 265px; max-width: 120%; object-fit: contain; }
.legacy-page-index .classic-home-companion--sword { background: radial-gradient(ellipse at 50% 50%,#314c70,#192b45 65%,#152238); border-color: #d9c29270; }
.legacy-page-index .classic-home-companion--sword .classic-home-companion__top > span:first-child { font-size: 9px; letter-spacing: .1em; }
.legacy-page-index .classic-home-companion__bottom h3 { font-size: clamp(20px,1.8vw,27px); }
.legacy-page-index .classic-home-companions__foot { color: #b3c2d5; }
.legacy-page-index .classic-home-finale { background: #101b2c; }
.legacy-page-index .classic-home-finale__image { object-position: 61% center; }
.legacy-page-index .classic-home-finale__shade { background: linear-gradient(90deg,#0b162ded,#0b162d99 42%,transparent 85%),linear-gradient(0deg,#101b2c,transparent 45%); }
.legacy-page-index .classic-home-finale__inner .classic-home-kicker { color: #d9c292; }
.legacy-sword-art-note { display: block; color: #a8b8ce; font-size: 10px; margin-top: 25px; letter-spacing: .06em; }
.legacy-page-index .site-footer { background: #101b2c; }

@media (max-width:1150px) {
 .legacy-page-index .classic-home-companions__grid { grid-template-columns: none; }
 .legacy-page-index .classic-home-companion { min-height: 435px; }
 .legacy-page-index .classic-home-companion__art { min-height: 300px; }
 .legacy-page-index .classic-home-companion__art img { height: 300px; }
 .legacy-sword-profile { gap: 35px; }
}
@media (max-width:800px) {
 .legacy-page-index .legacy-cinema { --legacy-focus: 52%; }
 .legacy-page-index .legacy-cinema__inner { grid-template-columns: minmax(0,1fr); grid-template-areas: 'copy' 'visual' 'actions' 'footer'; grid-template-rows: auto auto auto auto; align-content: center; min-height: 0; gap: 0; padding: 25px 0 20px; }
 .legacy-page-index .legacy-cinema__copy { padding: 0; text-align: center; align-self: auto; }
 .legacy-page-index .legacy-cinema__eyebrow { justify-content: center; margin: 0 0 10px; }
 .legacy-page-index .legacy-cinema__copy .legacy-sword-edition { margin: 0 0 12px; }
 .legacy-page-index .legacy-cinema__copy h1 { font-size: clamp(38px,8vw,54px); line-height: 1.22; margin-bottom: 14px; }
 .legacy-page-index .legacy-cinema__copy h1 br { display: none; }
 .legacy-page-index .legacy-cinema__copy h1 em { margin-left: .22em; }
 .legacy-page-index .legacy-cinema__copy .legacy-cinema__lead { font-size: 12px; margin-bottom: 20px; }
 .legacy-page-index .legacy-cinema__visual-slot { min-height: 0; height: auto; aspect-ratio: 1672 / 941; }
 .legacy-page-index .legacy-cinema:not(.scroll-ready) .legacy-cinema__visual { height: 100%; aspect-ratio: 1672 / 941; }
 .legacy-page-index .legacy-cinema__actions { justify-content: center; padding: 20px 0 21px; gap: 8px; }
 .legacy-page-index .legacy-cinema__actions .btn { padding: 10px 13px; min-height: 41px; font-size: 11px; }
 .legacy-page-index .legacy-cinema__footer { padding-top: 12px; margin-top: 0; gap: 9px; justify-content: center; text-align: center; }
 .legacy-page-index .legacy-cinema__footer .chips { justify-content: center; }
 .legacy-page-index .legacy-cinema__footer .chip { padding: 4px 6px; font-size: 10px; }
 .legacy-page-index .legacy-cinema.scroll-ready .legacy-cinema__story { bottom: clamp(220px,calc(29vh + 40px),290px); }
 .legacy-page-index .legacy-cinema__story p { font-size: clamp(34px,9vw,45px); }
 .legacy-sword-profile { grid-template-columns: 1fr; gap: 35px; }
 .legacy-sword-profile__copy h2 { font-size: clamp(38px,9vw,48px); }
 .legacy-sword-profile__copy > p:not(.classic-home-kicker) { font-size: 14px; }
 .legacy-sword-profile__art { width: min(100%,460px); margin: 0 auto; }
 .legacy-sword-profile__art img { max-height: 340px; }
 .legacy-page-index .classic-home-finale__shade { background: linear-gradient(180deg,#0b162d00,#0b162d40 30%,#0b162de8 73%,#101b2c); }
 .legacy-page-index .classic-home-finale__image { object-position: 52% center; }
}
@media (max-width:430px) {
 .legacy-page-index .legacy-cinema__copy h1 { font-size: clamp(29px,8vw,34px); }
 .legacy-page-index .legacy-cinema__eyebrow { font-size: 9px; }
 .legacy-page-index .legacy-cinema__copy .legacy-sword-edition { font-size: 9px; }
 .legacy-page-index .legacy-cinema__visual-caption { font-size: 8px; }
}
