/* Homepage-only closing composition. Existing art and dialog behavior are retained. */
.war-section, .cycle-cta, .community-section, .footer {
  --ending-gutter: max(clamp(24px,3vw,48px),calc((100% - 1280px) / 2));
}
.war-section { padding: clamp(48px,5vw,80px) var(--ending-gutter) 44px; background: linear-gradient(180deg,#14161a,#111316 140px); }
.war-section__inner { max-width: 1280px; }
.war-section__heading { gap: 32px; margin-bottom: 40px; }
.war-section h2 { font-weight: 500; letter-spacing: .025em; }
.war-section__heading > p { font-size: 14px; line-height: 1.8; }
.war-scene { min-height: clamp(360px,34vw,450px); }
.war-scene + .war-scene { margin-top: 24px; }
.war-scene__copy { padding: 30px 0; }
.war-scene--progression .war-scene__copy { padding-left: clamp(24px,3vw,48px); }
.war-scene__label { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; letter-spacing: .1em; }
.war-scene__label > span { display: inline-grid; place-items: center; min-width: 28px; min-height: 28px; margin: 0; border-bottom: 1px solid var(--scene-accent); }
.war-scene h3 { font-size: clamp(30px,3vw,44px); text-wrap: balance; }
.war-scene__copy > p:not([class]) { max-width: 46ch; font-size: 14px; line-height: 1.85; }
.war-scene__details { font-size: 11px; line-height: 1.8; }

.cycle-cta { position: relative; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(240px,.75fr); align-items: center; gap: clamp(32px,5vw,72px); padding: clamp(48px,5vw,76px) var(--ending-gutter); isolation: isolate; background: radial-gradient(ellipse at 78% 44%,#8a64541a,transparent 52%),linear-gradient(180deg,#111316,#191b20 55%,#13151a); }
.cycle-cta::before { content: ""; position: absolute; inset: 0 var(--ending-gutter) auto; height: 1px; background: linear-gradient(90deg,transparent,#bd958040,transparent); pointer-events: none; }
.cycle-cta__copy { min-width: 0; }
.cycle-cta__copy > .eyebrow { margin: 0 0 18px; color: var(--ui-copper,#d4a58d); font-size: 11px; letter-spacing: .12em; }
.cycle-cta h2 { margin: 0; color: var(--ui-text,#e8ebea); font: 500 clamp(38px,4.1vw,64px)/1.12 var(--display); letter-spacing: .025em; }
.cycle-cta h2 > span { color: #b7b9c5; }
.cycle-cta__copy > p:last-child { max-width: 44ch; margin: 22px 0 0; color: #acb4c1; font-size: 14px; line-height: 1.8; }
.cycle-cta__actions { display: flex; flex-direction: column; align-items: stretch; justify-self: end; width: min(100%,286px); }
.cycle-cta__crests { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 28px; }
.cycle-cta__crests .race-emblem { width: 30px; height: 30px; opacity: .7; filter: none; }
.cycle-cta__start { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; padding: 16px 22px; border: 1px solid var(--ui-button-line,#9c6b57); border-radius: var(--ui-radius,3px); color: #f1ece6; background: var(--ui-button-bg,linear-gradient(120deg,#282a30,#1c1e24)); font: 500 14px/1.5 var(--display); letter-spacing: .07em; cursor: pointer; }
.cycle-cta__start > span:last-child { color: var(--ui-copper,#d4a58d); font-size: 19px; line-height: 1; }
.cycle-cta__start:hover { border-color: #e0af92; background: var(--ui-button-hover,linear-gradient(120deg,#333139,#22242b)); }
.cycle-cta__start:active { background: #30323b; }
.cycle-cta__compare { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; margin-top: 12px; color: #aab2c0; font: 400 11px/1.5 var(--display); letter-spacing: .065em; }
.cycle-cta__compare:hover { color: #f1ece6; }
.cycle-cta__start:focus-visible, .cycle-cta__compare:focus-visible { outline: 2px solid var(--ui-copper,#d4a58d); outline-offset: 4px; }

.community-section { grid-template-columns: minmax(0,1fr) 190px; gap: 36px; padding: 40px var(--ending-gutter) 44px; background: linear-gradient(180deg,#13151a,#101115); }
.community-section h2 { font-size: clamp(28px,2.6vw,38px); line-height: 1.2; }
.community-section__copy > .eyebrow { color: #a5a8b8; }
.community-section__copy > p:not(.eyebrow) { max-width: 48ch; font-size: 14px; line-height: 1.8; }
.community-section .community__join { min-height: 48px; font-size: 12px; }
.community-section__insignia { width: 186px; height: 168px; }

.footer { grid-template-columns: minmax(190px,.7fr) minmax(0,1.3fr) auto; gap: 20px 32px; padding: 28px var(--ending-gutter); text-align: left; }
.footer::before { inset-inline: var(--ending-gutter); }
.footer__identity { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.footer .footer__brand { gap: 12px; color: #dde2e9; font: 500 16px/1.3 var(--display); letter-spacing: .11em; }
.footer__brand small { display: block; margin-top: 5px; color: #8993a2; font-size: 8px; letter-spacing: .14em; }
.footer .footer__mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #626b77; color: #d9e1ed; font: 400 15px/1 var(--display); letter-spacing: .12em; }
.footer__identity > span { color: #929ba9; font: 400 11px/1.6 var(--body); letter-spacing: 0; }
.footer nav { gap: 4px 16px; justify-content: flex-end; }
.footer nav > * { min-height: 44px; }
.footer nav > * + *::before { display: none; }
.footer .footer__top { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 102px; min-height: 44px; padding: 10px 12px; border: 1px solid #343943; border-radius: var(--ui-radius,3px); color: #b3becb; font-size: 11px; white-space: nowrap; }
.footer .footer__top > span { color: var(--ui-copper,#d4a58d); font-size: 17px; }
.footer .footer__top:hover { border-color: #846855; background: #21242b; }
.footer a:focus-visible, .footer button:focus-visible { outline: 2px solid var(--ui-copper,#d4a58d); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .cycle-cta__start, .cycle-cta__compare, .footer a, .footer button { transition: color .16s ease-out,border-color .16s ease-out,background-color .16s ease-out; }
}
@media (max-width: 980px) {
  .war-section, .cycle-cta, .community-section, .footer { --ending-gutter: 24px; }
  .cycle-cta { gap: 28px; }
  .cycle-cta h2 { font-size: clamp(36px,5vw,48px); }
  .footer { grid-template-columns: minmax(0,1fr) auto; justify-items: stretch; gap: 18px; }
  .footer__identity { grid-column: 1; grid-row: 1; }
  .footer .footer__top { grid-column: 2; grid-row: 1; align-self: start; }
  .footer nav { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 900px) {
  .community-section { grid-template-columns: minmax(0,1fr); }
  .community-section__copy { grid-row: 1; text-align: left; justify-self: start; }
  .community-section__copy > p:not(.eyebrow) { margin-inline: 0; }
  .community-section__actions { justify-content: flex-start; }
  .community-section__insignia { display: none; }
}
@media (max-width: 700px) {
  .war-section, .cycle-cta, .community-section, .footer { --ending-gutter: 20px; }
  .war-section { padding-block: 44px 24px; }
  .war-section__heading { margin-bottom: 28px; }
  .war-scene { min-height: 0; }
  .war-scene + .war-scene { margin-top: 18px; }
  .war-scene__copy, .war-scene--progression .war-scene__copy { padding: 12px 0 26px; }
  .war-scene h3 { font-size: clamp(28px,7vw,36px); }
  .war-scene__label { margin-bottom: 16px; }
  .cycle-cta { grid-template-columns: minmax(0,1fr); gap: 30px; padding-block: 44px; }
  .cycle-cta h2 { font-size: clamp(34px,8vw,48px); }
  .cycle-cta__copy > p:last-child { margin-top: 18px; }
  .cycle-cta__actions { justify-self: start; width: min(100%,320px); }
  .cycle-cta__crests { justify-content: flex-start; margin-bottom: 20px; }
  .cycle-cta__start { min-height: 56px; padding-inline: 20px; }
  .cycle-cta__compare { justify-content: flex-start; }
  .community-section { grid-template-columns: minmax(0,1fr); gap: 0; padding-block: 32px 36px; }
  .community-section .community__join { width: min(100%,260px); }
  .footer { padding-block: 24px; gap: 18px 12px; }
  .footer nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 2px 12px; }
  .footer nav > * { justify-content: flex-start; }
  .footer .footer__top { min-width: 44px; padding-inline: 10px; font-size: 10px; gap: 8px; }
}
@media (max-width: 380px) {
  .footer { grid-template-columns: minmax(0,1fr); }
  .footer .footer__top { grid-column: 1; grid-row: 3; justify-self: start; }
}
