/**
 * Jedi-Robe storefront homepage prototype.
 *
 * Provides the PHP-first homepage layout used to validate the redesigned
 * storefront before rebuilding the approved composition in Elementor.
 * The visual language follows the established Jedi-Robe dark-commerce system:
 * dark technical surfaces, restrained green diagnostics, cool blue depth and
 * gold reserved for the primary commercial action.
 *
 * Responsive layout:
 * - Desktop: full-bleed campaign hero with integrated diagnostic costume stage.
 * - Tablet <= 992px: stacked hero and two-column supporting grids.
 * - Mobile <= 767px: compact single-column reading flow.
 *
 * @package    Jedi_Theme
 * @subpackage Front_Page
 * @since      1.4.0
 */


/* ==========================================================================
   Homepage tokens / shell
   ========================================================================== */

body.jr-dark-commerce .jr-home {
	--jr-home-gold: #e2a447;
	--jr-home-gold-light: #f4c66b;
	--jr-home-panel: rgba(7, 13, 21, 0.78);
	--jr-home-panel-strong: rgba(5, 10, 16, 0.95);
	--jr-home-line: rgba(152, 169, 192, 0.18);
	--jr-home-line-strong: rgba(152, 169, 192, 0.3);

	position: relative;
	isolation: isolate;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.jr-dark-commerce .jr-home-shell {
	width: min(
		calc(100% - (var(--jr-page-gutter, clamp(1rem, 3vw, 2.5rem)) * 2)),
		100rem
	);
	margin-inline: auto;
}


/* ==========================================================================
   Shared homepage section heading
   ========================================================================== */

body.jr-dark-commerce .jr-home-section {
	position: relative;
	width: 100%;
	padding-block: clamp(4rem, 4.8vw, 5.25rem);
	border-top: 1px solid rgba(69, 217, 107, 0.08);
}

body.jr-dark-commerce .jr-home-section__header {
	max-width: 52rem;
	margin: 0 0 clamp(1.8rem, 2.5vw, 2.6rem);
}

body.jr-dark-commerce .jr-home-section__header--compact {
	max-width: 64rem;
}

body.jr-dark-commerce .jr-home-section__header--split {
	display: flex;
	max-width: none;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
}

body.jr-dark-commerce .jr-home-section__header h2,
body.jr-dark-commerce .jr-home-store h2 {
	margin: 0;
	color: var(--jr-text);
	font-size: clamp(2rem, 3.4vw, 3.65rem);
	font-weight: 780;
	letter-spacing: -0.035em;
	line-height: 1;
	text-wrap: balance;
}

body.jr-dark-commerce .jr-home-section__header > p:last-child,
body.jr-dark-commerce .jr-home-section__header > div > p:last-child,
body.jr-dark-commerce .jr-home-store p {
	max-width: 48rem;
	margin: 1rem 0 0;
	color: var(--jr-text-muted);
	font-size: clamp(0.98rem, 0.95rem + 0.12vw, 1.08rem);
	line-height: 1.7;
}

body.jr-dark-commerce .jr-home-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.1rem;
	color: var(--jr-green-light);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	line-height: 1.25;
	text-transform: uppercase;
}

body.jr-dark-commerce .jr-home-eyebrow::before {
	width: 1.8rem;
	height: 1px;
	flex: 0 0 1.8rem;
	background: linear-gradient(90deg, var(--jr-green-light), transparent);
	content: "";
}

body.jr-dark-commerce .jr-home-eyebrow span::after {
	margin-left: 0.65rem;
	color: rgba(152, 169, 192, 0.55);
	content: "/";
}

body.jr-dark-commerce .jr-home-text-link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.65rem;
	padding-bottom: 0.2rem;
	border-bottom: 1px solid rgba(69, 217, 107, 0.45);
	color: var(--jr-text);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.075em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color 180ms ease, color 180ms ease;
}


/* ==========================================================================
   Homepage hero banner
   ========================================================================== */

/**
 * Jedi-Robe live campaign hero.
 *
 * Keeps the campaign side deliberately simple while the visual side behaves as
 * an open diagnostic chamber rather than a product card. The active costume is
 * layered over the continuously moving biometric figure, which is offset
 * slightly to the right so its green silhouette remains visible behind the
 * costume rather than disappearing directly underneath it. Fine rails,
 * telemetry, datum marks, a passive scan and a synchronized transfer scan keep
 * the stage alive without enclosing it in another large box.
 *
 * @package    Jedi_Theme
 * @subpackage Front_Page
 * @since      1.4.0
 */
body.jr-dark-commerce .jr-home-hero {
	position: relative;
	isolation: isolate;
	overflow: clip;

	width: 100%;
	min-height:
		clamp(
			40rem,
			72svh,
			52rem
		);

	border-bottom: 1px solid rgba(69, 217, 107, 0.14);

	background:
		radial-gradient(
			ellipse at 77% 52%,
			rgba(16, 58, 82, 0.2),
			transparent 31rem
		),
		radial-gradient(
			ellipse at 20% 58%,
			rgba(13, 75, 48, 0.08),
			transparent 29rem
		),
		linear-gradient(
			104deg,
			#010204 0%,
			#020508 48%,
			#030911 100%
		);
}


/* ==========================================================================
   Space field
   ========================================================================== */

body.jr-dark-commerce .jr-home-hero__space {
	position: absolute;
	inset: -4rem;
	z-index: 0;

	background-image:
		radial-gradient(circle, rgba(241, 246, 250, 0.46) 0 1px, transparent 1.2px),
		radial-gradient(circle, rgba(111, 203, 255, 0.23) 0 1px, transparent 1.15px),
		radial-gradient(circle, rgba(69, 217, 107, 0.15) 0 1px, transparent 1.1px);
	background-position:
		17px 29px,
		91px 133px,
		146px 61px;
	background-size:
		183px 183px,
		257px 257px,
		331px 331px;

	opacity: 0.36;

	animation:
		jr-home-space-drift
		90s
		linear
		infinite;

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;

	height: 10rem;

	background:
		linear-gradient(
			180deg,
			transparent,
			rgba(1, 3, 5, 0.74)
		);

	content: "";

	pointer-events: none;
}


/* ==========================================================================
   Hero layout
   ========================================================================== */

body.jr-dark-commerce .jr-home-hero__inner {
	position: relative;
	z-index: 2;

	display: grid;

	width:
		min(
			calc(
				100%
				-
				(
					var(--jr-page-gutter, clamp(1rem, 3vw, 2.5rem))
					*
					2
				)
			),
			112rem
		);
	min-height: inherit;

	grid-template-columns:
		minmax(0, 0.88fr)
		minmax(31rem, 1.12fr);

	align-items: stretch;
	gap:
		clamp(
			1.5rem,
			3vw,
			4rem
		);

	margin-inline: auto;
	padding-block:
		clamp(
			2.25rem,
			4.5vh,
			4rem
		);
}


/* ==========================================================================
   Campaign heading and actions
   ========================================================================== */

body.jr-dark-commerce .jr-home-hero__content {
	position: relative;
	z-index: 5;

	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: start;

	padding-block: 1rem;
}

body.jr-dark-commerce .jr-home-hero__title {
	max-width: 7.5ch;

	margin: 0;

	color: #f7f9fb;

	font-size:
		clamp(
			5.8rem,
			8.1vw,
			10.2rem
		);
	font-weight: 860;
	letter-spacing: -0.078em;
	line-height: 0.77;

	text-transform: uppercase;
	text-wrap: balance;

	text-shadow:
		0 1.5rem 4rem rgba(0, 0, 0, 0.36),
		0 0 3rem rgba(255, 255, 255, 0.022);
}

body.jr-dark-commerce .jr-home-hero__title span {
	display: block;
}

body.jr-dark-commerce .jr-home-hero__title span:last-child {
	margin-top: 0.08em;
}

body.jr-dark-commerce .jr-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;

	margin-top:
		clamp(
			2rem,
			4vh,
			3rem
		);
}

body.jr-dark-commerce .jr-home-hero__button {
	position: relative;

	display: inline-flex;
	min-height: 3.75rem;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;

	padding: 1rem 1.35rem;

	border: 1px solid rgba(152, 169, 192, 0.34);
	border-radius: 0;

	color: var(--jr-text);

	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.075em;
	line-height: 1.2;

	text-decoration: none;
	text-transform: uppercase;

	box-shadow:
		0 0.8rem 2rem rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.035);

	transition:
		border-color 180ms ease,
		background 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

body.jr-dark-commerce .jr-home-hero__button::after {
	position: absolute;
	right: 0.35rem;
	bottom: 0.3rem;

	width: 0.45rem;
	height: 0.45rem;

	border-right: 1px solid currentcolor;
	border-bottom: 1px solid currentcolor;

	content: "";

	opacity: 0.6;
}

body.jr-dark-commerce .jr-home-hero__button--primary {
	border-color: rgba(244, 198, 107, 0.82);

	background:
		linear-gradient(
			180deg,
			#f1bd5d,
			#dfa03d
		);

	color: #05070a;

	box-shadow:
		0 1rem 2.25rem rgba(0, 0, 0, 0.24),
		0 0 1.5rem rgba(226, 164, 71, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.jr-dark-commerce .jr-home-hero__button--secondary {
	background: rgba(5, 11, 17, 0.74);
}


/* ==========================================================================
   Open diagnostic costume chamber
   ========================================================================== */

body.jr-dark-commerce .jr-home-costume-stage {
	--jr-home-passive-scan-duration: 1700ms;
	--jr-home-scan-duration: 1700ms;
	--jr-home-passive-passes: 2;
	--jr-home-scan-start: 4%;
	--jr-home-scan-end: 94%;

	position: relative;
	isolation: isolate;
	overflow: hidden;

	min-width: 0;
	min-height:
		clamp(
			35rem,
			63vh,
			46rem
		);

	/* background:
		linear-gradient(
			90deg,
			transparent 0%,
			rgba(5, 15, 23, 0.06) 24%,
			rgba(7, 20, 31, 0.16) 52%,
			rgba(6, 17, 27, 0.1) 79%,
			transparent 100%
		); */
}

/**
 * Soft chamber light behind the figure. This is deliberately not a ring or
 * framed panel; it only gives the costume enough separation from space black.
 */
body.jr-dark-commerce .jr-home-costume-stage::before {
	position: absolute;
	top: 5%;
	right: 15%;
	bottom: 8%;
	left: 15%;
	z-index: 0;

	background:
		linear-gradient(
			180deg,
			rgba(111, 203, 255, 0.035),
			transparent 22%,
			rgba(69, 217, 107, 0.025) 68%,
			transparent 100%
		);

	content: "";

	filter: blur(1.1rem);

	pointer-events: none;
}


/* ==========================================================================
   Diagnostic grid / datum system
   ========================================================================== */

body.jr-dark-commerce .jr-home-costume-stage__grid {
	position: absolute;
	inset: 7% 5% 11%;
	z-index: 0;

	background:
		linear-gradient(
			rgba(111, 203, 255, 0.025) 1px,
			transparent 1px
		),
		linear-gradient(
			90deg,
			rgba(111, 203, 255, 0.022) 1px,
			transparent 1px
		);
	background-size: 3rem 3rem;

	opacity: 0.6;

	mask-image:
		linear-gradient(
			90deg,
			transparent,
			#000 13%,
			#000 87%,
			transparent
		);

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__datum {
	position: absolute;
	top: 7%;
	bottom: 12%;
	left: 50%;
	z-index: 1;

	width: 1px;

	background:
		linear-gradient(
			180deg,
			transparent,
			rgba(111, 203, 255, 0.14) 15%,
			rgba(69, 217, 107, 0.2) 50%,
			rgba(111, 203, 255, 0.12) 84%,
			transparent
		);

	opacity: 0.64;

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__rail {
	position: absolute;
	top: 15%;
	bottom: 17%;
	z-index: 2;

	width: 2.4rem;

	background:
		repeating-linear-gradient(
			180deg,
			rgba(111, 203, 255, 0.22) 0 1px,
			transparent 1px 1.15rem
		);

	opacity: 0.36;

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__rail--left {
	left: 4%;

	border-left: 1px solid rgba(111, 203, 255, 0.12);
}

body.jr-dark-commerce .jr-home-costume-stage__rail--right {
	right: 4%;

	border-right: 1px solid rgba(69, 217, 107, 0.12);
}

body.jr-dark-commerce .jr-home-costume-stage__telemetry {
	position: absolute;
	z-index: 2;

	display: flex;
	flex-direction: column;
	gap: 0.45rem;

	color: rgba(111, 203, 255, 0.28);

	font-family: "JetBrains Mono", monospace;
	font-size: 0.55rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.15;

	text-transform: uppercase;

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__telemetry--left {
	top: 22%;
	left: 8%;
}

body.jr-dark-commerce .jr-home-costume-stage__telemetry--right {
	top: 16%;
	right: 8%;

	align-items: flex-end;
	color: rgba(69, 217, 107, 0.28);

	text-align: right;
}


/* ==========================================================================
   Live biometric body
   ========================================================================== */

body.jr-dark-commerce .jr-home-costume-stage__diagnostic {
	position: absolute;
	top: 4%;
	bottom: 12%;
	left: 54%;
	z-index: 2;

	width: 68%;

	opacity: 0.21;

	transform:
		translateX(-50%)
		translateY(0)
		scale(1.07);
	transform-origin: 50% 100%;

	animation:
		jr-home-diagnostic-float
		5.5s
		ease-in-out
		infinite,
		jr-home-diagnostic-pulse
		2.2s
		ease-in-out
		infinite;

	pointer-events: none;

	will-change: transform, opacity, filter;
}

body.jr-dark-commerce .jr-home-costume-stage__diagnostic::before {
	position: absolute;
	inset: 0;
	z-index: 2;

	background:
		repeating-linear-gradient(
			180deg,
			rgba(69, 217, 107, 0.09) 0 1px,
			transparent 1px 4px
		);

	content: "";

	opacity: 0.6;

	mask-image:
		linear-gradient(
			90deg,
			transparent 14%,
			#000 29%,
			#000 71%,
			transparent 86%
		);

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__diagnostic::after {
	position: absolute;
	top: 0;
	right: 14%;
	left: 14%;
	z-index: 3;

	height: 13%;

	background:
		linear-gradient(
			180deg,
			transparent,
			rgba(69, 217, 107, 0.12),
			rgba(111, 203, 255, 0.06),
			transparent
		);

	content: "";

	filter: blur(0.3rem);

	animation:
		jr-home-body-scan
		4.1s
		linear
		infinite;

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__diagnostic img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: contain;
	object-position: 50% 100%;

	filter:
		brightness(0.94)
		contrast(1.1)
		drop-shadow(0 0 1.25rem rgba(69, 217, 107, 0.25));
}


/* ==========================================================================
   Costume viewport / figure
   ========================================================================== */

body.jr-dark-commerce .jr-home-costume-stage__viewport {
	position: absolute;
	inset: 3% 4% 5.4rem;
	z-index: 4;

	overflow: hidden;
}

body.jr-dark-commerce .jr-home-costume-stage__scan-field {
	position: absolute;
	top: 4%;
	right: 17%;
	bottom: 3%;
	left: 17%;
	z-index: 0;

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__scan-field::before,
body.jr-dark-commerce .jr-home-costume-stage__scan-field::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__scan-field::before {
	left: 12%;
	right: 12%;

	background:
		linear-gradient(
			180deg,
			rgba(111, 203, 255, 0.02),
			rgba(111, 203, 255, 0.08) 16%,
			rgba(69, 217, 107, 0.06) 48%,
			rgba(111, 203, 255, 0.045) 76%,
			transparent
		);

	opacity: 0.18;
	filter: blur(0.55rem);
}

body.jr-dark-commerce .jr-home-costume-stage__scan-field::after {
	inset: 8% 9% 15%;

	background:
		linear-gradient(rgba(111, 203, 255, 0.22), rgba(111, 203, 255, 0.22)) left top / 1px 100% no-repeat,
		linear-gradient(rgba(69, 217, 107, 0.22), rgba(69, 217, 107, 0.22)) right top / 1px 100% no-repeat,
		linear-gradient(90deg, rgba(111, 203, 255, 0.75), transparent 42%) left top / 3.75rem 1px no-repeat,
		linear-gradient(90deg, rgba(111, 203, 255, 0.75), transparent 42%) left bottom / 3.75rem 1px no-repeat,
		linear-gradient(270deg, rgba(69, 217, 107, 0.8), transparent 42%) right top / 3.75rem 1px no-repeat,
		linear-gradient(270deg, rgba(69, 217, 107, 0.8), transparent 42%) right bottom / 3.75rem 1px no-repeat;

	opacity: 0.28;
}

/**
 * Give the costume itself a restrained holographic texture.
 *
 * The mask introduces extremely light horizontal signal bands while the cool
 * drop shadow separates the transparent artwork from the dark chamber. The
 * effect is intentionally subtle so the costume still reads as a real product
 * rather than a bright neon projection.
 *
 * @package Jedi_Theme
 */
body.jr-dark-commerce .jr-home-costume-stage__figure {
	position: absolute;
	top: 2%;
	bottom: 0;
	left: 50%;
	z-index: 5;

	display: block;

	width: 76%;
	height: 96%;

	margin: 0;

	object-fit: contain;
	object-position: 50% 100%;

	-webkit-mask-image:
		repeating-linear-gradient(
			180deg,
			#000 0 3px,
			rgba(0, 0, 0, 0.94) 3px 4px
		);
	mask-image:
		repeating-linear-gradient(
			180deg,
			#000 0 3px,
			rgba(0, 0, 0, 0.94) 3px 4px
		);

	filter:
		brightness(0.97)
		contrast(1.035)
		saturate(0.92)
		drop-shadow(0 1.8rem 1.8rem rgba(0, 0, 0, 0.58))
		drop-shadow(0 0 0.42rem rgba(111, 203, 255, 0.1));

	transform:
		translateX(-50%)
		translateY(0)
		scale(1);
	transform-origin: 50% 100%;

	will-change: transform, opacity, clip-path;
}

body.jr-dark-commerce .jr-home-costume-stage__figure--current {
	clip-path: inset(0 0 0 0);
	opacity: 0.985;

	animation:
		jr-home-costume-idle
		5.8s
		ease-in-out
		infinite,
		jr-home-costume-hologram-signal
		6.4s
		linear
		infinite;
}

body.jr-dark-commerce .jr-home-costume-stage__figure--next {
	clip-path: inset(0 0 100% 0);
	opacity: 1;
}


/* ==========================================================================
   Passive scanner / costume transfer scanner
   ========================================================================== */

body.jr-dark-commerce .jr-home-costume-stage__passive-scan,
body.jr-dark-commerce .jr-home-costume-stage__transition-scan {
	position: absolute;
	top: 4%;
	right: 11%;
	left: 11%;
	z-index: 9;

	height: 1px;

	background:
		linear-gradient(
			90deg,
			transparent,
			rgba(69, 217, 107, 0.16) 16%,
			rgba(69, 217, 107, 0.72) 50%,
			rgba(111, 203, 255, 0.24) 83%,
			transparent
		);

	box-shadow:
		0 0 0.65rem rgba(69, 217, 107, 0.24);

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__passive-scan {
	opacity: 0;
	visibility: hidden;
	animation: none;
}

/**
 * Run exactly two passive sweeps before handing control to the main scanner.
 * The sequence is finite so a third passive scan can never flash at the top.
 *
 * @package Jedi_Theme
 */
body.jr-dark-commerce
	.jr-home-costume-stage.is-passive-scanning
	.jr-home-costume-stage__passive-scan {
	visibility: visible;

	animation-name: jr-home-passive-scan;
	animation-duration: var(--jr-home-passive-scan-duration);
	animation-timing-function: linear;
	animation-iteration-count: var(--jr-home-passive-passes);
	animation-fill-mode: both;
}

body.jr-dark-commerce
	.jr-home-costume-stage.is-autoplay-paused
	.jr-home-costume-stage__passive-scan {
	animation-play-state: paused;
}

/**
 * Main costume-transfer scanner.
 *
 * Keeps the same path and speed as the passive scanner but removes the bright
 * white hotspot and oversized bloom. The transfer is stronger than a passive
 * sweep through colour and a short trailing field rather than raw brightness.
 *
 * @package Jedi_Theme
 */
body.jr-dark-commerce .jr-home-costume-stage__transition-scan {
	z-index: 12;

	height: 1px;

	opacity: 0;
	visibility: hidden;

	background:
		linear-gradient(
			90deg,
			transparent 0%,
			rgba(111, 203, 255, 0.12) 10%,
			rgba(111, 203, 255, 0.5) 34%,
			rgba(69, 217, 107, 0.62) 52%,
			rgba(111, 203, 255, 0.38) 72%,
			rgba(69, 217, 107, 0.12) 90%,
			transparent 100%
		);

	box-shadow:
		0 0 0.34rem rgba(69, 217, 107, 0.24),
		0 0 0.8rem rgba(111, 203, 255, 0.1);
}

body.jr-dark-commerce .jr-home-costume-stage__transition-scan::before {
	position: absolute;
	top: 0.2rem;
	right: 4%;
	left: 4%;

	height: 3.4rem;

	background:
		linear-gradient(
			180deg,
			rgba(248, 255, 255, 0.2),
			rgba(111, 203, 255, 0.16) 18%,
			rgba(69, 217, 107, 0.08) 46%,
			transparent 100%
		);

	content: "";

	filter: blur(0.4rem);

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__transition-scan::after {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    width: 36%;
    height: 1.8rem;
    content: "";
    background: radial-gradient(circle at center, rgba(248, 255, 255, 0.85), rgba(111, 203, 255, 0.28) 38%, transparent 75%);
    transform: translateX(-50%);
    filter: blur(0.18rem);
    pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__transition-scan span {
	position: absolute;
	right: 2%;
	bottom: 0.55rem;

	color: rgba(69, 217, 107, 0.88);

	font-family: "JetBrains Mono", monospace;
	font-size: 0.54rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1;

	text-transform: uppercase;
	white-space: nowrap;
}

body.jr-dark-commerce
	.jr-home-costume-stage.is-scanning
	.jr-home-costume-stage__passive-scan {
	display: none;
	opacity: 0;
	visibility: hidden;
	animation: none;
}

body.jr-dark-commerce
	.jr-home-costume-stage.is-scanning
	.jr-home-costume-stage__scan-field::before {
	animation:
		jr-home-scan-column-pulse
		var(--jr-home-scan-duration)
		linear
		both;
}

body.jr-dark-commerce
	.jr-home-costume-stage.is-scanning
	.jr-home-costume-stage__scan-field::after {
	animation:
		jr-home-scan-frame-flicker
		var(--jr-home-scan-duration)
		linear
		both;
}

body.jr-dark-commerce
	.jr-home-costume-stage.is-scanning
	.jr-home-costume-stage__figure--current {
	animation:
		jr-home-costume-scan-out
		var(--jr-home-scan-duration)
		linear
		both;

	filter:
		brightness(0.96)
		contrast(1.03)
		saturate(0.9)
		drop-shadow(0 1.4rem 1.6rem rgba(0, 0, 0, 0.52))
		drop-shadow(0 0 0.35rem rgba(111, 203, 255, 0.08));
}

body.jr-dark-commerce
	.jr-home-costume-stage.is-scanning
	.jr-home-costume-stage__figure--next {
	animation:
		jr-home-costume-scan-in
		var(--jr-home-scan-duration)
		linear
		both;

	filter:
		brightness(0.99)
		contrast(1.035)
		saturate(0.92)
		drop-shadow(0 1.8rem 2rem rgba(0, 0, 0, 0.6))
		drop-shadow(0 0 0.48rem rgba(111, 203, 255, 0.1));
}

body.jr-dark-commerce
	.jr-home-costume-stage.is-scanning
	.jr-home-costume-stage__transition-scan {
	opacity: 1;
	visibility: visible;

	animation:
		jr-home-transition-scan
		var(--jr-home-scan-duration)
		linear
		both,
		jr-home-transition-line-flicker
		220ms
		steps(2, end)
		infinite;
}


/* ==========================================================================
   Floor / minimal live readout
   ========================================================================== */

body.jr-dark-commerce .jr-home-costume-stage__floor {
	position: absolute;
	right: 14%;
	bottom: 10.5%;
	left: 14%;
	z-index: 3;

	height: 4.75rem;

	background:
		linear-gradient(
			180deg,
			rgba(69, 217, 107, 0.05),
			transparent 72%
		),
		repeating-linear-gradient(
			90deg,
			transparent 0 3rem,
			rgba(111, 203, 255, 0.06) 3rem calc(3rem + 1px)
		);

	border-top: 1px solid rgba(69, 217, 107, 0.24);

	clip-path:
		polygon(
			7% 0,
			93% 0,
			100% 100%,
			0 100%
		);

	opacity: 0.7;

	transform:
		perspective(18rem)
		rotateX(62deg);
	transform-origin: 50% 0;

	pointer-events: none;
}

body.jr-dark-commerce .jr-home-costume-stage__status {
	position: absolute;
	bottom: 1rem;
	left: 8%;
	z-index: 14;

	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.55rem;

	max-width: 70%;

	color: rgba(207, 219, 229, 0.56);

	font-family: "JetBrains Mono", monospace;
	font-size: 0.58rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1;

	text-transform: uppercase;
}

body.jr-dark-commerce .jr-home-costume-stage__status strong {
	overflow: hidden;

	color: rgba(245, 247, 250, 0.9);

	font-family: inherit;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.065em;

	text-overflow: ellipsis;
	white-space: nowrap;
}

body.jr-dark-commerce .jr-home-costume-stage__state {
	color: rgba(69, 217, 107, 0.78);
}

body.jr-dark-commerce .jr-home-costume-stage__live-dot {
	width: 0.38rem;
	height: 0.38rem;

	flex: 0 0 0.38rem;

	border-radius: 50%;

	background: var(--jr-green-light);

	box-shadow:
		0 0 0.45rem rgba(69, 217, 107, 0.7),
		0 0 0.9rem rgba(69, 217, 107, 0.3);

	animation:
		jr-home-live-pulse
		2s
		ease-in-out
		infinite;
}

body.jr-dark-commerce .jr-home-costume-stage__indicators {
	position: absolute;
	right: 8%;
	bottom: 1rem;
	z-index: 14;

	display: flex;
	align-items: center;
	gap: 0.45rem;
}

body.jr-dark-commerce .jr-home-costume-stage__indicator {
	position: relative;

	display: block;

	width: 2.25rem;
	height: 1rem;

	margin: 0;
	padding: 0;

	border: 0;
	border-radius: 0;

	background: transparent;

	cursor: pointer;
}

body.jr-dark-commerce .jr-home-costume-stage__indicator::before {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;

	height: 1px;

	background: rgba(152, 169, 192, 0.3);

	content: "";

	transform: translateY(-50%);

	transition:
		background 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

body.jr-dark-commerce .jr-home-costume-stage__indicator.is-active::before {
	background: var(--jr-green-light);

	box-shadow:
		0 0 0.6rem rgba(69, 217, 107, 0.38);

	transform:
		translateY(-50%)
		scaleY(2);
}

body.jr-dark-commerce
	.jr-home-costume-stage.is-scanning
	.jr-home-costume-stage__state {
	color: rgba(111, 203, 255, 0.82);
}

body.jr-dark-commerce
	.jr-home-costume-stage.is-scanning
	.jr-home-costume-stage__state::before {
	content: "SYNC // ";
}


/* ==========================================================================
   Hero interactions
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {

	body.jr-dark-commerce .jr-home-hero__button:hover {
		transform: translateY(-2px);
	}

	body.jr-dark-commerce .jr-home-hero__button--secondary:hover {
		border-color: rgba(69, 217, 107, 0.46);
		background: rgba(8, 17, 25, 0.86);
	}

	body.jr-dark-commerce
		.jr-home-costume-stage__indicator:hover::before {
		background: rgba(245, 247, 250, 0.56);
	}
}

body.jr-dark-commerce .jr-home-hero a:focus-visible,
body.jr-dark-commerce
	.jr-home-costume-stage__indicator:focus-visible {
	outline: 2px solid var(--jr-green-light);
	outline-offset: 3px;
}


/* ==========================================================================
   Hero responsive layout
   ========================================================================== */

@media (max-width: 1180px) {

	body.jr-dark-commerce .jr-home-hero__inner {
		grid-template-columns:
			minmax(0, 0.94fr)
			minmax(28rem, 1.06fr);

		gap: 1.5rem;
	}

	body.jr-dark-commerce .jr-home-hero__title {
		font-size:
			clamp(
				5rem,
				7.7vw,
				7.5rem
			);
	}

	body.jr-dark-commerce .jr-home-costume-stage__telemetry--left {
		left: 5%;
	}

	body.jr-dark-commerce .jr-home-costume-stage__telemetry--right {
		right: 5%;
	}
}

@media (max-width: 992px) {

	body.jr-dark-commerce .jr-home-hero {
		min-height: 0;
	}

	body.jr-dark-commerce .jr-home-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.75rem;

		padding-block: 3rem 2.25rem;
	}

	body.jr-dark-commerce .jr-home-hero__content {
		padding: 0;
	}

	body.jr-dark-commerce .jr-home-hero__title {
		max-width: 8ch;

		font-size:
			clamp(
				4.8rem,
				12vw,
				7.2rem
			);
	}

	body.jr-dark-commerce .jr-home-costume-stage {
		min-height:
			clamp(
				34rem,
				70vw,
				43rem
			);
	}

	body.jr-dark-commerce .jr-home-costume-stage__diagnostic {
		width: 54%;
	}

	body.jr-dark-commerce .jr-home-costume-stage__figure {
		width: 66%;
	}
}

@media (max-width: 767px) {

	body.jr-dark-commerce .jr-home-hero__inner {
		padding-block: 2.35rem 1.75rem;
	}

	body.jr-dark-commerce .jr-home-hero__title {
		font-size:
			clamp(
				3.8rem,
				18vw,
				6rem
			);
		line-height: 0.8;
	}

	body.jr-dark-commerce .jr-home-hero__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.65rem;

		margin-top: 1.6rem;
	}

	body.jr-dark-commerce .jr-home-hero__button {
		width: 100%;
		min-height: 3.4rem;
	}

	body.jr-dark-commerce .jr-home-costume-stage {
		min-height:
			clamp(
				29rem,
				127vw,
				37rem
			);
	}

	body.jr-dark-commerce .jr-home-costume-stage__rail {
		display: none;
	}

	body.jr-dark-commerce .jr-home-costume-stage__telemetry {
		font-size: 0.48rem;
	}

	body.jr-dark-commerce .jr-home-costume-stage__telemetry--left {
		top: 18%;
		left: 2%;
	}

	body.jr-dark-commerce .jr-home-costume-stage__telemetry--right {
		top: 13%;
		right: 2%;
	}

	body.jr-dark-commerce .jr-home-costume-stage__diagnostic {
		top: 7%;
		bottom: 13%;
		width: 80%;
	}

	body.jr-dark-commerce .jr-home-costume-stage__viewport {
		inset: 4% 0 5rem;
	}

	body.jr-dark-commerce .jr-home-costume-stage__figure {
		width: 92%;
		height: 94%;
	}

	body.jr-dark-commerce .jr-home-costume-stage__status {
		left: 2%;
		max-width: 66%;
	}

	body.jr-dark-commerce .jr-home-costume-stage__indicators {
		right: 2%;
		gap: 0.35rem;
	}

	body.jr-dark-commerce .jr-home-costume-stage__indicator {
		width: 1.55rem;
	}
}


/* ==========================================================================
   Hero motion
   ========================================================================== */

@keyframes jr-home-space-drift {
	0% {
		transform: translate3d(0, 0, 0);
	}

	100% {
		transform: translate3d(-4rem, 2.5rem, 0);
	}
}

@keyframes jr-home-diagnostic-float {
	0%,
	100% {
		transform:
			translateX(-50%)
			translateY(0)
			scale(1.07);
	}

	50% {
		transform:
			translateX(-50%)
			translateY(-0.5rem)
			scale(1.082);
	}
}

@keyframes jr-home-diagnostic-pulse {
	0%,
	100% {
		opacity: 0.17;
		filter: brightness(0.92);
	}

	50% {
		opacity: 0.29;
		filter: brightness(1.16);
	}
}

@keyframes jr-home-body-scan {
	0% {
		transform: translateY(-75%);
		opacity: 0;
	}

	9% {
		opacity: 0.8;
	}

	86% {
		opacity: 0.55;
	}

	100% {
		transform: translateY(680%);
		opacity: 0;
	}
}

@keyframes jr-home-costume-idle {
	0%,
	100% {
		transform:
			translateX(-50%)
			translateY(0)
			scale(1);
	}

	50% {
		transform:
			translateX(-50%)
			translateY(-0.42rem)
			scale(1.008);
	}
}

@keyframes jr-home-live-pulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.45);
		opacity: 0.58;
	}
}

@keyframes jr-home-passive-scan {
	0% {
		top: var(--jr-home-scan-start);
		opacity: 0;
	}

	8% {
		opacity: 0.3;
	}

	88% {
		opacity: 0.18;
	}

	100% {
		top: var(--jr-home-scan-end);
		opacity: 0;
	}
}

@keyframes jr-home-transition-scan {
	0% {
		top: var(--jr-home-scan-start);
		opacity: 0;
	}

	8% {
		opacity: 1;
	}

	88% {
		opacity: 0.96;
	}

	100% {
		top: var(--jr-home-scan-end);
		opacity: 0;
	}
}

/**
 * Small signal variation on the transfer beam.
 *
 * The brightness shift is deliberately tiny; the scanner should read as an
 * electronic signal rather than a camera flash.
 */
@keyframes jr-home-transition-line-flicker {
	0%,
	100% {
		filter: brightness(0.96);
	}

	50% {
		filter: brightness(1.04);
	}
}

/**
 * Subtle hologram instability applied only to the visible costume artwork.
 *
 * Two very short opacity drops across a long cycle create electronic signal
 * behaviour without making the product image flicker continuously.
 */
@keyframes jr-home-costume-hologram-signal {
	0%,
	18%,
	20%,
	58%,
	60%,
	100% {
		opacity: 0.985;
	}

	19% {
		opacity: 0.945;
	}

	59% {
		opacity: 0.965;
	}
}

@keyframes jr-home-scan-column-pulse {
	0% {
		opacity: 0.14;
		transform: scaleX(0.98);
	}

	18% {
		opacity: 0.28;
		transform: scaleX(1);
	}

	60% {
		opacity: 0.24;
		transform: scaleX(1.01);
	}

	100% {
		opacity: 0.15;
		transform: scaleX(0.99);
	}
}

@keyframes jr-home-scan-frame-flicker {
	0%,
	100% {
		opacity: 0.26;
	}

	15% {
		opacity: 0.46;
	}

	22% {
		opacity: 0.31;
	}

	48% {
		opacity: 0.42;
	}

	72% {
		opacity: 0.3;
	}
}

/**
 * The current and next costumes exchange exactly at the scan frontier. Above
 * the scanner the new costume has been revealed; below it the old costume is
 * still visible. This avoids a disconnected image fade followed by a scanner.
 */
@keyframes jr-home-costume-scan-in {
	0% {
		clip-path: inset(0 0 100% 0);
		opacity: 1;
	}

	100% {
		clip-path: inset(0 0 0 0);
		opacity: 1;
	}
}

@keyframes jr-home-costume-scan-out {
	0% {
		clip-path: inset(0 0 0 0);
		opacity: 1;
	}

	100% {
		clip-path: inset(100% 0 0 0);
		opacity: 1;
	}
}


/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

	body.jr-dark-commerce .jr-home-hero__space,
	body.jr-dark-commerce .jr-home-costume-stage__diagnostic,
	body.jr-dark-commerce .jr-home-costume-stage__diagnostic::after,
	body.jr-dark-commerce .jr-home-costume-stage__figure--current,
	body.jr-dark-commerce .jr-home-costume-stage__passive-scan,
	body.jr-dark-commerce .jr-home-costume-stage__transition-scan,
	body.jr-dark-commerce .jr-home-costume-stage__live-dot {
		animation: none;
	}

	body.jr-dark-commerce .jr-home-costume-stage__passive-scan,
	body.jr-dark-commerce .jr-home-costume-stage__transition-scan {
		display: none;
	}
}


/* ==========================================================================
   Primary category rail
   ========================================================================== */

body.jr-dark-commerce .jr-home-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--jr-home-line);
	border-bottom: 1px solid var(--jr-home-line);
}

body.jr-dark-commerce .jr-home-category {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 13.5rem;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.45rem;
	padding: 1.5rem 1.4rem;
	background: linear-gradient(145deg, rgba(111, 203, 255, 0.018), transparent 56%);
	color: var(--jr-text);
	text-decoration: none;
	transition: background 180ms ease, color 180ms ease;
}

body.jr-dark-commerce .jr-home-category + .jr-home-category {
	border-left: 1px solid var(--jr-home-line);
}

body.jr-dark-commerce .jr-home-category::before {
	position: absolute;
	top: -1px;
	left: 1.4rem;
	width: 2.8rem;
	height: 1px;
	background: linear-gradient(90deg, var(--jr-green-light), transparent);
	content: "";
}

body.jr-dark-commerce .jr-home-category__code {
	position: absolute;
	top: 1.4rem;
	left: 1.4rem;
	color: rgba(111, 203, 255, 0.5);
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

body.jr-dark-commerce .jr-home-category strong {
	max-width: 15ch;
	font-size: clamp(1.15rem, 1.1rem + 0.25vw, 1.5rem);
	font-weight: 760;
	letter-spacing: -0.022em;
	line-height: 1.12;
}

body.jr-dark-commerce .jr-home-category > span:not(.jr-home-category__code) {
	max-width: 24ch;
	color: var(--jr-text-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

body.jr-dark-commerce .jr-home-category i {
	position: absolute;
	right: 1.4rem;
	bottom: 1.5rem;
	color: rgba(226, 233, 241, 0.64);
	font-style: normal;
	transition: color 180ms ease, transform 180ms ease;
}


/* ==========================================================================
   WooCommerce bestsellers
   ========================================================================== */

body.jr-dark-commerce .jr-home-products {
	background: linear-gradient(180deg, rgba(111, 203, 255, 0.015), transparent 38%);
}

body.jr-dark-commerce .jr-home-products__grid,
body.jr-dark-commerce .jr-home-products__grid .woocommerce {
	width: 100%;
}

body.jr-dark-commerce .jr-home-products__grid ul.products {
	margin-bottom: 0;
}


/* ==========================================================================
   Hub / path navigation
   ========================================================================== */

body.jr-dark-commerce .jr-home-path-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--jr-home-line);
	border: 1px solid var(--jr-home-line);
}

body.jr-dark-commerce .jr-home-path {
	position: relative;
	display: grid;
	min-width: 0;
	min-height: 9rem;
	grid-template-columns: 2.5rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem;
	background: rgba(5, 10, 16, 0.96);
	color: var(--jr-text);
	text-decoration: none;
	transition: background 180ms ease;
}

body.jr-dark-commerce .jr-home-path__index {
	color: var(--jr-green-light);
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.13em;
}

body.jr-dark-commerce .jr-home-path strong,
body.jr-dark-commerce .jr-home-path span {
	display: block;
}

body.jr-dark-commerce .jr-home-path strong {
	font-size: 1.18rem;
	font-weight: 740;
	line-height: 1.2;
}

body.jr-dark-commerce .jr-home-path div span {
	max-width: 42ch;
	margin-top: 0.38rem;
	color: var(--jr-text-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

body.jr-dark-commerce .jr-home-path i {
	color: rgba(226, 233, 241, 0.58);
	font-style: normal;
	transition: color 180ms ease, transform 180ms ease;
}


/* ==========================================================================
   Trust rail
   ========================================================================== */

body.jr-dark-commerce .jr-home-trust {
	background:
		radial-gradient(circle at 12% 0, rgba(45, 166, 83, 0.055), transparent 26rem),
		radial-gradient(circle at 88% 100%, rgba(111, 203, 255, 0.04), transparent 28rem);
}

body.jr-dark-commerce .jr-home-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--jr-home-line);
	border-bottom: 1px solid var(--jr-home-line);
}

body.jr-dark-commerce .jr-home-trust-item {
	position: relative;
	min-width: 0;
	padding: 1.35rem 1.2rem;
}

body.jr-dark-commerce .jr-home-trust-item + .jr-home-trust-item {
	border-left: 1px solid var(--jr-home-line);
}

body.jr-dark-commerce .jr-home-trust-item strong,
body.jr-dark-commerce .jr-home-trust-item span {
	display: block;
}

body.jr-dark-commerce .jr-home-trust-item strong {
	color: var(--jr-text);
	font-size: 1.2rem;
	font-weight: 820;
	letter-spacing: -0.02em;
}

body.jr-dark-commerce .jr-home-trust-item span {
	margin-top: 0.35rem;
	color: var(--jr-text-muted);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.35;
	text-transform: uppercase;
}


/* ==========================================================================
   Reviews
   ========================================================================== */

body.jr-dark-commerce .jr-home-review-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

body.jr-dark-commerce .jr-home-review-card {
	overflow: hidden;
	min-width: 0;
	border: 1px solid var(--jr-home-line);
	background: var(--jr-home-panel);
}

body.jr-dark-commerce .jr-home-review-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #050a10;
}

body.jr-dark-commerce .jr-home-review-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease, filter 180ms ease;
}

body.jr-dark-commerce .jr-home-review-card__body {
	padding: 1.2rem;
}

body.jr-dark-commerce .jr-home-review-card__stars {
	color: var(--jr-home-gold-light);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
}

body.jr-dark-commerce .jr-home-review-card h3 {
	margin: 0.7rem 0 0;
	font-size: 1.05rem;
	line-height: 1.3;
}

body.jr-dark-commerce .jr-home-review-card h3 a {
	color: var(--jr-text);
	text-decoration: none;
}

body.jr-dark-commerce .jr-home-review-card p {
	margin: 0.65rem 0 0;
	color: var(--jr-text-muted);
	font-size: 0.86rem;
	line-height: 1.6;
}

body.jr-dark-commerce .jr-home-review-empty {
	grid-column: 1 / -1;
	display: block;
	padding: 2rem;
	border: 1px solid var(--jr-home-line);
	color: var(--jr-text);
	text-decoration: none;
}

body.jr-dark-commerce .jr-home-review-empty strong,
body.jr-dark-commerce .jr-home-review-empty span {
	display: block;
}

body.jr-dark-commerce .jr-home-review-empty span {
	margin-top: 0.45rem;
	color: var(--jr-text-muted);
}


/* ==========================================================================
   Help navigation
   ========================================================================== */

body.jr-dark-commerce .jr-home-help-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--jr-home-line);
	border: 1px solid var(--jr-home-line);
}

body.jr-dark-commerce .jr-home-help-grid a {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 9rem;
	flex-direction: column;
	justify-content: center;
	padding: 1.25rem 3rem 1.25rem 1.25rem;
	background: var(--jr-home-panel-strong);
	color: var(--jr-text);
	text-decoration: none;
	transition: background 180ms ease;
}

body.jr-dark-commerce .jr-home-help-grid strong,
body.jr-dark-commerce .jr-home-help-grid span {
	display: block;
}

body.jr-dark-commerce .jr-home-help-grid strong {
	font-size: 1.05rem;
	font-weight: 740;
}

body.jr-dark-commerce .jr-home-help-grid span {
	margin-top: 0.38rem;
	color: var(--jr-text-muted);
	font-size: 0.8rem;
	line-height: 1.45;
}

body.jr-dark-commerce .jr-home-help-grid i {
	position: absolute;
	right: 1.2rem;
	bottom: 1.2rem;
	color: rgba(226, 233, 241, 0.58);
	font-style: normal;
	transition: color 180ms ease, transform 180ms ease;
}


/* ==========================================================================
   London store closing section
   ========================================================================== */

body.jr-dark-commerce .jr-home-store {
	border-bottom: 1px solid rgba(69, 217, 107, 0.14);
	background:
		radial-gradient(circle at 82% 10%, rgba(111, 203, 255, 0.07), transparent 27rem),
		radial-gradient(circle at 12% 82%, rgba(45, 166, 83, 0.075), transparent 25rem),
		rgba(4, 9, 14, 0.72);
}

body.jr-dark-commerce .jr-home-store__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

body.jr-dark-commerce .jr-home-store__action {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.25rem 1rem;
	padding: 1.4rem 3rem 1.4rem 1.4rem;
	border: 1px solid var(--jr-home-line-strong);
	background: rgba(5, 10, 16, 0.88);
	color: var(--jr-text);
	text-decoration: none;
}

body.jr-dark-commerce .jr-home-store__action span,
body.jr-dark-commerce .jr-home-store__action small {
	display: block;
}

body.jr-dark-commerce .jr-home-store__action span {
	font-size: 0.82rem;
	font-weight: 820;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.jr-dark-commerce .jr-home-store__action small {
	grid-column: 1;
	color: var(--jr-text-muted);
	font-size: 0.78rem;
}

body.jr-dark-commerce .jr-home-store__action i {
	position: absolute;
	right: 1.25rem;
	top: 50%;
	font-style: normal;
	transform: translateY(-50%);
}


/* ==========================================================================
   Fine-pointer interaction
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {

	body.jr-dark-commerce .jr-home-store__action:hover {
		border-color: rgba(69, 217, 107, 0.5);
		background: rgba(11, 19, 29, 0.95);
	}

	body.jr-dark-commerce .jr-home-text-link:hover {
		color: var(--jr-green-light);
	}

	body.jr-dark-commerce .jr-home-category:hover,
	body.jr-dark-commerce .jr-home-path:hover,
	body.jr-dark-commerce .jr-home-help-grid a:hover {
		background: rgba(12, 22, 32, 0.96);
	}

	body.jr-dark-commerce .jr-home-category:hover i,
	body.jr-dark-commerce .jr-home-path:hover i,
	body.jr-dark-commerce .jr-home-help-grid a:hover i {
		color: var(--jr-green-light);
		transform: translateX(0.2rem);
	}

	body.jr-dark-commerce
		.jr-home-review-card:hover
		.jr-home-review-card__media
		img {
		filter: brightness(1.035);
		transform: scale(1.018);
	}
}


/* ==========================================================================
   Focus
   ========================================================================== */

body.jr-dark-commerce .jr-home a:focus-visible,
body.jr-dark-commerce .jr-home button:focus-visible {
	outline: 2px solid var(--jr-blue-light);
	outline-offset: 3px;
}


/* ==========================================================================
   Compact desktop
   ========================================================================== */

@media (max-width: 1200px) {

	body.jr-dark-commerce .jr-home-category-grid,
	body.jr-dark-commerce .jr-home-help-grid,
	body.jr-dark-commerce .jr-home-trust-grid {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);
	}

	body.jr-dark-commerce .jr-home-category:nth-child(3),
	body.jr-dark-commerce .jr-home-help-grid a:nth-child(3),
	body.jr-dark-commerce .jr-home-trust-item:nth-child(3) {
		border-left: 0;
	}

	body.jr-dark-commerce .jr-home-category:nth-child(n + 3),
	body.jr-dark-commerce .jr-home-help-grid a:nth-child(n + 3),
	body.jr-dark-commerce .jr-home-trust-item:nth-child(n + 3) {
		border-top: 1px solid var(--jr-home-line);
	}
}


/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 992px) {

	body.jr-dark-commerce .jr-home-path-grid,
	body.jr-dark-commerce .jr-home-review-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	body.jr-dark-commerce .jr-home-store__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	body.jr-dark-commerce .jr-home-store__action {
		max-width: 34rem;
	}
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 767px) {

	body.jr-dark-commerce .jr-home-section {
		padding-block: 3.25rem;
	}

	body.jr-dark-commerce .jr-home-section__header--split {
		align-items: flex-start;
		flex-direction: column;
		gap: 1rem;
	}

	body.jr-dark-commerce .jr-home-eyebrow {
		font-size: 0.64rem;
		letter-spacing: 0.13em;
	}

	body.jr-dark-commerce .jr-home-category {
		min-height: 11.5rem;
		padding: 1.2rem;
	}

	body.jr-dark-commerce .jr-home-category__code {
		top: 1.2rem;
		left: 1.2rem;
	}

	body.jr-dark-commerce .jr-home-category::before {
		left: 1.2rem;
	}

	body.jr-dark-commerce .jr-home-category i {
		right: 1.2rem;
		bottom: 1.2rem;
	}

	body.jr-dark-commerce .jr-home-path {
		min-height: 8rem;
		grid-template-columns: 2rem minmax(0, 1fr) auto;
		gap: 0.85rem;
		padding: 1.15rem;
	}

	body.jr-dark-commerce .jr-home-trust-item {
		padding: 1rem;
	}

	body.jr-dark-commerce .jr-home-help-grid a {
		min-height: 8rem;
	}
}


/* ==========================================================================
   Narrow mobile
   ========================================================================== */

@media (max-width: 520px) {

	body.jr-dark-commerce .jr-home-category-grid,
	body.jr-dark-commerce .jr-home-help-grid,
	body.jr-dark-commerce .jr-home-trust-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	body.jr-dark-commerce .jr-home-category + .jr-home-category,
	body.jr-dark-commerce .jr-home-help-grid a + a,
	body.jr-dark-commerce .jr-home-trust-item + .jr-home-trust-item {
		border-top: 1px solid var(--jr-home-line);
		border-left: 0;
	}
}


/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

	body.jr-dark-commerce .jr-home-category,
	body.jr-dark-commerce .jr-home-category i,
	body.jr-dark-commerce .jr-home-path,
	body.jr-dark-commerce .jr-home-path i,
	body.jr-dark-commerce .jr-home-help-grid a,
	body.jr-dark-commerce .jr-home-help-grid a i,
	body.jr-dark-commerce .jr-home-review-card__media img {
		transition: none;
	}
}
