/* Front-page composition. Shared typography, container and button tokens live in foundation. */
body:has(.vs-home--redesigned) .entry-content:has(> .vs-home--redesigned) { margin-top: 0; }
.vs-home--redesigned { background: #0d0d0e; color: #f1eadc; }
.vs-home--redesigned :is(h1, h2, h3, p) { margin-top: 0; }
.vs-home--redesigned :is(h1, h2, h3) { text-wrap: balance; }
.vs-home--redesigned .vs-eyebrow { color: inherit; margin-bottom: var(--vs-space-3); }
.vs-home--redesigned a:focus-visible { outline: 2px solid var(--vs-focus); outline-offset: 4px; }
.vs-home--redesigned .vs-editorial-prose > :last-child { margin-bottom: 0; }
.vs-home-text-link { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.vs-home-text-link:hover { color: #fff; }
.vs-home-actions { display: flex; flex-wrap: wrap; gap: var(--vs-space-3); }
.vs-home-heading { margin-bottom: var(--vs-space-6); }
.vs-home-heading h2 { margin-bottom: var(--vs-space-4); }
.vs-home-heading-row { display: flex; align-items: center; justify-content: space-between; gap: var(--vs-space-5); margin-bottom: var(--vs-space-5); }
.vs-home-heading-row .vs-home-heading { margin: 0; }
.vs-home-heading-row .vs-button { flex-shrink: 0; }
.vs-home-hero, .vs-home-armies, .vs-home-world, .vs-home-community, .vs-home-steps { position: relative; isolation: isolate; }
.vs-home-hero { display: flex; min-height: min(92vh, 900px); }
.vs-home-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vs-home-hero::after, .vs-home-world::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, #0d0d0e 0%, rgba(13,13,14,.65) 35%, rgba(13,13,14,.15) 70%); }
.vs-home-hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: var(--vs-space-7); padding-block: var(--vs-space-8) var(--vs-space-6); }
.vs-home-hero__content { margin-block: auto; }
.vs-home-hero h1 { max-width: 14ch; font-size: clamp(2.6rem, 6vw, 5.2rem); margin-bottom: var(--vs-space-5); }
.vs-home-hero__lead { max-width: 46ch; font-size: var(--vs-text-lg); margin-bottom: var(--vs-space-5); }
.vs-home-steps { padding-block: var(--vs-space-4); }
.vs-home-steps > :not(.vs-background-video) { position: relative; z-index: 1; }
.vs-home-steps .vs-home-heading-row { gap: var(--vs-space-4); }
.vs-home-steps .vs-eyebrow { margin: 0; }
.vs-home-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vs-space-5); padding: 0; margin: 0; list-style: none; }
.vs-home-steps__list::before { content: ""; position: absolute; top: 2.625rem; left: var(--vs-space-5); right: var(--vs-space-5); border-top: 1px solid rgba(241,234,220,.3); z-index: -1; }
.vs-home-steps__list li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); align-content: start; gap: var(--vs-space-2) var(--vs-space-3); padding: var(--vs-space-5); border: 1px solid rgba(241,234,220,.16); border-radius: var(--vs-radius); background: rgba(13,13,14,.55); backdrop-filter: blur(6px); }
.vs-home-steps__number { display: grid; place-items: center; box-sizing: border-box; width: 2.25rem; height: 2.25rem; border: 1px solid var(--vs-focus); border-radius: 50%; font-size: var(--vs-text-sm); }
.vs-home-steps__list h3 { align-self: center; font-size: var(--vs-h4); margin: 0; }
.vs-home-steps__list .vs-editorial-prose { grid-column: 2; font-size: var(--vs-text-sm); }
.vs-home-armies, .vs-home-shop, .vs-home-lore, .vs-home-lower { padding-block: var(--vs-space-8); }
.vs-home-armies > .vs-container { position: relative; z-index: 1; }
.vs-home-shop, .vs-home-lower { background: #121214; }
.vs-home-armies__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vs-space-5); }
.vs-home-army { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(241,234,220,.16); border-top: 3px solid var(--vs-context-accent, #777); border-radius: var(--vs-radius); background: color-mix(in srgb, var(--vs-context-muted, #242426) 30%, #121214); transition: transform .2s ease, border-color .2s ease; }
.vs-home-army:is(:hover, :focus-within) { transform: translateY(-3px); border-color: var(--vs-context-strong, #aaa); border-top-color: color-mix(in srgb, var(--vs-context-accent, #777) 70%, white); }
.vs-home-army__art { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }
.vs-home-army__body { display: flex; flex: 1; flex-direction: column; gap: var(--vs-space-3); padding: var(--vs-space-5); }
.vs-home-army__body :is(h3, p) { margin: 0; }
.vs-home-army__summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.vs-home-army__count { font-size: var(--vs-text-sm); }
.vs-home-army__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--vs-space-4); margin-top: auto; padding-top: var(--vs-space-4); }
.vs-home-shop .jla3d-qc-product-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--vs-space-5); }
.vs-home-shop .jla3d-qc-product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(241,234,220,.2); border-radius: var(--vs-radius); background: #18181b; }
.vs-home-shop .jla3d-qc-product-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0d0d0e; }
.vs-home-shop .jla3d-qc-product-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vs-home-shop .jla3d-qc-product-card__placeholder { display: block; width: 100%; height: 100%; background: var(--vs-product-placeholder) center / auto 45% no-repeat, var(--vs-public-surface, #18181b); }
.vs-home-shop .jla3d-qc-product-card__badge { position: absolute; top: var(--vs-space-3); left: var(--vs-space-3); padding: var(--vs-space-1) var(--vs-space-2); background: #0d0d0e; border: 1px solid rgba(241,234,220,.5); font-size: var(--vs-text-xs); }
.vs-home-shop .jla3d-qc-product-card__body { display: flex; flex: 1; flex-direction: column; gap: var(--vs-space-3); padding: var(--vs-space-4); }
.vs-home-shop .jla3d-qc-product-card h4 { font-size: var(--vs-h4); margin: 0; }
.vs-home-shop .jla3d-qc-product-card a { color: inherit; text-underline-offset: .2em; }
.vs-home-shop .jla3d-qc-product-card__body > p { margin: 0; font-size: var(--vs-text-sm); }
.vs-home-shop .jla3d-qc-product-card__footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--vs-space-3); margin-top: auto; font-size: var(--vs-text-sm); }
.vs-home-lore__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--vs-space-4); }
.vs-home-lore__tile { min-width: 0; border-bottom: 3px solid var(--vs-context-accent, #777); border-radius: var(--vs-radius); background: var(--vs-context-muted, #242426); }
.vs-home-lore__tile a { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; color: inherit; text-decoration: none; border-radius: inherit; isolation: isolate; }
.vs-home-lore__tile a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, rgba(13,13,14,.98), rgba(13,13,14,.4) 40%, transparent 75%); z-index: -1; }
.vs-home-lore__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; z-index: -2; }
.vs-home-lore__tile h3 { margin: 0; padding: var(--vs-space-4); font-size: var(--vs-h4); }
.vs-home-lore__tile a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.vs-home-lore__tag { position: absolute; top: var(--vs-space-2); left: var(--vs-space-2); right: var(--vs-space-2); width: fit-content; padding: var(--vs-space-1) var(--vs-space-2); border: 1px solid rgba(241,234,220,.65); border-radius: var(--vs-radius); background: rgba(13,13,14,.85); font-size: var(--vs-text-xs); line-height: 1.3; text-transform: uppercase; }
.vs-home-lore__archive { margin-block: var(--vs-space-5) 0; }
.vs-home-lower__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vs-space-5); }
.vs-home-world, .vs-home-community { min-width: 0; padding: var(--vs-space-6); border: 1px solid rgba(241,234,220,.16); border-radius: var(--vs-radius); overflow: hidden; background: #0d0d0e; }
.vs-home-world { display: flex; align-items: flex-end; }
.vs-home-world::after { background: linear-gradient(0deg, rgba(13,13,14,.95), rgba(13,13,14,.7)); }
.vs-home-world__content, .vs-home-community__content { position: relative; z-index: 2; }
.vs-home-world__content .vs-editorial-prose { margin-bottom: var(--vs-space-5); }
.vs-home-community__content { display: flex; min-width: 0; height: 100%; flex-direction: column; }
.vs-home-community__content .vs-home-actions { margin-top: auto; padding-top: var(--vs-space-5); }
.vs-home-updates { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--vs-space-5); }
.vs-home-update { display: flex; gap: var(--vs-space-4); padding-top: var(--vs-space-4); border-top: 1px solid rgba(241,234,220,.16); }
.vs-home-update__image { width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--vs-radius); object-fit: cover; }
.vs-home-update__body { min-width: 0; }
.vs-home-update h3 { font-size: var(--vs-h4); margin-bottom: var(--vs-space-2); }
.vs-home-update a { color: inherit; text-underline-offset: .2em; }
.vs-home-update__excerpt { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: var(--vs-text-sm); margin: 0; }
@media (max-width: 1199px) { .vs-home-lore__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1099px) { .vs-home-shop .jla3d-qc-product-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .vs-home-lower__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 759px) {
	.vs-home-hero { min-height: 88svh; }
	.vs-home-hero__inner { padding-top: var(--vs-space-7); }
	.vs-home-heading-row { align-items: flex-start; flex-direction: column; }
	.vs-home-steps__list, .vs-home-armies__grid { grid-template-columns: minmax(0, 1fr); }
	.vs-home-steps__list::before { content: none; }
	.vs-home-lore__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vs-home-armies, .vs-home-shop, .vs-home-lore, .vs-home-lower { padding-block: var(--vs-space-7); }
	.vs-home-world, .vs-home-community { padding: var(--vs-space-5); }
}
@media (max-width: 599px) { .vs-home-shop .jla3d-qc-product-card-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
	.vs-home-army { transition: none; }
	.vs-home-army:is(:hover, :focus-within) { transform: none; }
	.vs-home--redesigned .vs-background-video { display: none; }
}
