/* ==========================================================================
 * QynTro AI - Section system
 *
 * Two jobs:
 *
 * 1. A HEADER for every showcase section. Three of them - #qp-avatar,
 *    #qp-videos and #qp-imggrid - shipped with no heading at all: 4,145px of
 *    page, about a third of the whole thing, where the largest piece of text
 *    was a 16px link. They all build the same `.qp-feats-inner` shell, but only
 *    four of the seven ever got a `.qp-feats-head` inside it. The missing three
 *    are injected by the JS using the theme's own classes, so they inherit the
 *    existing look for free, and then every head gets the same upgrade.
 *
 * 2. MOTION for the content underneath - staggered reveals, a spotlight on the
 *    video wall, column parallax on the image grid, cinematic framing on the
 *    media players.
 *
 * ADDITIVE. Blade untouched, qyntro-premium.* untouched. Everything is .qph-
 * (heads) or .qs- (sections) prefixed, and every enhancement is applied to
 * elements the theme already built rather than replacing them - if the JS never
 * runs, the page is exactly what it is today.
 *
 * NOTE ON TRANSFORMS: several of these elements are also driven by JS - the
 * parallax writes an inline transform on grid tiles - so anything that needs to
 * combine with that goes on a wrapper or uses a custom property, never a second
 * transform on the same element. A CSS animation beats an inline transform
 * outright, which is how the model band lost its depth scale once already.
 *
 * DEPLOY ORDER MATTERS: upload FIRST, then bump ?v=. 7-day cache.
 * ========================================================================== */

/* ==========================================================================
 * 0. VERTICAL RHYTHM
 *
 * Measured on the live page: the nav ends at 91px and the hero's chip did not
 * start until 279px - 188px of nothing - while the run from the last hero
 * element to the first line of #features was carrying three separate paddings
 * stacked on top of each other.
 *
 * Each rule below repeats the exact selector that sets the value in
 * qyntro-premium.css, because at equal specificity the later stylesheet wins
 * and this file loads after it. Shortening a selector here would silently lose
 * the override; raising it with !important would be a heavier tool than the
 * job needs.
 *
 * The video wrap's own 4.5rem bottom margin is deliberately LEFT ALONE. The
 * model band is centred inside that wrap at 126% of its height and currently
 * clears the CTA button by 57px; pulling the margin in moves the button up
 * without moving the band, and eats that clearance directly.
 * ========================================================================== */

/* was 140px / 120px.
   The top went to 72px first and that read as cramped against the nav - the
   chip needs air above it to sit as a label rather than as part of the menu.
   104px is half the original cut given back; the bottom stayed where it was,
   since the run into #features was the part that was genuinely too long. */
.frontend-body #main.qp-has-video .row.h-100vh {
	padding-top: 104px;
	padding-bottom: 56px;
}

/* !important on BOTH of these, and it is not laziness.
 *
 * They fight Bootstrap spacing UTILITIES, and utilities are declared
 * `!important` by design - the theme bundle carries
 * `.pt-7, .py-7 { padding-top: 3rem !important }` and
 * `.mb-4, .my-4 { margin-bottom: 1rem !important }`. An !important declaration
 * can only be beaten by another one, so specificity is irrelevant here: earlier
 * versions of these two rules were correct, matched the elements, loaded last,
 * and still did absolutely nothing. Measured on the live page to confirm it -
 * the chip's computed margin never moved off 16px across three deploys.
 *
 * The hero row rule above needs no !important, because premium.css sets that
 * padding as a normal declaration.
 */

/* was 48px, from the theme's .pt-7 utility */
.frontend-body #features > .container.pt-7 { padding-top: 24px !important; }

/* The chip sits 16px off the headline, from .mb-4. That was fine while it was a
   bare line of text, but it now has a border and padding of its own, and a pill
   needs more clearance than a text label to stop reading as part of the
   heading. Scoped through .qp-has-video rather than #main, which this page has
   two of. */
.frontend-body .qp-has-video h6.qhh-chip { margin-bottom: 48px !important; }

@media (max-width: 860px) {
	.frontend-body #main.qp-has-video .row.h-100vh {
		padding-top: 68px;
		padding-bottom: 40px;
	}
	.frontend-body #features > .container.pt-7 { padding-top: 10px; }
}

/* ==========================================================================
 * 1. SECTION HEADS
 * ========================================================================== */

.qph { position: relative; }

/* Index numeral. Gives the page a counted rhythm instead of a stack of
   unrelated blocks - you can feel where you are without reading anything. */
.qph-n {
	position: absolute;
	top: -34px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 104px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	pointer-events: none;
	user-select: none;
	color: transparent;
	-webkit-text-stroke: 1px rgba(209, 254, 23, .13);
	opacity: 0;
	transition: opacity 1s ease .1s;
}
.qph.qs-in .qph-n { opacity: 1; }

/* Kicker, promoted from a line of italic text to a chip with a live dot. */
.qp-feats-head .qp-feats-kicker.qph-k {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 13px 5px 11px;
	border-radius: 999px;
	margin-bottom: 15px;
	background: rgba(255, 61, 154, .09);
	border: 1px solid rgba(255, 61, 154, .28);
	font-size: 11.5px;
	letter-spacing: .13em;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .6s ease, transform .6s ease;
}
.qph.qs-in .qp-feats-kicker.qph-k { opacity: 1; transform: none; }
.qph-k i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--qp-pink, #ff3d9a);
	box-shadow: 0 0 9px var(--qp-pink, #ff3d9a);
	animation: qph-pulse 1.7s ease-in-out infinite;
	flex: none;
}
@keyframes qph-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* The title rises WORD BY WORD. This is the single biggest change in feel -
   the heads currently fade in as one block, which is what makes them flat. */
.qph-t .qph-w {
	display: inline-block;
	opacity: 0;
	transform: translateY(22px) rotate(1.5deg);
	transition:
		opacity .5s cubic-bezier(.2, .9, .3, 1),
		transform .5s cubic-bezier(.2, .9, .3, 1);
}
.qph.qs-in .qph-t .qph-w { opacity: 1; transform: none; }

/* The highlighted word keeps its white, and a lime light passes across it once
   as the section arrives. */
.qph-t b {
	position: relative;
	text-shadow: 0 0 26px rgba(209, 254, 23, .28);
}
.qph-t b::after {
	content: "";
	position: absolute;
	top: -4%;
	bottom: -4%;
	left: -12%;
	width: 34%;
	background: linear-gradient(100deg, transparent, rgba(209, 254, 23, .55), transparent);
	filter: blur(7px);
	opacity: 0;
	pointer-events: none;
}
.qph.qs-in .qph-t b::after { animation: qph-sweep 1.5s cubic-bezier(.3, .7, .3, 1) .55s 1; }
@keyframes qph-sweep {
	0%   { left: -30%; opacity: 0; }
	18%  { opacity: 1; }
	100% { left: 104%; opacity: 0; }
}

.qp-feats-head .qp-feats-sub.qph-s {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .6s ease .35s, transform .6s ease .35s;
}
.qph.qs-in .qp-feats-sub.qph-s { opacity: 1; transform: none; }

.qph-r {
	width: 0;
	height: 2px;
	margin: 22px auto 0;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--qp-lime, #d1fe17), transparent);
	box-shadow: 0 0 14px rgba(209, 254, 23, .6);
	transition: width .9s cubic-bezier(.2, .9, .3, 1) .5s;
}
.qph.qs-in .qph-r { width: 150px; }

/* ==========================================================================
 * 2. SHARED REVEAL
 *
 * --i is the stagger index, written by the JS. Kept separate from the theme's
 * own .qp-rv so the two never fight over the same element.
 * ========================================================================== */
.qs-rv {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity .7s cubic-bezier(.2, .9, .3, 1) calc(var(--i, 0) * 70ms),
		transform .7s cubic-bezier(.2, .9, .3, 1) calc(var(--i, 0) * 70ms);
}
.qs-in.qs-rv, .qs-in .qs-rv { opacity: 1; transform: none; }

/* ==========================================================================
 * 3. VIDEO WALL (#qp-videos)
 * ========================================================================== */
.qs-wall-item {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	/* The tiles carry the reveal transform, so hover effects that also need a
	   transform would collide - lift is done with box-shadow and the inner
	   video's own scale instead. */
	transition: box-shadow .45s ease, opacity .45s ease, filter .45s ease;
	box-shadow: 0 14px 40px -20px rgba(0, 0, 0, .9);
}
/* Height is deliberately NOT set. `.qp-wall-video` already carries
   `aspect-ratio: 9/16`, and the new wrapper takes its height from its content -
   so a `height: 100%` here would make each depend on the other and collapse the
   whole wall to nothing. */
.qs-wall-item video, .qs-wall-item .qp-wall-video {
	display: block;
	width: 100%;
	transition: transform .6s cubic-bezier(.2, .9, .3, 1);
}
.qs-wall-item::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 1px solid rgba(209, 254, 23, 0);
	pointer-events: none;
	transition: border-color .4s ease, box-shadow .4s ease;
}

/* Spotlight: hovering one tile dims the rest, so the wall reads as a set of
   individual pieces rather than wallpaper. */
.qs-wall-on .qs-wall-item { opacity: .38; filter: saturate(.55); }
.qs-wall-on .qs-wall-item:hover { opacity: 1; filter: none; }
.qs-wall-item:hover video, .qs-wall-item:hover .qp-wall-video { transform: scale(1.06); }
.qs-wall-item:hover::after {
	border-color: rgba(209, 254, 23, .55);
	box-shadow: 0 0 34px -6px rgba(209, 254, 23, .45), inset 0 0 40px -22px rgba(209, 254, 23, .8);
}

/* Corner brackets - the same language as the model-deck stage, so the page
   keeps one visual identity rather than inventing a second per section. */
.qs-bk::before, .qs-bk::after {
	content: "";
	position: absolute;
	width: 22px;
	height: 22px;
	z-index: 3;
	pointer-events: none;
	border-color: rgba(209, 254, 23, .5);
	border-style: solid;
	opacity: 0;
	transition: opacity .4s ease;
}
.qs-bk::before { top: 9px;    left: 9px;  border-width: 2px 0 0 2px; border-radius: 5px 0 0 0; }
.qs-bk::after  { bottom: 9px; right: 9px; border-width: 0 2px 2px 0; border-radius: 0 0 5px 0; }
.qs-wall-item:hover.qs-bk::before, .qs-wall-item:hover.qs-bk::after { opacity: 1; }

/* ==========================================================================
 * 4. IMAGE GRID (#qp-imggrid)
 *
 * Columns drift at different rates as the section passes. --qs-p is written by
 * the JS on scroll; the tile itself never gets a competing transform.
 * ========================================================================== */
/* The tile itself gets NO transform from this file. `.qp-mgtile:hover` in
   qyntro-premium.css already lifts it with `translateY(-5px)`, and since this
   stylesheet loads later, a reveal rule at equal specificity would quietly
   cancel that hover. Reveal and parallax therefore live on two nested wrappers
   inside it, one transform each. */
.qs-tile { position: relative; }

.qs-tile-rv {
	display: block;
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity .7s cubic-bezier(.2, .9, .3, 1) calc(var(--i, 0) * 70ms),
		transform .7s cubic-bezier(.2, .9, .3, 1) calc(var(--i, 0) * 70ms);
}
.qs-in .qs-tile-rv { opacity: 1; transform: none; }

.qs-tile-in {
	display: block;
	will-change: transform;
	transform: translate3d(0, var(--qs-p, 0px), 0);
}
.qs-tile img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .7s cubic-bezier(.2, .9, .3, 1), filter .5s ease;
}
.qs-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 1px solid rgba(209, 254, 23, 0);
	pointer-events: none;
	transition: border-color .4s ease, box-shadow .4s ease;
}
.qs-tile:hover img { transform: scale(1.07); }
.qs-tile:hover::after {
	border-color: rgba(209, 254, 23, .5);
	box-shadow: 0 0 40px -8px rgba(209, 254, 23, .4);
}
/* Caption rises on hover - tells people these are real generations rather than
   stock, which is the whole point of showing them. */
.qs-cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 34px 14px 13px;
	text-align: left;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--qp-lime, #d1fe17);
	background: linear-gradient(180deg, transparent, rgba(6, 8, 10, .88));
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .4s ease, transform .4s ease;
	pointer-events: none;
}
.qs-tile:hover .qs-cap { opacity: 1; transform: none; }

/* ==========================================================================
 * 5. MEDIA FRAMES (#qp-avatar, #qp-music, #qp-presentation)
 * ========================================================================== */
.qs-frame {
	position: relative;
	border-radius: 18px;
}
.qs-frame::before, .qs-frame::after {
	content: "";
	position: absolute;
	width: 30px;
	height: 30px;
	z-index: 4;
	pointer-events: none;
	border-color: rgba(209, 254, 23, .45);
	border-style: solid;
}
.qs-frame::before { top: -6px;    left: -6px;  border-width: 2px 0 0 2px; border-radius: 6px 0 0 0; }
.qs-frame::after  { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; border-radius: 0 0 6px 0; }
/* A slow breathing glow, so a paused player still looks alive. */
.qs-frame > *:first-child { border-radius: inherit; }
.qs-glow { animation: qs-breathe 5.5s ease-in-out infinite; }
@keyframes qs-breathe {
	0%, 100% { box-shadow: 0 0 60px -30px rgba(209, 254, 23, .45); }
	50%      { box-shadow: 0 0 90px -24px rgba(209, 254, 23, .75); }
}

/* ==========================================================================
 * 6. VOICE CARDS (#qp-voice) and BENTO (#qp-feats)
 * ========================================================================== */
.qs-voice-item { transition: box-shadow .4s ease, border-color .4s ease; }
.qs-voice-item:hover {
	border-color: rgba(209, 254, 23, .45) !important;
	box-shadow: 0 0 30px -10px rgba(209, 254, 23, .45);
}
/* Bento reveal is OPACITY ONLY, on purpose. `.qp-feat:hover` in
   qyntro-premium.css lifts these with `transform: translateY(-6px)` at the same
   specificity as a reveal rule would have, and this file loads afterwards - so
   a transform here would win the tie and silently kill the hover lift on all
   five cards. The stagger still reads fine without it. */
.qs-feat-item {
	opacity: 0;
	transition:
		opacity .7s ease calc(var(--i, 0) * 70ms),
		filter .45s ease;
}
.qs-in .qs-feat-item { opacity: 1; }
.qs-feats-on .qs-feat-item { opacity: .45; filter: saturate(.6); }
.qs-feats-on .qs-feat-item:hover { opacity: 1; filter: none; }

@media (max-width: 700px) {
	.qph-n { font-size: 70px; top: -20px; }
	.qph-r { width: 0; }
	.qph.qs-in .qph-r { width: 110px; }
	/* Parallax off on narrow screens: the columns are stacked, so offsetting
	   them just makes the gaps uneven. */
	.qs-tile-in { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.qph-n, .qph-k, .qph-s, .qs-rv,
	.qp-feats-head .qp-feats-kicker.qph-k,
	.qp-feats-head .qp-feats-sub.qph-s { opacity: 1; transform: none; transition: none; }
	.qph-t .qph-w { opacity: 1; transform: none; transition: none; }
	.qph-t b::after, .qph-k i, .qs-glow { animation: none; }
	.qph-r { width: 150px; transition: none; }
	.qs-tile-in { transform: none !important; }
	.qs-wall-item video, .qs-tile img { transition: none; }
}

/* ==========================================================================
 * 9. FOOTER  (#welcome-footer)
 *
 * The last thing anyone sees, and it was the thinnest part of the page: 703px
 * of height holding a 48px headline, a logo, seven 12px grey links - and NO
 * BUTTON, under a line that reads "Start creating in under a minute."
 *
 * So this does two jobs. It gives the footer the page's visual language - the
 * drawn rule, the aurora ground, the word-by-word headline - and it gives that
 * sentence something to click.
 *
 * The ground is CSS gradients, deliberately NOT a second canvas. The hero
 * already runs a flow field; a second one at the bottom of the page would cost
 * real frames for something nobody scrolls back up to look at.
 * ========================================================================== */

.qsf-on {
	position: relative;
	overflow: hidden;
	isolation: isolate;   /* keeps the ground behind the content, not the page */
}

/* Aurora ground. Same three hues as the hero field, at a fraction of the
   strength - this is a closing note, not a second opening. */
.qsf-aura {
	position: absolute;
	inset: -20% -10% auto;
	height: 150%;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(38% 46% at 18% 28%, rgba(209, 254, 23, .10), transparent 68%),
		radial-gradient(42% 50% at 82% 18%, rgba(79, 209, 255, .07), transparent 70%),
		radial-gradient(46% 44% at 50% 88%, rgba(139, 124, 255, .07), transparent 72%);
	animation: qsf-drift 34s ease-in-out infinite alternate;
}
@keyframes qsf-drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to   { transform: translate3d(0, -4%, 0) scale(1.08); }
}

/* A hairline that draws across the top edge as the footer arrives, so the page
   closes on a line rather than just running out. */
.qsf-edge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	height: 1px;
	width: 0;
	z-index: 1;
	background: linear-gradient(90deg, transparent, rgba(209, 254, 23, .75), transparent);
	box-shadow: 0 0 18px rgba(209, 254, 23, .5);
	transition: width 1.3s cubic-bezier(.2, .9, .3, 1);
}
.qs-in .qsf-edge { width: min(760px, 82%); }

/* Headline, word by word - the same treatment as the section heads, so the
   page ends in the language it has been speaking. */
.qsf-h .qsf-w {
	display: inline-block;
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity .6s cubic-bezier(.2, .9, .3, 1) var(--d, 0ms),
		transform .6s cubic-bezier(.2, .9, .3, 1) var(--d, 0ms);
}
.qs-in .qsf-h .qsf-w { opacity: 1; transform: none; }
.qsf-h .qsf-hi { color: var(--qp-lime, #d1fe17); }

/* No .qsf-cta rules here any more. An earlier version of this file injected a
   call-to-action into the footer; the footer already had one - "Start creating
   free" - and the result was two stacked buttons. The JS now strips any leftover
   injected node from a cached build, so these styles have nothing to style. */

/* The link row. They were a flat run of 12px grey; now each one lights on
   hover with a rule that grows from the left, which is the only motion in the
   whole block that a pointer can cause. */
.qsf-on .footer-link {
	position: relative;
	transition: color .25s ease;
}
.qsf-on .footer-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	height: 1px;
	width: 0;
	background: var(--qp-lime, #d1fe17);
	box-shadow: 0 0 8px rgba(209, 254, 23, .8);
	transition: width .3s cubic-bezier(.2, .9, .3, 1);
}
.qsf-on .footer-link:hover { color: var(--qp-lime, #d1fe17) !important; }
.qsf-on .footer-link:hover::after { width: 100%; }

/* The mark gets a soft halo, so the sign-off reads as deliberate. */
.qsf-on #welcome-footer img { filter: drop-shadow(0 0 22px rgba(209, 254, 23, .3)); }


@media (prefers-reduced-motion: reduce) {
	.qsf-aura { animation: none; }
	.qsf-edge { transition: none; width: min(760px, 82%); }
	.qsf-h .qsf-w { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
 * 10. SOCIAL PROOF  (.happy-customers)
 *
 * The avatars DO already have a separating ring - `box-shadow: 0 0 0 2px
 * rgb(15,17,19)`. The problem is that the ring is rgb(15,17,19) while the pill
 * it sits inside is rgb(23,25,29): the gap between the faces is painted a
 * different, darker colour than the surface around them, so instead of reading
 * as clean separation it reads as grime between the portraits. Matching the
 * ring to the pill is the entire fix, and it is one value.
 *
 * SPECIFICITY: the ring is set by OUR OWN qyntro-premium.css, at
 * `.frontend-body #main .happy-customers .customer-avatars .small-avatar`
 * - (1,4,0). Two shorter versions of the rule below were written and both
 * silently lost on the live page before the full chain was matched. The
 * cross-origin sheets cannot be enumerated from the page, which is why it took
 * reading the file to find it rather than inspecting the DOM.
 *
 * It paints the ring in --qp-bg, the page ground. That was right when this pill
 * was transparent; the pill now has a fill of its own, and the ring never
 * followed.
 *
 * object-fit was `fill`, which it should never be on a photograph.
 * ========================================================================== */

.frontend-body #main .happy-customers {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)),
		rgb(23, 25, 29);
	border-color: rgba(209, 254, 23, .2);
	box-shadow:
		0 12px 32px -16px rgba(0, 0, 0, .95),
		inset 0 1px 0 rgba(255, 255, 255, .06);
	transition: border-color .35s ease, box-shadow .35s ease;
}
.frontend-body #main .happy-customers:hover {
	border-color: rgba(209, 254, 23, .42);
	box-shadow:
		0 0 34px -10px rgba(209, 254, 23, .35),
		inset 0 1px 0 rgba(255, 255, 255, .09);
}

/* Ring recoloured to the pill's own fill, plus a lime hairline outside it.
   Still box-shadow, so the 32px avatars keep their exact size and spacing. */
.frontend-body #main .happy-customers .customer-avatars .small-avatar {
	object-fit: cover;
	position: relative;
	box-shadow:
		0 0 0 2px rgb(23, 25, 29),
		0 0 0 3px rgba(209, 254, 23, .25);
	transition:
		transform .32s cubic-bezier(.2, .9, .3, 1),
		box-shadow .32s ease;
}

/* Hovering one lifts it out of the stack. The only hover transform I have put
   anywhere on this site: this group is decorative, not a click target, so
   nothing becomes harder to hit. */
.frontend-body #main .happy-customers .customer-avatars .small-avatar:hover {
	transform: translateY(-4px) scale(1.14);
	z-index: 6;
	box-shadow:
		0 0 0 2px rgb(23, 25, 29),
		0 0 0 3px rgba(209, 254, 23, .75),
		0 8px 18px -6px rgba(0, 0, 0, .9);
}

/* The count, which was the same muted grey as the label beside it. */
.qs-hc-num {
	color: var(--qp-text, #f7f7f8);
	font-weight: 800;
	font-size: 13.5px;
	letter-spacing: .01em;
	font-variant-numeric: tabular-nums;   /* so counting up cannot jitter */
}

@media (prefers-reduced-motion: reduce) {
	.frontend-body #main .happy-customers,
	.frontend-body #main .happy-customers .customer-avatars .small-avatar { transition: none; }
	.frontend-body #main .happy-customers .customer-avatars .small-avatar:hover { transform: none; }
}

/* ==========================================================================
 * 11. RELEASE RAIL  (.qtk)
 *
 * One release holds the band, then hands the floor to the next. Not a marquee:
 * nothing slides sideways past the reader and nothing has to be waited out
 * mid-sentence. Each release is whole, still, and legible for its full turn.
 *
 * Lime ground with near-black type - the inverse of the rest of the page, which
 * is why it reads as a band rather than as another section. The ground now
 * carries a shallow vertical gradient so it behaves like a surface catching
 * light rather than a filled rectangle; at these values it is felt more than
 * seen, which is the point.
 *
 * COLOUR DISCIPLINE: lime, near-black, and the pink chip. The only other colour
 * permitted here is a partner's own mark - it earns it by being the subject of
 * the announcement.
 *
 * The pips at the right are the one piece of chrome, and they do two jobs with
 * one object: which release you are on, and how much of its turn is left. The
 * active pip is a lozenge that fills as its 15 seconds run.
 * ========================================================================== */

.qtk {
	position: relative;
	z-index: 3;
	width: 100%;
	background: linear-gradient(180deg, #dcff4b 0%, var(--qp-lime, #d1fe17) 44%, #c3f000 100%);
	border-bottom: 1px solid rgba(0, 0, 0, .18);
	/* The handoff lifts type past the band's edges. Without this the outgoing
	   line is briefly visible over the header and over the hero below it. */
	overflow: hidden;
}

/* The stage has no height of its own - every slide inside it is absolutely
   positioned so they can cross-fade in place. JS sets the height to the TALLEST
   release so the band never changes size on a handoff. min-height is the floor
   if that measurement has not happened yet: a band of zero height would be a
   band nobody ever sees. */
.qtk-stage {
	position: relative;
	width: 100%;
	min-height: 46px;
}

/* Stretched to the whole stage and centring its link, because the stage is
   locked to the TALLEST release: a short one positioned at top:0 would sit high
   in the band with all the slack beneath it. */
.qtk-slide {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	visibility: hidden;
	pointer-events: none;
}
/* Both states are painted: for the length of a handoff the outgoing release is
   still leaving while the incoming one arrives. */
.qtk-slide.is-on,
.qtk-slide.is-off { visibility: visible; }
.qtk-slide.is-on { pointer-events: auto; }

/* The whole release is the link. The close button and the pips are SIBLINGS of
   it, never children - a <button> inside an <a> is nested interactive content,
   which is invalid and behaves differently in every browser. */
.qtk-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 9px 16px;
	/* Symmetric, and wide enough to clear the controls on the right. Asymmetric
	   padding would shift the optical centre of a centred band left by half the
	   difference, which is visible at this width. */
	width: 100%;
	padding: 11px 116px;
	text-align: center;
	text-decoration: none !important;
}
.qtk-slide.is-on .qtk-inner:hover .qtk-head { color: #000; }
.qtk-inner:focus-visible {
	outline: 2px solid #0b0d0e;
	outline-offset: -3px;
}

/* ---- the handoff ---------------------------------------------------------
   Parts are the DIRECT children of the link and are staggered with :nth-child,
   so the order in the JS is the order they arrive in.

   The `transition` SHORTHAND is declared exactly once, here. Everything below
   overrides longhands only (duration/delay). Two same-specificity rules both
   declaring the shorthand do not merge - the later one silently replaces the
   earlier one wholesale, which has already killed one animation on this site. */
.qtk-inner > * {
	opacity: 0;
	transform: translateY(13px);
	filter: blur(5px);
	transition:
		opacity .5s cubic-bezier(.22, .61, .36, 1),
		transform .5s cubic-bezier(.22, .61, .36, 1),
		filter .5s cubic-bezier(.22, .61, .36, 1),
		color .2s ease;
}
.qtk-slide.is-on .qtk-inner > * {
	opacity: 1;
	transform: none;
	filter: none;
}
/* Arrivals wait for the departure to be most of the way gone, then land in
   reading order: the badge, the headline, the sentence. */
.qtk-slide.is-on .qtk-inner > *:nth-child(1) { transition-delay: .24s; }
.qtk-slide.is-on .qtk-inner > *:nth-child(2) { transition-delay: .30s; }
.qtk-slide.is-on .qtk-inner > *:nth-child(3) { transition-delay: .34s; }
.qtk-slide.is-on .qtk-inner > *:nth-child(4) { transition-delay: .34s; }
/* Leaving is quick and unstaggered. Arriving is what should feel considered. */
.qtk-slide.is-off .qtk-inner > * {
	opacity: 0;
	transform: translateY(-11px);
	filter: blur(4px);
	transition-duration: .26s;
	transition-delay: 0s;
}

/* ---- the release itself -------------------------------------------------- */

/* Chip and mark travel together - they are one badge, and letting the mark wrap
   away from the word it qualifies was the old bar's worst narrow-width state. */
.qtk-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: none;
}

/* A true pill, not a rounded rectangle, and no italic: the slant and the heavy
   drop shadow were the two things making this read as a sticker. */
.qtk-chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--qp-pink, #ff3d9a);
	color: #fff;
	font-weight: 800;
	font-size: 10.5px;
	letter-spacing: .13em;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 2px 8px -5px rgba(0, 0, 0, .6);
}

/* The partner mark sits on the lime exactly like the type does - no plate, no
   radius, nothing to clash. flex:none: it must never be the thing that shrinks. */
.qtk-mark {
	width: 18px;
	height: 18px;
	flex: none;
	display: block;
}

.qtk-head {
	color: #0b0d0e;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .085em;
	text-transform: uppercase;
	line-height: 1.35;
	/* NO `transition` here. It is declared once, on `.qtk-inner > *`, and a
	   second shorthand at equal specificity does not add to it - it REPLACES it.
	   Declaring `transition: color .2s ease` on this rule silently cancelled the
	   headline's opacity/transform/filter transition, so it snapped into place
	   on frame one while everything around it eased in. Measured, not guessed:
	   the head read opacity 1.00 at t=42ms through a whole handoff. */
}

/* The sentence is SENTENCE CASE and a step quieter than the headline. Setting a
   whole sentence in caps at 800 is the single loudest thing a promo bar can do
   and it costs legibility for nothing: the headline is already the shout, and
   two shouts leave no hierarchy at all. */
.qtk-sub {
	color: rgba(11, 13, 14, .68);
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: .004em;
	line-height: 1.45;
}
/* The tagline inside the sentence - full ink, so the claim carries and the
   supporting clause after it recedes. */
.qtk-lead {
	color: #0b0d0e;
	font-weight: 800;
}

/* The highlighted run inside the headline - the band's colours inverted, dark
   chip with lime type. box-decoration-break keeps the padded ends on BOTH
   pieces when the run wraps mid-chip on a phone; without it the break edges are
   cut flat and read as a rendering glitch. */
.qtk-hl {
	background: #0b0d0e;
	color: #d1fe17;
	font-weight: inherit;
	padding: 2px 8px;
	border-radius: 6px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Separator between headline and sentence. A dot rather than a pipe - at this
   weight a pipe reads as a stray letter. */
.qtk-dot {
	flex: none;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(11, 13, 14, .38);
}

/* ---- controls ------------------------------------------------------------ */

.qtk-ctrl {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 2;
}

.qtk-pips {
	display: flex;
	align-items: center;
	gap: 7px;
}

/* The button is a 22px-tall touch target; the visible lozenge is the 4px track
   inside it. Sizing the button to the graphic would make it unhittable. */
.qtk-pip {
	position: relative;
	display: block;
	width: 20px;
	height: 22px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition: width .35s cubic-bezier(.22, .61, .36, 1);
}
.qtk-pip.is-on { width: 34px; }
.qtk-pip:focus-visible { outline: 2px solid #0b0d0e; outline-offset: 2px; border-radius: 3px; }

.qtk-pip-track {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 4px;
	margin-top: -2px;
	border-radius: 2px;
	background: rgba(11, 13, 14, .22);
	overflow: hidden;
}
.qtk-pip:hover .qtk-pip-track { background: rgba(11, 13, 14, .34); }

/* Driven from JS as a scaleX, so the fill is a composited transform rather than
   an animated width. The linear timing is deliberate: this is a clock, and a
   clock that eases is lying about how much time is left. */
.qtk-pip-fill {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: #0b0d0e;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .12s linear;
}
/* An inactive pip is never partly full, whatever the JS last wrote to it. */
.qtk-pip:not(.is-on) .qtk-pip-fill { transform: scaleX(0) !important; }

/* Close. Sized to the 44px touch target guidance even though the glyph is
   small, so it is dismissible on a phone without hitting the link instead. */
.qtk-x {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: rgba(11, 13, 14, .55);
	cursor: pointer;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease;
}
.qtk-x:hover { background: rgba(11, 13, 14, .12); color: #0b0d0e; }
.qtk-x:focus-visible { outline: 2px solid #0b0d0e; outline-offset: 1px; }
.qtk-x svg { width: 14px; height: 14px; }

/* ---- widths --------------------------------------------------------------
   Each release is a headline plus a sentence, so the band runs to one line on
   a wide desktop and two below that. The separator dot only makes sense while
   the two are genuinely side by side - between two LINES it is a dot dangling
   off the end of the first one. */
@media (max-width: 1580px) {
	.qtk-dot { display: none; }
}
/* Below this the pips have nowhere to go without crowding the sentence. The
   rail keeps turning; it just stops narrating its own position. */
@media (max-width: 900px) {
	.qtk-pips { display: none; }
	.qtk-inner { padding: 10px 48px; }
}
/* On a phone the badge and the headline ARE the announcement. */
@media (max-width: 760px) {
	.qtk-sub { display: none; }
}
@media (max-width: 680px) {
	.qtk-head { font-size: 12px; letter-spacing: .06em; }
	.qtk-inner { padding: 9px 42px; gap: 8px 12px; }
}
@media (max-width: 430px) {
	.qtk-mark { display: none; }
}

/* Nothing here needs motion to be understood: the release is legible the moment
   it is on, and the pip still reports the time. So the travel and the blur go,
   and what is left is a plain, short cross-fade. */
@media (prefers-reduced-motion: reduce) {
	.qtk-inner > * {
		transform: none !important;
		filter: none !important;
		transition-duration: .18s !important;
		transition-delay: 0s !important;
	}
	.qtk-pip { transition: none; }
}

/* ==========================================================================
 * 12. NAV - opaque
 *
 * The bar was `background-color: rgba(0, 0, 0, 0)` - fully transparent - so
 * anything scrolling underneath showed straight through the menu. That was
 * survivable while the hero behind it was a flat dark photo; it is not now that
 * the model band, the flow field and the ticker all pass beneath it.
 *
 * The fill goes on `.container-fluid.fixed-top`, the element that actually
 * spans the bar, rather than on `nav.navbar` inside it - the nav does not reach
 * the viewport edges, so filling that alone would leave two transparent
 * margins. Verified on the live page: the wrapper resolves to rgb(15,17,19)
 * with this rule and the nav stays transparent inside it, which is correct.
 *
 * This also makes the fade in qyntro-models.js redundant - the model band was
 * dimmed as it passed under the header purely because the header was see
 * through. Harmless, and left alone rather than touched from a second file.
 * ========================================================================== */
.frontend-body .container-fluid.fixed-top {
	background-color: var(--qp-bg, #0f1113);
	border-bottom: 1px solid rgba(255, 255, 255, .07);
	box-shadow: 0 6px 26px -18px rgba(0, 0, 0, .95);
}


/* ==========================================================================
 * 13. FOOTER LINKS - mobile
 *
 * THE STRUCTURE, which two earlier attempts got wrong: there are SEVEN
 * `.flex.mr-6` wrappers, one link in each. They are not a row of links - they
 * are seven boxes sitting in `.col-sm-12.d-flex`, and that column is
 * `flex-wrap: nowrap`, which squeezed all seven into 96px and ran the labels
 * off the screen.
 *
 * So the column is what has to wrap, and each wrapper has to stay its natural
 * width. Setting `width: 100%` on `.flex` - which looked right, since that is
 * the class the links sit in - made every one of the seven a full-width row and
 * stacked the links vertically instead.
 *
 * Result at 375px: 3 rows, spanning 8-367px, entirely inside the viewport.
 * ========================================================================== */
@media (max-width: 860px) {
	#welcome-footer .col-sm-12.d-flex {
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 10px 18px;
	}
	/* Each wrapper keeps its own width - it holds exactly one link. */
	#welcome-footer .flex {
		width: auto !important;
		margin-right: 0 !important;
	}
	/* A label must never break mid-phrase. */
	#welcome-footer .footer-link { white-space: nowrap; }
}

/* ==========================================================================
 * 14. NAV BUTTON - hover / focus / active states
 *
 * The rest state was already re-skinned to lime, but the STATES were never
 * covered, so they still resolve to the theme's originals:
 *
 *   #main .action-button:hover,   :focus  ->  rgb(30, 30, 45)    dark navy
 *   #main .register-button:hover, :focus  ->  rgb(255, 171, 0)   amber
 *
 * A click leaves focus on the button, which is why the colour STAYS changed
 * after clicking rather than reverting - it is :focus, not :hover, doing it.
 *
 * Specificity: theirs is `#main .register-button:hover` = (1,2,0). These add
 * .frontend-body for (1,3,0) and win outright, so no !important is needed.
 *
 * All three classes are covered together because they are the same control in
 * different states of the session - "Try for free" before signing in,
 * "Dashboard" after - and they should not diverge.
 * ========================================================================== */
.frontend-body #main .action-button:hover,
.frontend-body #main .action-button:focus,
.frontend-body #main .action-button:active,
.frontend-body #main .dashboard-button:hover,
.frontend-body #main .dashboard-button:focus,
.frontend-body #main .dashboard-button:active,
.frontend-body #main .register-button:hover,
.frontend-body #main .register-button:focus,
.frontend-body #main .register-button:active {
	background: var(--qp-lime, #d1fe17);
	background-color: var(--qp-lime, #d1fe17);
	color: #131517;
	border-color: var(--qp-lime, #d1fe17);
	box-shadow: 0 0 26px -6px rgba(209, 254, 23, .8);
}

/* Pressing it should still register - the fill stays, the button gives. */
.frontend-body #main .action-button:active,
.frontend-body #main .dashboard-button:active,
.frontend-body #main .register-button:active {
	filter: brightness(.96);
}

/* A visible ring for keyboard users, which the theme removed with
   `outline: none` on the rest state. Only :focus-visible, so it does not fire
   on a mouse click. */
.frontend-body #main .action-button:focus-visible,
.frontend-body #main .dashboard-button:focus-visible,
.frontend-body #main .register-button:focus-visible {
	outline: 2px solid #131517;
	outline-offset: 2px;
}

/* ==========================================================================
 * 15. MOBILE MENU TOGGLE
 *
 * The three bars are not text and not an icon font - they are a background
 * SVG data URI with the stroke colour baked INTO the markup:
 *
 *   .navbar-light .navbar-toggler-icon {
 *     background-image: url("...%3cpath stroke='rgba%280, 0, 0, 0.55%29' ...")
 *   }
 *
 * So `color` does nothing to them. The nav carries `navbar-light`, which is why
 * a black-at-55% glyph is being drawn on a near-black bar - it was never going
 * to be visible. The whole URI has to be re-declared with a lime stroke; the
 * `#` in the hex is written `%23` because the value is a URL.
 * ========================================================================== */
.frontend-body .navbar-light .navbar-toggler-icon,
.frontend-body .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d1fe17' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* The button around it was bordered rgba(0,0,0,.1) - invisible here. A faint
   lime edge makes it read as a control rather than as a floating glyph. */
.frontend-body .navbar-light .navbar-toggler,
.frontend-body .navbar-toggler {
	border-color: rgba(209, 254, 23, .35);
	transition: border-color .25s ease, box-shadow .25s ease;
}
.frontend-body .navbar-toggler:hover {
	border-color: rgba(209, 254, 23, .6);
	box-shadow: 0 0 18px -6px rgba(209, 254, 23, .7);
}
/* Bootstrap's default focus ring here is its blue. */
.frontend-body .navbar-toggler:focus {
	box-shadow: 0 0 0 3px rgba(209, 254, 23, .25);
	outline: none;
}

/* ==========================================================================
 * 16. SPOTLIGHT STRIP  -  the band between the hero and #features
 *
 * Fills what was ~90px of empty dark between the customers pill and the
 * features eyebrow with a slim version of the ad-creative reel: one tool at a
 * time takes the stage with its real models. Same visual language as the rest
 * of the overrides - glass, corner brackets, lime chips, pink NEW tags.
 *
 * NOTHING WHITE ANIMATES here, deliberately - moving white reads as a smear
 * on dark video captures, a lesson from the ad build.
 * ========================================================================== */
/* FULL-BLEED with its own dark ground. The theme's page wrapper
   (.side-app.frontend-background) is Bootstrap blue underneath the whole
   site, and every original section paints over it - a transparent inserted
   section opened a full-width blue window. Measured live: parent bg
   rgb(0,123,255). The width constraint moves to the card. */
.qsr {
	position: relative;
	width: 100%;
	background: var(--qp-bg, #0f1113);
	padding: 26px 16px 12px;
}
.qsr .qsr-card {
	max-width: 1148px;
	margin-left: auto;
	margin-right: auto;
}
.qsr-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 34px;
	min-height: 132px;
	padding: 26px 46px;
	border-radius: 22px;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(30, 35, 41, .9), rgba(17, 20, 24, .94));
	border: 1.5px solid rgba(209, 254, 23, .3);
	box-shadow:
		0 30px 70px -30px rgba(0, 0, 0, .95),
		0 0 60px -18px rgba(209, 254, 23, .28),
		inset 0 1px 0 rgba(209, 254, 23, .12);
}
.qsr-card::before {
	content: "";
	position: absolute;
	left: 18%;
	top: 50%;
	width: 300px;
	height: 300px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(209, 254, 23, .13), transparent 70%);
	animation: qsr-breathe 4s ease-in-out infinite;
	pointer-events: none;
}
@keyframes qsr-breathe {
	0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); }
	50%      { opacity: 1;  transform: translate(-50%, -50%) scale(1.18); }
}
.qsr-bk { position: absolute; width: 24px; height: 24px; border-color: rgba(209, 254, 23, .5); border-style: solid; z-index: 3; }
.qsr-bk.tl { top: 10px; left: 10px;  border-width: 2px 0 0 2px; border-radius: 7px 0 0 0; }
.qsr-bk.br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; border-radius: 0 0 7px 0; }

.qsr-show {
	display: flex;
	align-items: center;
	gap: 30px;
	flex: 1 1 auto;
	justify-content: center;
	flex-wrap: wrap;
}
.qsr-show.qsr-out { animation: qsr-out .35s cubic-bezier(.5, 0, .7, .4) forwards; }
.qsr-show.qsr-in  { animation: qsr-in  .5s  cubic-bezier(.2, .9, .3, 1) forwards; }
@keyframes qsr-out { to { opacity: 0; transform: scale(.9);  filter: blur(5px); } }
@keyframes qsr-in  { from { opacity: 0; transform: scale(1.1); filter: blur(5px); }
                     to   { opacity: 1; transform: none;       filter: none; } }
.qsr-ic {
	width: 54px;
	height: 54px;
	color: var(--qp-lime, #d1fe17);
	filter: drop-shadow(0 0 16px rgba(209, 254, 23, .7));
	flex: none;
}
.qsr-ic svg { width: 100%; height: 100%; }
.qsr-name {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--qp-text, #f4f7f9);
	text-transform: uppercase;
	white-space: nowrap;
}
.qsr-models { display: flex; gap: 10px; flex-wrap: wrap; }
.qsr-chip {
	padding: 7px 15px;
	border-radius: 999px;
	background: var(--qp-lime, #d1fe17);
	color: #0b0d0e;
	font-size: 14.5px;
	font-weight: 800;
	white-space: nowrap;
	box-shadow: 0 0 18px -5px rgba(209, 254, 23, .6);
	opacity: 0;
	transform: translateY(10px) scale(.85);
	animation: qsr-chipup .4s cubic-bezier(.2, .9, .3, 1) forwards;
}
.qsr-chip:nth-child(2) { animation-delay: .08s; }
.qsr-chip:nth-child(3) { animation-delay: .16s; }
@keyframes qsr-chipup { to { opacity: 1; transform: none; } }
.qsr-chip i {
	font-style: normal;
	display: inline-block;
	margin-left: 7px;
	padding: 1px 7px;
	border-radius: 5px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	vertical-align: 1px;
	background: var(--qp-pink, #ff3d9a);
	color: #fff;
}

/* the tick rail: which tool holds the stage */
.qsr-rail { display: flex; gap: 9px; flex: none; }
.qsr-tick {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(26, 30, 35, .9);
	border: 1px solid rgba(255, 255, 255, .1);
	color: #6e767f;
	transition: all .35s cubic-bezier(.2, .9, .3, 1);
}
.qsr-tick svg { width: 16px; height: 16px; }
.qsr-tick.on {
	background: var(--qp-lime, #d1fe17);
	color: #0b0d0e;
	border-color: var(--qp-lime, #d1fe17);
	box-shadow: 0 0 18px -4px rgba(209, 254, 23, .8);
	transform: translateY(-3px);
}

@media (max-width: 900px) {
	.qsr-card { flex-direction: column; gap: 18px; padding: 22px 20px; }
	.qsr-name { font-size: 22px; }
	.qsr-ic { width: 40px; height: 40px; }
	.qsr-rail { flex-wrap: wrap; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.qsr-card::before { animation: none; }
	.qsr-show.qsr-out, .qsr-show.qsr-in { animation: none; opacity: 1; }
	.qsr-chip { animation: none; opacity: 1; transform: none; }
}

/* ==========================================================================
 * 17. DREAM NEBULA  -  replaces #images-wrapper
 *
 * The old section was a wall-to-wall image marquee with a heading lost in the
 * middle of it. This is the ad-creative star, rebuilt for the section's real
 * job: a hub with EIGHT REAL GENERATIONS on its spokes - live gallery images
 * that keep dissolving into new ones, each tagged with the image model that
 * made it. Full-bleed dark ground (the page wrapper underneath is Bootstrap
 * blue - lesson learned one section ago). Nothing white animates.
 * ========================================================================== */
.qdr {
	position: relative;
	width: 100%;
	background: var(--qp-bg, #0f1113);
	overflow: hidden;
	height: 920px;
}
.qdr-aur { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.qdr-aur.a { width: 560px; height: 560px; left: -140px; top: -160px; background: rgba(209, 254, 23, .10);
	animation: qdr-aur 20s ease-in-out infinite alternate; }
.qdr-aur.b { width: 480px; height: 480px; right: -120px; bottom: -120px; background: rgba(255, 61, 154, .07);
	animation: qdr-aur 26s ease-in-out infinite alternate-reverse; }
@keyframes qdr-aur { to { transform: translate(70px, 50px) scale(1.14); } }

.qdr-head {
	position: absolute;
	top: 46px;
	left: 0; right: 0;
	text-align: center;
	z-index: 6;
	font-family: var(--qp-display, inherit);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--qp-text, #f7f7f8);
	text-transform: uppercase;
	line-height: 1.1;
}
.qdr-head b { color: var(--qp-lime, #d1fe17); text-shadow: 0 0 30px rgba(209, 254, 23, .6); }
.qdr-sub {
	position: absolute;
	top: 102px;
	left: 0; right: 0;
	text-align: center;
	z-index: 6;
	color: var(--qp-text-muted, #9b9ea6);
	font-size: 15px;
}

/* ONE coordinate system. The SVG previously spanned the section (scaling with
   the viewport) while cards sat at fixed pixels - aligned only at exactly
   1440px wide. Everything positional now lives inside this fixed, centred
   stage, so lines, dots, hub and cards can never drift apart. */
.qdr-stage {
	position: absolute;
	left: 50%;
	top: 0;
	width: 1440px;
	height: 920px;
	transform: translateX(-50%);
}
.qdr-net { position: absolute; inset: 0; z-index: 1; }
.qdr-net line {
	stroke: rgba(209, 254, 23, .25);
	stroke-width: 1.5;
	stroke-dasharray: 520;
	stroke-dashoffset: 520;
}
.qs-in .qdr-net line { animation: qdr-draw 1s cubic-bezier(.2, .9, .3, 1) forwards; }
@keyframes qdr-draw { to { stroke-dashoffset: 0; } }
.qdr-dot {
	position: absolute;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--qp-lime, #d1fe17);
	box-shadow: 0 0 12px 3px rgba(209, 254, 23, .8);
	opacity: 0;
	offset-rotate: 0deg;
	z-index: 2;
}
.qs-in .qdr-dot { animation: qdr-travel 2.8s linear infinite; animation-delay: var(--d, 0s); }
@keyframes qdr-travel {
	0%   { offset-distance: 0%;   opacity: 0; }
	14%  { opacity: 1; }
	80%  { opacity: 1; }
	100% { offset-distance: 100%; opacity: 0; }
}

.qdr-hub {
	position: absolute;
	z-index: 5;
	width: 210px; height: 210px;
	transform: translate(-50%, -50%);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
	background: radial-gradient(closest-side, #1d2127, #131619 78%);
	border-radius: 50%;
	border: 1.5px solid rgba(209, 254, 23, .5);
	opacity: 0;
}
.qs-in .qdr-hub { animation: qdr-hubin .9s cubic-bezier(.2, .9, .3, 1) forwards, qdr-breathe 4.5s ease-in-out 1s infinite; }
@keyframes qdr-hubin { from { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
	to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes qdr-breathe {
	0%, 100% { box-shadow: 0 0 60px -10px rgba(209, 254, 23, .45); }
	50%      { box-shadow: 0 0 110px -4px rgba(209, 254, 23, .8); } }
.qdr-logo { font-size: 36px; font-weight: 800; letter-spacing: -.5px; color: var(--qp-text, #f7f7f8); }
.qdr-logo b { color: var(--qp-lime, #d1fe17); text-shadow: 0 0 24px rgba(209, 254, 23, .8); }
.qdr-hub small {
	font-size: 10px; font-weight: 700; letter-spacing: .26em;
	color: var(--qp-text-muted, #9b9ea6); text-transform: uppercase; }

/* the art cards */
.qdr-card {
	position: absolute;
	z-index: 4;
	width: 128px; height: 172px;
	transform: translate(-50%, -50%);
	border-radius: 14px;
	overflow: visible;
	opacity: 0;
}
.qs-in .qdr-card {
	animation: qdr-pop .6s cubic-bezier(.2, .9, .3, 1) forwards;
	animation-delay: var(--d, 0s);
}
@keyframes qdr-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
	to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.qdr-bob {
	position: absolute; inset: 0;
	border-radius: 14px;
	overflow: hidden;
	border: 1.5px solid rgba(209, 254, 23, .45);
	box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .95), 0 0 30px -10px rgba(209, 254, 23, .35);
	background: #14171b;
	animation: qdr-bob 5.6s ease-in-out var(--bd, 0s) infinite;
}
@keyframes qdr-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.qdr-bob img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: opacity .9s ease;
}
.qdr-bob img.back { opacity: 0; }
.qdr-bob.flip img.front { opacity: 0; }
.qdr-bob.flip img.back  { opacity: 1; }
.qdr-chip {
	position: absolute;
	left: 50%; bottom: -13px;
	transform: translateX(-50%);
	z-index: 3;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--qp-lime, #d1fe17);
	color: #0b0d0e;
	font-size: 11px; font-weight: 800;
	white-space: nowrap;
	box-shadow: 0 0 14px -3px rgba(209, 254, 23, .7);
	animation: qdr-bob 5.6s ease-in-out var(--bd, 0s) infinite;
}

.qdr-cta { position: absolute; bottom: 44px; left: 0; right: 0; text-align: center; z-index: 6; opacity: 0; }
.qs-in .qdr-cta { animation: qdr-rise .8s cubic-bezier(.2, .9, .3, 1) .6s forwards; }
@keyframes qdr-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.qdr-btn {
	display: inline-block;
	padding: 16px 42px;
	border-radius: 999px;
	background: var(--qp-lime, #d1fe17);
	color: #0b0d0e !important;
	font-size: 18px; font-weight: 800; letter-spacing: .02em;
	text-decoration: none !important;
	box-shadow: 0 0 34px -8px rgba(209, 254, 23, .8);
	transition: box-shadow .3s ease, filter .3s ease;
	animation: qdr-ctapulse 2.6s ease-in-out 1.5s infinite;
}
@keyframes qdr-ctapulse {
	0%, 100% { box-shadow: 0 0 34px -8px rgba(209, 254, 23, .8); }
	50%      { box-shadow: 0 0 70px -2px rgba(209, 254, 23, 1); } }
.qdr-btn:hover { filter: brightness(1.05); }
.qdr-fine { margin-top: 12px; color: var(--qp-text-muted, #7c838d); font-size: 12.5px; }

/* 981-1280px: the fixed 1440 stage would clip the outer cards at the viewport
   edge - scale the whole stage down about the hub so the star shrinks as one. */
@media (min-width: 981px) and (max-width: 1280px) {
	.qdr { height: 860px; }
	.qdr-stage { transform: translateX(-50%) scale(.84); transform-origin: 720px 445px; }
}

/* Under 980px the star does not fit: a tight 4-card grid keeps the message. */
.qdr-grid { display: none; }
@media (max-width: 980px) {
	.qdr { height: auto; padding: 46px 16px 54px; }
	.qdr-head, .qdr-sub { position: static; margin-bottom: 8px; }
	.qdr-stage { display: none; }
	.qdr-grid {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 12px;
		max-width: 560px;
		margin: 26px auto 30px;
	}
	.qdr-grid .qdr-gcell {
		position: relative;
		border-radius: 12px;
		overflow: hidden;
		border: 1.5px solid rgba(209, 254, 23, .4);
		aspect-ratio: 3/4;
	}
	.qdr-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
	.qdr-cta { position: static; }
}
@media (prefers-reduced-motion: reduce) {
	.qdr-aur, .qdr-bob, .qdr-chip { animation: none !important; }
	.qs-in .qdr-net line { animation: none; stroke-dashoffset: 0; }
	.qs-in .qdr-dot { animation: none; opacity: 0; }
	.qs-in .qdr-hub, .qs-in .qdr-card, .qs-in .qdr-cta { animation: none; opacity: 1; transform: translate(-50%, -50%); }
	.qs-in .qdr-cta { transform: none; }
	.qdr-btn { animation: none; }
}

/* ====================================================================
 * Claude connector showcase (.qcl)
 *
 * The section between the model band and the first qp- feature section:
 * a live Claude conversation in which QynTro's MCP tools create video,
 * image, music, voice, a talking avatar and a deck, one prompt at a
 * time. Header re-uses the qph classes so its typography is identical
 * to every other section head. The chat panel is DESIGNED at 780x648
 * and scaled to the container by JS, so every inner coordinate is
 * fixed-pixel and the whole panel stays pixel-faithful on phones.
 * ==================================================================== */
.qcl {
	position: relative;
	padding: 96px 20px 104px;
	text-align: center;
	overflow: hidden;
}
.qcl .qp-feats-head {
	position: relative;
	max-width: 900px;
	margin: 0 auto 48px;
}

.qcl-fit {
	position: relative;
	max-width: 780px;
	margin: 0 auto;
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s ease .25s, transform .8s ease .25s;
}
.qcl.qs-in .qcl-fit { opacity: 1; transform: none; }

.qcl-panel {
	position: absolute;
	left: 50%; top: 0;
	width: 780px; height: 648px;
	transform: translateX(-50%);          /* JS appends scale() */
	transform-origin: top center;
	border-radius: 26px;
	background: #14171b;
	border: 1.5px solid rgba(209, 254, 23, .28);
	box-shadow: 0 34px 90px -34px rgba(0, 0, 0, 1), 0 0 50px -18px rgba(209, 254, 23, .3);
	overflow: hidden;
	text-align: left;
}
.qcl-phead {
	position: absolute; top: 0; left: 0; right: 0;
	height: 58px;
	display: flex; align-items: center; gap: 12px;
	padding: 0 22px;
	background: #171a1f;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.qcl-phead img { width: 24px; height: 24px; }
.qcl-pname { font-size: 19px; font-weight: 700; color: #e8eaee; }
.qcl-conn {
	margin-left: auto;
	display: flex; align-items: center; gap: 8px;
	padding: 7px 16px; border-radius: 999px;
	background: rgba(209, 254, 23, .12);
	border: 1px solid rgba(209, 254, 23, .45);
	color: var(--qp-lime, #d1fe17);
	font-size: 14.5px; font-weight: 700;
	white-space: nowrap;
}
.qcl-conn i {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--qp-lime, #d1fe17);
	box-shadow: 0 0 10px rgba(209, 254, 23, 1);
	animation: qcl-blink 1.6s steps(1) infinite;
}
@keyframes qcl-blink { 50% { opacity: 0; } }

.qcl-you {
	position: absolute; right: 24px; top: 82px;
	max-width: 620px; min-height: 52px;
	display: flex; align-items: center; gap: 12px;
	padding: 12px 20px;
	background: #23272e;
	border-radius: 18px 18px 4px 18px;
	border: 1px solid rgba(255, 255, 255, .08);
}
.qcl-txt { font-size: 20px; color: #e8eaee; white-space: nowrap; overflow: hidden; }
.qcl-caret {
	width: 2.5px; height: 26px; flex: none;
	background: var(--qp-lime, #d1fe17);
	box-shadow: 0 0 10px rgba(209, 254, 23, .9);
	animation: qcl-blink 1s steps(1) infinite;
}

.qcl-tool {
	position: absolute; left: 24px; top: 158px;
	display: flex; align-items: center; gap: 11px;
	opacity: 0;
	transition: opacity .25s ease;
	white-space: nowrap;
}
.qcl-tool.on { opacity: 1; }
.qcl-tool img { width: 21px; height: 21px; }
.qcl-who { font-size: 17px; color: #b9bfc8; }
.qcl-who b { color: var(--qp-lime, #d1fe17); font-weight: 700; }
.qcl-fn {
	padding: 5px 13px; border-radius: 8px;
	background: #101317;
	border: 1px solid rgba(218, 119, 86, .55);
	color: #da7756;
	font-family: "SF Mono", Menlo, Consolas, monospace;
	font-size: 14.5px;
}
.qcl-run {
	padding: 6px 15px; border-radius: 999px;
	background: var(--qp-pink, #ff3d9a); color: #fff;
	font-size: 12.5px; font-weight: 700; letter-spacing: .13em;
	animation: qcl-runpulse .9s ease-in-out infinite;
}
@keyframes qcl-runpulse {
	0%, 100% { box-shadow: 0 0 16px -4px rgba(255, 61, 154, .9); }
	50% { box-shadow: 0 0 36px 0 rgba(255, 61, 154, 1); }
}
.qcl-run.done {
	background: var(--qp-lime, #d1fe17); color: #0b0d0e;
	animation: none;
	box-shadow: 0 0 18px -4px rgba(209, 254, 23, .9);
}

.qcl-res {
	position: absolute; left: 24px; top: 212px;
	width: 620px; height: 349px;
	border-radius: 18px;
	border: 1.5px solid rgba(209, 254, 23, .5);
	background: #101317;
	overflow: hidden;
	box-shadow: 0 26px 70px -28px rgba(0, 0, 0, 1), 0 0 40px -14px rgba(209, 254, 23, .35);
	opacity: 0;
}
.qcl-res.reveal { opacity: 1; clip-path: inset(0 0 100% 0); animation: qcl-reveal .85s cubic-bezier(.3, .8, .3, 1) forwards; }
.qcl-res.show { opacity: 1; clip-path: none; }
@keyframes qcl-reveal { to { clip-path: inset(0 0 0% 0); } }
.qcl-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.qcl-scan {
	position: absolute; left: 24px; top: 206px;
	width: 620px; height: 5px;
	background: var(--qp-lime, #d1fe17);
	box-shadow: 0 0 26px 5px rgba(209, 254, 23, .85);
	opacity: 0; z-index: 6;
}
.qcl-scan.go { opacity: 1; animation: qcl-scan .85s cubic-bezier(.3, .8, .3, 1) forwards; }
@keyframes qcl-scan { from { transform: translateY(0); } to { transform: translateY(355px); opacity: 0; } }

.qcl-tag {
	position: absolute; left: 40px; top: 538px;
	transform: scale(0);
	padding: 9px 22px; border-radius: 999px;
	background: var(--qp-lime, #d1fe17); color: #0b0d0e;
	font-size: 18px; font-weight: 700; letter-spacing: .05em;
	box-shadow: 0 0 24px -6px rgba(209, 254, 23, .9);
	z-index: 7;
	white-space: nowrap;
}
.qcl-tag.pop { animation: qcl-pop .5s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes qcl-pop { to { transform: scale(1); } }

/* in-card mock UIs: music, voice, deck */
.qcl-mock {
	position: absolute; inset: 0;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: 22px;
	background:
		radial-gradient(ellipse at 30% 20%, rgba(209, 254, 23, .09), transparent 55%),
		radial-gradient(ellipse at 75% 85%, rgba(255, 61, 154, .10), transparent 55%),
		#101317;
}
.qcl-eq { display: flex; align-items: center; gap: 7px; height: 130px; }
.qcl-eq i {
	width: 9px; border-radius: 5px; height: 100%;
	background: linear-gradient(180deg, var(--qp-lime, #d1fe17), rgba(209, 254, 23, .25));
	transform-origin: center;
	animation: qcl-eq .8s ease-in-out infinite alternate;
}
@keyframes qcl-eq { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.qcl-mtitle { font-size: 21px; font-weight: 700; color: #e8eaee; letter-spacing: .03em; }
.qcl-mtitle b { color: var(--qp-lime, #d1fe17); }
.qcl-mbar { width: 420px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.qcl-mbar i {
	display: block; height: 100%; width: 30%; border-radius: 3px;
	background: var(--qp-lime, #d1fe17);
	box-shadow: 0 0 12px rgba(209, 254, 23, .8);
	animation: qcl-mbar 3.4s linear infinite;
}
@keyframes qcl-mbar { from { width: 6%; } to { width: 96%; } }

.qcl-wave { display: flex; align-items: center; gap: 4px; height: 110px; }
.qcl-wave i {
	width: 5px; border-radius: 3px; height: 100%;
	background: var(--qp-pink, #ff3d9a);
	transform-origin: center;
	animation: qcl-eq .7s ease-in-out infinite alternate;
}
.qcl-wave i:nth-child(3n) { background: var(--qp-lime, #d1fe17); }
.qcl-play {
	width: 76px; height: 76px; border-radius: 50%;
	background: var(--qp-lime, #d1fe17);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 34px -6px rgba(209, 254, 23, .95);
}
.qcl-play i {
	width: 0; height: 0; margin-left: 7px;
	border: 15px solid transparent;
	border-left: 24px solid #0b0d0e;
}

.qcl-deck { position: relative; width: 500px; height: 240px; }
.qcl-slide {
	position: absolute; width: 300px; height: 176px;
	border-radius: 12px; background: #1a1e24;
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 18px 46px -18px rgba(0, 0, 0, .95);
	overflow: hidden;
	opacity: 0; transform: translateY(36px);
}
.qcl-slide.in { animation: qcl-slidein .55s cubic-bezier(.2, 1.2, .4, 1) forwards; }
@keyframes qcl-slidein { to { opacity: 1; transform: translateY(0) rotate(var(--r)); } }
.qcl-slide .st {
	height: 34px; display: flex; align-items: center; padding: 0 14px;
	background: rgba(209, 254, 23, .14);
	border-bottom: 1px solid rgba(209, 254, 23, .35);
	color: var(--qp-lime, #d1fe17);
	font-size: 13.5px; font-weight: 700; letter-spacing: .04em;
}
.qcl-slide .ln { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .16); margin: 13px 14px 0; }
.qcl-slide .ln.s { width: 60%; }
.qcl-slide .blk {
	position: absolute; right: 14px; bottom: 12px;
	width: 86px; height: 54px; border-radius: 8px;
	background: linear-gradient(135deg, rgba(209, 254, 23, .5), rgba(255, 61, 154, .45));
}
.qcl-dcount {
	position: absolute; right: 6px; top: -14px;
	padding: 8px 18px; border-radius: 999px;
	background: var(--qp-pink, #ff3d9a); color: #fff;
	font-size: 14.5px; font-weight: 700; letter-spacing: .07em;
	box-shadow: 0 0 22px -5px rgba(255, 61, 154, .95);
}

/* capability chips under the panel - the active one follows the scene */
.qcl-chips {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: 10px;
	max-width: 840px;
	margin: 30px auto 0;
}
.qcl-chip {
	padding: 8px 18px; border-radius: 999px;
	border: 1px solid rgba(209, 254, 23, .35);
	background: rgba(209, 254, 23, .05);
	color: #cfd4da;
	font-size: 14px; font-weight: 700; letter-spacing: .05em;
	text-transform: uppercase;
	transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.qcl-chip.on {
	background: var(--qp-lime, #d1fe17);
	color: #0b0d0e;
	box-shadow: 0 0 22px -6px rgba(209, 254, 23, .9);
}

.qcl-cta { margin-top: 42px; }
.qcl-btn {
	display: inline-block;
	padding: 16px 42px;
	border-radius: 999px;
	background: var(--qp-lime, #d1fe17);
	color: #0b0d0e !important;
	font-size: 18px; font-weight: 800; letter-spacing: .02em;
	text-decoration: none !important;
	box-shadow: 0 0 34px -8px rgba(209, 254, 23, .8);
	transition: box-shadow .3s ease, filter .3s ease;
	animation: qcl-ctapulse 2.6s ease-in-out 1.5s infinite;
}
.qcl-btn:hover { filter: brightness(1.08); }
@keyframes qcl-ctapulse {
	0%, 100% { box-shadow: 0 0 34px -8px rgba(209, 254, 23, .8); }
	50% { box-shadow: 0 0 64px -2px rgba(209, 254, 23, 1); }
}
.qcl-fine { margin-top: 14px; color: #7c838d; font-size: 14px; }

@media (max-width: 560px) {
	.qcl { padding: 72px 14px 80px; }
	.qcl-chip { font-size: 12px; padding: 7px 13px; }
	.qcl-btn { font-size: 16px; padding: 14px 32px; }
}

@media (prefers-reduced-motion: reduce) {
	.qcl-conn i, .qcl-caret, .qcl-run, .qcl-btn,
	.qcl-eq i, .qcl-wave i, .qcl-mbar i { animation: none; }
	.qcl-fit { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
 * AI CHAT flagship tile (#qp-feats .qp-feat-wide) - .qcw-*
 *
 * Replaces aichat.gif: 4.37 MB of animation for one tile, and it advertised
 * DeepSeek, which is not on the platform. This draws the same claim in markup
 * and reads the roster from window.QYNTRO_MODELS, so it cannot go out of date.
 * ========================================================================== */
.qcw {
	position: relative;
	/* Shorter than the gif it replaces (1206x610). The content sits on the
	   perimeter of this panel, and at 2:1 the middle was simply empty. */
	aspect-ratio: 1180 / 466;
	overflow: hidden;
	background:
		radial-gradient(120% 90% at 6% 10%, #0e1307 0%, transparent 55%),
		radial-gradient(90% 120% at 94% 90%, #0a1108 0%, transparent 60%),
		#05070a;
	pointer-events: none;                 /* the whole tile is one link */
}
/* The theme does not set this globally, and .qcw-in is height:100% with 66px of
   padding - without it the inner grid stands 66px taller than the panel and the
   fact strip is cropped by overflow:hidden. */
.qcw, .qcw *, .qcw *::before, .qcw *::after { box-sizing: border-box; }

.qcw-aur {
	position: absolute; inset: -30%;
	background:
		radial-gradient(38% 42% at 20% 26%, rgba(209,254,23,.17), transparent 70%),
		radial-gradient(34% 38% at 80% 76%, rgba(209,254,23,.10), transparent 70%);
	filter: blur(26px);
	animation: qcw-drift 22s ease-in-out infinite alternate;
}
/* A second bloom carrying the current provider's own colour, at a tenth of the
   strength of the lime. Enough that the panel changes temperature as it cycles
   and never enough to argue with the brand. */
.qcw-tint {
	position: absolute; inset: -30%;
	background: radial-gradient(30% 34% at 62% 30%, var(--qcw-tint, transparent), transparent 70%);
	filter: blur(34px);
	transition: background 1.1s ease;
}
@keyframes qcw-drift {
	from { transform: translate3d(-2%, -1%, 0) scale(1); }
	to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

/* a drafting grid, faded out at the edges so it never meets the border */
.qcw-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(209,254,23,.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(209,254,23,.055) 1px, transparent 1px);
	background-size: 46px 46px;
	-webkit-mask-image: radial-gradient(100% 78% at 50% 45%, #000 30%, transparent 78%);
	        mask-image: radial-gradient(100% 78% at 50% 45%, #000 30%, transparent 78%);
}

/* one bright line crosses the whole panel each time the model changes - the
   same gesture the model deck uses when a category powers up */
/* a glass rim along the top edge - the one thing that says "panel" rather than
   "rectangle of background" */
.qcw-rim {
	position: absolute; top: 0; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(209,254,23,.55) 22%, rgba(255,255,255,.25) 50%, rgba(209,254,23,.4) 78%, transparent);
	opacity: .8;
}

.qcw-sweep { position: absolute; inset: 0; overflow: hidden; }
.qcw-sweep i {
	position: absolute; top: 0; bottom: 0; left: 0; width: 34%;
	background: linear-gradient(90deg, transparent,
		rgba(209,254,23,.12) 44%, rgba(209,254,23,.5) 50%, rgba(209,254,23,.12) 56%, transparent);
	transform: translateX(-140%);
}
.qcw-sweep.go i { animation: qcw-swp .85s cubic-bezier(.35,.75,.3,1); }
@keyframes qcw-swp { from { transform: translateX(-140%); } to { transform: translateX(420%); } }

.qcw-in {
	position: relative;
	height: 100%;
	display: grid;
	grid-template-columns: 1fr 392px;
	gap: 34px;
	padding: 30px 40px 28px;
}

/* the tether: one line from the name to whichever row is lit. It redraws on
   every switch, which is what says "that row IS this name" without a label. */
/* width/height are set explicitly, not left to `inset: 0`. An <svg> is a
   replaced element with an intrinsic 300x150, so auto sizing gave it that box
   and the line - drawn in panel coordinates, several hundred px to the right -
   fell outside its viewport and never appeared. */
.qcw-tether {
	position: absolute; top: 0; left: 0;
	width: 100%; height: 100%;
	overflow: visible; pointer-events: none; z-index: 2;
}
.qcw-tether path {
	fill: none;
	stroke: rgba(209,254,23,.7);
	stroke-width: 1.2;
	stroke-linecap: round;
	filter: drop-shadow(0 0 5px rgba(209,254,23,.45));
}
.qcw-tether circle { fill: #d1fe17; filter: drop-shadow(0 0 6px rgba(209,254,23,.9)); }

/* ---------------- left: the poster ---------------- */
.qcw-left {
	position: relative; z-index: 3;
	display: flex; flex-direction: column; justify-content: space-between;
	min-width: 0;
}
.qcw-eyebrow {
	margin: 0;
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
	color: #d1fe17;
}
.qcw-eyebrow i {
	width: 6px; height: 6px; border-radius: 50%;
	background: #d1fe17; box-shadow: 0 0 10px rgba(209,254,23,.9);
	animation: qcw-pulse 2.4s ease-in-out infinite;
}
@keyframes qcw-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .28; } }

.qcw-provclip { overflow: hidden; height: 14px; margin: 0 0 7px; }
.qcw-prov {
	margin: 0;
	font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: #7c838d;
}
.qcw-provclip.go .qcw-prov { animation: qcw-roll .5s cubic-bezier(.16,.84,.28,1); }
@keyframes qcw-roll {
	from { transform: translateY(100%); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}

/* The word the panel is built around. Clipped, so the incoming name rises from
   behind its own rule instead of cross-fading - a mechanism, not a dissolve. */
.qcw-nameclip { position: relative; overflow: hidden; padding-bottom: 6px; }
.qcw-name {
	margin: 0;
	font-family: var(--qp-display, 'Space Grotesk', sans-serif);
	font-size: clamp(30px, 5.1vw, 70px);
	font-weight: 700; line-height: 1.02; letter-spacing: -.028em;
	color: #f7f7f8; white-space: nowrap;
	/* inline-block so its box is the width of the TEXT - as a block it always
	   measured the full column and the fit below could never see an overflow */
	display: inline-block;
}
.qcw-nameclip.go .qcw-name { animation: qcw-rise .62s cubic-bezier(.16,.84,.28,1); }
@keyframes qcw-rise {
	0%   { transform: translateY(104%); opacity: 0; filter: blur(7px); }
	62%  { opacity: 1; filter: blur(0); }
	100% { transform: translateY(0); opacity: 1; }
}
.qcw-edge {
	position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: linear-gradient(90deg, #d1fe17, rgba(209,254,23,0));
	transform-origin: left; transform: scaleX(.14);
	transition: transform .62s cubic-bezier(.16,.84,.28,1);
}
.qcw-nameclip.go .qcw-edge { transform: scaleX(1); }

.qcw-line {
	margin: 18px 0 0; max-width: 30ch;
	font-size: 15.5px; line-height: 1.5; color: #a8adb5;
}
.qcw-line b { color: #f7f7f8; font-weight: 600; }

.qcw-facts { display: flex; gap: 26px; }
.qcw-fact b {
	display: block;
	font-family: var(--qp-display, 'Space Grotesk', sans-serif);
	font-size: 24px; font-weight: 700; color: #d1fe17; line-height: 1;
}
.qcw-fact span {
	display: block; margin-top: 5px;
	font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: #6b6e76;
}

/* ---------------- right: the switcher ---------------- */
/* The bottom padding keeps the switcher clear of the "Try it free" chip the
   tile shows on hover, which is pinned to the card's bottom-right corner. */
.qcw-right {
	position: relative; z-index: 3;
	display: flex; align-items: center;
	padding-bottom: 22px;
}
.qcw-pick {
	position: relative; width: 100%;
	border: 1px solid rgba(209,254,23,.16);
	border-radius: 16px;
	background: rgba(7,9,12,.74);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	padding: 12px;
	box-shadow: 0 30px 70px -40px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.035);
}
.qcw-pickhead {
	display: flex; align-items: baseline; justify-content: space-between;
	padding: 4px 8px 11px;
	border-bottom: 1px solid rgba(255,255,255,.06);
	margin-bottom: 7px;
}
.qcw-pickhead b {
	font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
	color: #9b9ea6;
}
.qcw-pickhead span { font-size: 11px; color: #d1fe17; font-weight: 700; }

.qcw-list { position: relative; }
/* one box that slides, rather than eight that toggle */
.qcw-sel {
	position: absolute; left: 0; right: 0; top: 0; height: 0;
	border-radius: 10px;
	background: linear-gradient(90deg, rgba(209,254,23,.16), rgba(209,254,23,.04));
	border: 1px solid rgba(209,254,23,.5);
	box-shadow: 0 0 26px -6px rgba(209,254,23,.55);
	transition: transform .58s cubic-bezier(.2,.9,.25,1), height .58s cubic-bezier(.2,.9,.25,1);
}
.qcw-row {
	position: relative; z-index: 1;
	display: flex; align-items: center; gap: 9px;
	padding: 9px 11px; border-radius: 10px;
	color: #7c838d; opacity: .7;
	transition: color .35s ease, opacity .35s ease;
}
.qcw-row.on { color: #f7f7f8; opacity: 1; }
.qcw-nm { font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; }
.qcw-tag {
	margin-left: auto;
	font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: #565f67;
}
.qcw-row.on .qcw-tag { color: #a9b39c; }
.qcw-new {
	font-size: 8px; font-weight: 800; letter-spacing: .12em;
	color: #ff7ab8; border: 1px solid rgba(255,122,184,.45);
	border-radius: 20px; padding: 2px 6px;
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
	.qcw-in { grid-template-columns: 1fr 320px; gap: 24px; padding: 28px 28px 26px; }
	.qcw-pick { padding: 10px; }
	.qcw-row { padding: 7px 9px; gap: 7px; }
	.qcw-nm { font-size: 12px; }
	.qcw-tag { font-size: 8.5px; }
	.qcw-line { margin-top: 14px; font-size: 13.5px; }
	.qcw-facts { gap: 18px; }
}
@media (max-width: 860px) {
	.qcw { aspect-ratio: auto; }
	.qcw-in { grid-template-columns: 1fr; gap: 22px; padding: 26px 20px 24px; }
	.qcw-left { gap: 18px; }
	.qcw-right { padding-bottom: 0; }
	.qcw-tether { display: none; }        /* nothing to tether across */
	.qcw-name { font-size: clamp(28px, 8.6vw, 46px); }
	.qcw-line { max-width: none; }
}
@media (max-width: 460px) {
	.qcw-facts { gap: 14px; }
	.qcw-fact b { font-size: 18px; }
	.qcw-fact span { font-size: 9px; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
	.qcw-aur, .qcw-eyebrow i { animation: none; }
	.qcw-tint { transition: none; }
	.qcw-nameclip.go .qcw-name,
	.qcw-provclip.go .qcw-prov { animation: none; }
	.qcw-sweep { display: none; }
	.qcw-sel, .qcw-edge { transition: none; }
}


/* the flagship tile has no <img> any more, so give the hover something to do */
#qp-feats .qp-feat:hover .qcw-rim { opacity: 1; }

/* ==========================================================================
 * AI AVATAR banner (#qp-avatar .qp-feat) - .qav-*
 * ========================================================================== */
.qav {
	position: relative;
	aspect-ratio: 1180 / 552;
	overflow: hidden;
	background:
		radial-gradient(110% 90% at 10% 12%, #0d1206 0%, transparent 55%),
		radial-gradient(90% 110% at 88% 88%, #0a1108 0%, transparent 60%),
		#05070a;
	pointer-events: none;
}
.qav, .qav *, .qav *::before, .qav *::after { box-sizing: border-box; }

/* ---------------- the wall ---------------- */
.qav-wall {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: center;
	gap: 14px;
	/* Faded left and top/bottom so the drifting rows have no hard start and the
	   directory panel has something quiet to sit on. */
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 92%, transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 92%, transparent 100%);
}
.qav-row { display: flex; gap: 14px; width: max-content; will-change: transform; }
.qav-row.a { animation: qav-left  64s linear infinite; }
.qav-row.b { animation: qav-right 78s linear infinite; }
.qav-row.c { animation: qav-left  92s linear infinite; }
/* Each row holds the set twice, so -50% lands exactly on the seam. */
@keyframes qav-left  { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes qav-right { from { transform: translateX(-50%); }   to { transform: translateX(0); } }

/* Three rows at three sizes and three brightnesses. A wall of identical tiles
   reads as a contact sheet; graded like this it reads as depth, and the eye
   settles on the front row where the highlight happens. */
.qav-row.a .qav-card { width: 244px; filter: saturate(.92) brightness(.88); }
.qav-row.b .qav-card { width: 208px; filter: saturate(.8)  brightness(.72); }
.qav-row.c .qav-card { width: 176px; filter: saturate(.68) brightness(.58); }

.qav-card {
	position: relative; flex: none;
	width: 220px; aspect-ratio: 16 / 9;
	border-radius: 12px; overflow: hidden;
	border: 1px solid rgba(255,255,255,.07);
	background: #0d1013;
	transition: border-color .5s ease, box-shadow .5s ease, filter .5s ease, transform .5s cubic-bezier(.2,.9,.25,1);
	filter: saturate(.82) brightness(.78);
}
.qav-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* one card at a time comes to life - the wall is a library, and this is the
   reminder that every face in it talks */
/* The row rules above carry three classes, so the highlight has to match at
   least as tightly or the grading wins and the live card never brightens. */
.qav-row .qav-card.live {
	border-color: rgba(209,254,23,.75);
	box-shadow: 0 0 0 1px rgba(209,254,23,.35), 0 0 40px -6px rgba(209,254,23,.6);
	filter: saturate(1.05) brightness(1.06);
	transform: scale(1.055);
	z-index: 2;
}
.qav-eq {
	position: absolute; left: 8px; bottom: 8px;
	display: flex; align-items: flex-end; gap: 2px;
	height: 15px; padding: 3px 6px;
	border-radius: 20px;
	background: rgba(6,8,10,.72);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	opacity: 0; transition: opacity .4s ease;
}
.qav-card.live .qav-eq { opacity: 1; }
.qav-eq i {
	width: 2px; height: 4px; border-radius: 1px; background: #d1fe17;
	animation: qav-bar .9s ease-in-out infinite;
}
.qav-eq i:nth-child(2) { animation-delay: .12s; }
.qav-eq i:nth-child(3) { animation-delay: .26s; }
.qav-eq i:nth-child(4) { animation-delay: .05s; }
.qav-eq i:nth-child(5) { animation-delay: .33s; }
@keyframes qav-bar { 0%, 100% { height: 3px; } 50% { height: 9px; } }

/* a floor shadow, so the wall sits in the panel rather than on top of it */
.qav-shade {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(5,7,10,.55) 0%, transparent 22%, transparent 74%, rgba(5,7,10,.75) 100%);
}

/* ---------------- the directory ---------------- */
.qav-in { position: relative; height: 100%; padding: 30px 40px; display: flex; align-items: center; }

.qav-panel {
	width: 372px;
	border: 1px solid rgba(209,254,23,.18);
	border-radius: 18px;
	background: rgba(6,8,11,.82);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 40px 90px -50px rgba(0,0,0,1), inset 0 1px 0 rgba(255,255,255,.04);
	padding: 22px 22px 18px;
}
.qav-eyebrow {
	margin: 0 0 14px;
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
	color: #d1fe17;
}
.qav-eyebrow i {
	width: 6px; height: 6px; border-radius: 50%;
	background: #d1fe17; box-shadow: 0 0 10px rgba(209,254,23,.9);
	animation: qav-pulse 2.4s ease-in-out infinite;
}
@keyframes qav-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .28; } }

.qav-count {
	font-family: var(--qp-display, 'Space Grotesk', sans-serif);
	font-size: 54px; font-weight: 700; line-height: 1;
	letter-spacing: -.03em; color: #d1fe17;
	font-variant-numeric: tabular-nums;
}
.qav-count sup { font-size: .42em; vertical-align: super; margin-left: 2px; }
.qav-clabel {
	margin: 7px 0 0;
	font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: #7c838d;
}
.qav-sub { margin: 13px 0 0; font-size: 14px; line-height: 1.5; color: #a8adb5; }
.qav-sub b { color: #f7f7f8; font-weight: 600; }

/* the roster - a slow vertical ticker, faded at both ends */
.qav-dirhead {
	display: flex; align-items: baseline; justify-content: space-between;
	margin: 18px 0 4px; padding-bottom: 8px;
	border-bottom: 1px solid rgba(255,255,255,.07);
}
.qav-dirhead b {
	font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #9b9ea6;
}
.qav-dirhead span { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #5d666e; }

.qav-dir {
	position: relative; height: 132px; overflow: hidden;
	-webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
	        mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.qav-track { animation: qav-scroll 26s linear infinite; }
@keyframes qav-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.qav-item {
	display: flex; align-items: center; gap: 10px;
	padding: 7px 2px;
	font-size: 13px;
}
.qav-item b { color: #e9edf0; font-weight: 600; min-width: 74px; }
.qav-bar {
	flex: 1; height: 3px; border-radius: 2px;
	background: rgba(255,255,255,.07); overflow: hidden;
}
.qav-bar i { display: block; height: 100%; background: #d1fe17; border-radius: 2px; }
.qav-item span {
	color: #7c838d; font-size: 11px; font-weight: 600;
	letter-spacing: .04em; min-width: 52px; text-align: right;
	font-variant-numeric: tabular-nums;
}

.qav-foot {
	margin-top: 14px; padding-top: 12px;
	border-top: 1px solid rgba(255,255,255,.07);
	display: flex; align-items: center; gap: 8px;
	font-size: 11.5px; color: #6b6e76;
}
.qav-foot i { width: 4px; height: 4px; border-radius: 50%; background: #d1fe17; flex: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
	.qav-in { padding: 24px 26px; }
	.qav-panel { width: 330px; padding: 18px 18px 15px; }
	.qav-count { font-size: 44px; }
	.qav-card { width: 190px; }
}
@media (max-width: 860px) {
	.qav { aspect-ratio: auto; }
	.qav-wall {
		position: relative; inset: auto;
		padding: 20px 0 0; gap: 10px;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
		        mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	}
	.qav-row.c { display: none; }
	.qav-row.a .qav-card,
	.qav-row.b .qav-card { width: 158px; }
	.qav-in { padding: 18px; }
	.qav-panel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.qav-row, .qav-track, .qav-eyebrow i, .qav-eq i { animation: none; }
	.qav-card { transition: none; }
	.qav-row .qav-card.live { transform: none; }
}

/* ==========================================================================
 * AI MUSIC player (#qp-music .qp-video-frame) - .qmu-*
 * ========================================================================== */
.qmu {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	background:
		radial-gradient(90% 120% at 12% 0%, #101706 0%, transparent 58%),
		radial-gradient(80% 120% at 90% 100%, #0a1108 0%, transparent 60%),
		#06080b;
	border: 1px solid rgba(209,254,23,.2);
	box-shadow: 0 0 0 1px rgba(209,254,23,.07), 0 40px 90px -50px rgba(0,0,0,1);
	padding: 26px 30px 24px;
}
.qmu, .qmu *, .qmu *::before, .qmu *::after { box-sizing: border-box; }

.qmu-head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; margin-bottom: 22px;
}
.qmu-badge {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
	color: #d1fe17;
}
.qmu-badge i {
	width: 6px; height: 6px; border-radius: 50%;
	background: #d1fe17; box-shadow: 0 0 10px rgba(209,254,23,.9);
}
.qmu-badge.on i { animation: qmu-pulse 1.4s ease-in-out infinite; }
@keyframes qmu-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.qmu-hint { font-size: 11.5px; color: #6b6e76; letter-spacing: .02em; }
/* "press play" is an instruction, not a label - it goes once it has been read
   and acted on */
.qmu.playing .qmu-hint em { display: none; }
.qmu-hint em { font-style: normal; }

/* ---------------- the deck ---------------- */
.qmu-deck { display: flex; align-items: center; gap: 22px; }

.qmu-play {
	flex: none;
	width: 66px; height: 66px; border-radius: 50%;
	border: 0; padding: 0; cursor: pointer;
	background: #d1fe17; color: #0b0d0e;
	display: grid; place-items: center;
	box-shadow: 0 0 34px -6px rgba(209,254,23,.8);
	transition: transform .25s cubic-bezier(.2,.9,.25,1), box-shadow .25s ease;
}
.qmu-play:hover { transform: scale(1.06); box-shadow: 0 0 48px -4px rgba(209,254,23,1); }
.qmu-play:active { transform: scale(.97); }
.qmu-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.qmu-play svg { width: 24px; height: 24px; display: block; }
.qmu-play .qmu-pause { display: none; }
.qmu.playing .qmu-play .qmu-pause { display: block; }
.qmu.playing .qmu-play .qmu-tri  { display: none; }

.qmu-body { flex: 1; min-width: 0; }
.qmu-titlerow {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 14px; margin-bottom: 10px;
}
.qmu-title {
	margin: 0;
	font-family: var(--qp-display, 'Space Grotesk', sans-serif);
	font-size: clamp(19px, 2.2vw, 26px); font-weight: 700;
	letter-spacing: -.015em; color: #f7f7f8;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qmu-time {
	flex: none;
	font-size: 12px; font-weight: 600; color: #7c838d;
	font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.qmu-time b { color: #d1fe17; font-weight: 700; }

/* ---------------- the waveform ---------------- */
/* Bars are real: qyntro-sections.js carries an RMS reading per bar taken from
   the track itself, so the shape on screen is the shape of the audio. */
.qmu-wave {
	position: relative;
	display: flex; align-items: center; gap: 2px;
	height: 84px; cursor: pointer;
}
.qmu-wave i {
	flex: 1;
	min-width: 2px;
	height: 6%;
	border-radius: 2px;
	background: #2a3138;
	transform-origin: center;
	transition: height .5s cubic-bezier(.2,.9,.25,1), background .25s ease;
}
.qmu-wave i.on { background: #d1fe17; }
.qmu-wave i.at {
	background: #eaffb0;
	box-shadow: 0 0 12px rgba(209,254,23,.9);
}
/* the idle drift, so a silent player is not a dead one */
.qmu:not(.playing) .qmu-wave i { animation: qmu-idle 3.4s ease-in-out infinite; }
@keyframes qmu-idle { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.72); } }

/* ---------------- the tracks ---------------- */
.qmu-tracks {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px; margin-top: 22px;
}
.qmu-track {
	display: flex; align-items: center; gap: 10px;
	padding: 11px 13px;
	border: 1px solid #1b2126; border-radius: 12px;
	background: #0b0f13; color: #9b9ea6;
	cursor: pointer; text-align: left;
	font: inherit;
	transition: border-color .3s ease, background .3s ease, color .3s ease;
}
.qmu-track:hover { border-color: #2e3841; background: #0f141a; color: #d7dbe0; }
.qmu-track:focus-visible { outline: 2px solid #d1fe17; outline-offset: 2px; }
.qmu-track.on {
	border-color: rgba(209,254,23,.55);
	background: linear-gradient(90deg, rgba(209,254,23,.1), rgba(209,254,23,.02));
	color: #f7f7f8;
}
.qmu-tnum {
	flex: none; width: 18px;
	font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #4d555d;
	font-variant-numeric: tabular-nums;
}
.qmu-track.on .qmu-tnum { color: #d1fe17; }
.qmu-tname {
	flex: 1; min-width: 0;
	font-size: 12.5px; font-weight: 600; letter-spacing: -.005em;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qmu-tdur { flex: none; font-size: 11px; color: #5d666e; font-variant-numeric: tabular-nums; }
.qmu-track.on .qmu-tdur { color: #8fa06a; }

/* the four-bar meter that only runs on the playing track */
.qmu-teq { flex: none; display: none; align-items: flex-end; gap: 2px; height: 12px; }
.qmu.playing .qmu-track.on .qmu-teq { display: flex; }
.qmu-teq i { width: 2px; height: 4px; background: #d1fe17; border-radius: 1px; animation: qmu-bar .8s ease-in-out infinite; }
.qmu-teq i:nth-child(2) { animation-delay: .16s; }
.qmu-teq i:nth-child(3) { animation-delay: .32s; }
@keyframes qmu-bar { 0%, 100% { height: 3px; } 50% { height: 11px; } }

/* ---------------- responsive ---------------- */
@media (max-width: 860px) {
	.qmu { padding: 20px 18px 18px; }
	.qmu-head { margin-bottom: 16px; }
	.qmu-hint { display: none; }
	.qmu-deck { gap: 14px; }
	.qmu-play { width: 54px; height: 54px; }
	.qmu-play svg { width: 20px; height: 20px; }
	.qmu-wave { height: 62px; gap: 1.5px; }
	.qmu-tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 460px) {
	.qmu-tracks { grid-template-columns: 1fr; }
	.qmu-wave { height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
	.qmu:not(.playing) .qmu-wave i { animation: none; }
	.qmu-badge.on i, .qmu-teq i { animation: none; }
	.qmu-wave i { transition: none; }
}

/* ---- avatar equaliser: composite it, do not lay it out ------------------
   `@keyframes qav-bar` animated `height` (3px -> 9px) on `.qav-eq i`. There
   are 96 equalisers x 5 bars = 480 of them on the landing page, animating
   infinitely at 60fps. `height` is a LAYOUT property, so every frame forced
   the browser to recompute layout for 480 elements.

   PageSpeed, 2026-08-25 desktop: Performance 34, Total Blocking Time 810ms,
   "Minimize main-thread work 3.9s", "Avoid non-composited animations - 531
   animated elements found". This rule was the largest single contributor.

   Same motion, expressed as `transform: scaleY()`, which the compositor runs
   on the GPU with no layout or paint. 3px/9px = 0.3333, so the ratio is
   identical. The bar box is pinned at the animation's max height (9px);
   scaleY does the rest, anchored to the bottom because `.qav-eq` is
   `align-items: flex-end`.

   Verified live before shipping: container height 15px before AND after,
   animation still running, computed transform matrix(1,0,0,0.3333,0,0).
   `.qav-eq` is position:absolute with a fixed 15px height, so nothing in the
   page layout can move as a result.

   No `will-change` on purpose: promoting 480 elements to their own
   compositor layers trades a layout problem for a memory one. Transform
   animations are auto-promoted while they run. */
.qav-eq i { height: 9px; transform-origin: bottom; }
@keyframes qav-bar { 0%, 100% { transform: scaleY(.3333); } 50% { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  .qav-eq i { animation: none; transform: scaleY(.6); }
}
