/* Next-update content (the test build shown as upcoming), the /heroes/ and /citadel/ pages, and the D3 class-picker fix. Loads after site.css (+ home.css on /). */

/* D3: the original five classes are shown at their real in-game size (300 px tall art), never stretched */
.hero-show #heroImg { height: auto; width: auto; max-height: 96%; max-width: 100%; }
.hero-show { aspect-ratio: auto; min-height: 340px; }

/* blur-up placeholders (opaque stills only): the tiny image sits behind until the real one paints */
img[data-lqip] { background-size: cover; background-position: center; }

.next .s-head p, .q1p .s-head p { max-width: 70ch; }
.next-lede { max-width: 72ch; margin: 22px auto 0; color: var(--mute); text-align: center; }

/* four skies */
.moods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.moods figure, .shots figure { margin: 0; position: relative; overflow: hidden; border: 1px solid rgba(232, 163, 61, .4); background: #05030a; }
.moods img, .shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.moods figcaption, .shots figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 12px; font: 600 11px/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: #fff; background: rgba(7, 5, 13, .82); border-top-right-radius: 4px; }

/* loops */
.loops { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.loops.one { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
.loops figure { margin: 0; padding: 0; }
.loops video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #05030a; }
.loops figcaption { padding: 10px 14px 12px; color: var(--mute); font-size: 16px; }

/* feature cards with a real screen */
.nfeat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.nfeat article { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.nfeat img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: #05030a; }
.nfeat .txt { padding: 14px 18px 18px; } .nfeat h3 { font-size: 20px; color: #fff; margin: 0 0 6px; } .nfeat p { margin: 0; color: var(--mute); font-size: 17px; line-height: 1.45; }

/* portraits */
.looks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.looks li { display: grid; justify-items: center; gap: 2px; text-align: center; }
.looks img { display: block; width: 100%; height: auto; background: radial-gradient(60% 55% at 50% 40%, rgba(157, 107, 255, .32), transparent 72%), #0b0714; border: 1px solid rgba(232, 163, 61, .35); }
.looks b { color: #fff; font: 600 15px/1.2 var(--label); letter-spacing: .06em; margin-top: 6px; } .looks small { color: var(--mute); font-size: 14px; }
.next-cta { margin-top: 30px; }
.next .strip { max-width: 1000px; margin-inline: auto; }
.pbtn { all: unset; box-sizing: border-box; cursor: zoom-in; display: block; width: 100%; } .pbtn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.tag { display: inline-block; padding: 4px 10px; font: 600 10px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: #1a1026; background: var(--gold-hi); border-radius: 3px; }

/* sub pages */
.q1p main { padding-top: 70px; }
.q1p .page-head { padding: clamp(40px, 7vw, 80px) 0 10px; text-align: center; }
.q1p .page-head h1 { font: 400 clamp(36px, 6vw, 64px)/1.05 var(--head); color: #fff; margin: 12px 0; }
.q1p .page-head p { max-width: 68ch; margin: 0 auto; color: var(--mute); }
.looks { grid-template-columns: repeat(4, 1fr); }
.looks img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.looks .el { font: 600 10px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
.cls-head { margin: 34px 0 6px; font: 600 14px/1 var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-hi); }
.strip { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; }
.strip li { text-align: center; } .strip img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; }
.strip small { color: var(--gold-hi); font: 600 12px/1 var(--label); letter-spacing: .1em; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots.two { grid-template-columns: repeat(2, 1fr); }
.shots.lead > :first-child { grid-column: 1 / -1; } /* 7 battle shots: one wide lead, then even rows of 3 (or 2) */
.shots button { all: unset; display: block; cursor: zoom-in; } .shots button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.bld { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bld article { overflow: hidden; } .bld img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.bld .txt { padding: 12px 16px 16px; } .bld h3 { color: #fff; font-size: 19px; margin: 0 0 4px; } .bld p { margin: 0; color: var(--mute); font-size: 16px; line-height: 1.45; }
.phone-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.phone-row img { display: block; width: 100%; height: auto; border-radius: 18px; border: 6px solid #1b1428; }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; }
.q1p .foot { margin-top: 60px; }

@media (max-width: 1180px) { .nfeat, .bld, .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .moods, .loops, .nfeat, .bld, .shots, .shots.two, .phone-row { grid-template-columns: 1fr; }
  .looks { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .hero-show { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .loops video { animation: none; } }

/* D3: the home side art (original look A) never grows past its real size */
.home .hero-art.l { max-height: 560px; } .home .hero-art.r { max-height: 600px; }
