/* ============================================================================
   EUX Blocks — Service Hero Mockup
   ----------------------------------------------------------------------------
   All mockup-specific styles live here, so they only load when the mockup
   block is on the page. Two sections of CSS (Tyro + WP admin), a frame
   variant per preset, plus an editor placeholder for the Gutenberg canvas.
   ============================================================================ */

/* ==========================================================================
   1. Frame variants — vary by preset
   --------------------------------------------------------------------------
   tyro     → transparent (sits directly on hero gradient)
   wp-admin → white card with halo
   ========================================================================== */
.eux-block .eux-hero__mock-frame {
	position: relative;
	border-radius: var(--eux-r-lg);
}
.eux-block .eux-hero__mock-frame--wp-admin {
	height: clamp(400px, 56vw, 560px);
	background: var(--eux-white);
	border: 1px solid var(--eux-ink-100);
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.6),
		0 0 0 1px rgba(255, 255, 255, 0.06);
	overflow: hidden;
}
.eux-block .eux-hero__mock-frame--wp-admin::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse at top right, rgba(114, 14, 236, 0.04), transparent 60%);
	pointer-events: none;
}
.eux-block .eux-hero__mock-frame--tyro {
	min-height: clamp(420px, 56vw, 580px);
	height: auto;
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	overflow: visible;
}
/* Gutenberg preset frame — light card, halo shadow, overflow VISIBLE so
   the floating chip (top-right, off-card) and the floating inserter menu
   (bottom-left, off-card) can hang outside the card boundary. The actual
   mockup background, padding, border are set by .eux-gbv below; the
   frame is intentionally transparent so the float decorations don't sit
   on a second layer of border. */
.eux-block .eux-hero__mock-frame--gutenberg {
	height: auto;
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	overflow: visible;
}

/* Stack Atlas preset frame — same treatment as gutenberg. The atlas
   panel ships its own white card + halo shadow inside .eux-atlas__panel,
   so the outer frame stays transparent. overflow:visible keeps the LIVE
   indicator's pulsing box-shadow from being clipped at the corner. */
.eux-block .eux-hero__mock-frame--stack-atlas {
	height: auto;
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	overflow: visible;
}

/* ==========================================================================
   2. Tyro EFTPOS terminal mockup
   ========================================================================== */
.eux-block .eux-tyro-hero {
	position: relative;
	padding: 12px 0;
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 22px;
	align-items: start;
	color: transparent;
}
@media (max-width: 720px) {
	.eux-block .eux-tyro-hero {
		grid-template-columns: 1fr;
		gap: 22px; padding: 18px;
	}
}

.eux-block .eux-tyro {
	position: relative;
	width: 180px;
	aspect-ratio: 9 / 19;
	margin: auto;
	perspective: 800px;
}
.eux-block .eux-tyro__body {
	position: absolute; inset: 0;
	background: linear-gradient(160deg, #1f1f23 0%, #0a0a0c 65%, #050507 100%);
	border-radius: 22px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.10),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04),
		0 30px 60px rgba(0, 0, 0, 0.45),
		0 8px 18px rgba(0, 0, 0, 0.35);
	transform: rotate(-6deg);
	overflow: hidden;
}
.eux-block .eux-tyro__top {
	position: absolute; top: 6%; left: 6%; right: 6%; height: 7%;
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 4px; z-index: 5;
}
.eux-block .eux-tyro__brand-img {
	height: 14px; width: 80px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	display: block;
}
.eux-block .eux-tyro__chip {
	width: 22px; height: 14px; border-radius: 2px;
	background: linear-gradient(180deg, #c08e54, #6e4a23);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.eux-block .eux-tyro__nfc {
	width: 12px; height: 12px; border-radius: 50%;
	border: 1.4px solid rgba(255, 255, 255, 0.4);
	position: relative;
}
.eux-block .eux-tyro__nfc::after {
	content: ""; position: absolute; inset: 2px; border-radius: 50%;
	border: 1.2px solid rgba(255, 255, 255, 0.4);
}
.eux-block .eux-tyro__cam {
	position: absolute; left: 50%; top: 14.5%; transform: translateX(-50%);
	width: 6px; height: 6px; border-radius: 50%;
	background: #000;
	box-shadow: inset 0 0 0 1px #2a2a2c;
}
.eux-block .eux-tyro__screen {
	position: absolute; top: 18%; left: 7%; right: 7%; bottom: 6%;
	background: linear-gradient(165deg, #2a2750 0%, #16142d 60%, #0e0c1f 100%);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.eux-block .eux-tyro__screen::before {
	content: ""; position: absolute;
	top: -20%; left: -20%; width: 60%; height: 80%;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 60%);
	transform: rotate(-12deg);
	pointer-events: none; z-index: 4;
}

.eux-block .eux-tyro__state {
	position: absolute; inset: 0;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	padding: 12px 10px;
	color: #ffffff;
	font-family: var(--eux-font-display);
	opacity: 0;
	animation: eux-tyroState 6s ease-in-out infinite;
}
.eux-block .eux-tyro__state.eux-s1 { animation-delay: 0s; }
.eux-block .eux-tyro__state.eux-s2 { animation-delay: 2s; }
.eux-block .eux-tyro__state.eux-s3 { animation-delay: 4s; }
@keyframes eux-tyroState {
	0%, 2%       { opacity: 0; transform: translateY(4px); }
	6%, 32%      { opacity: 1; transform: translateY(0); }
	36%, 100%    { opacity: 0; transform: translateY(-4px); }
}

.eux-block .eux-tyro__lbl {
	font-size: 8px; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 6px;
}
.eux-block .eux-tyro__amt {
	font-family: var(--eux-font-display);
	font-weight: 600; font-size: 22px;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	color: #ffffff;
}
.eux-block .eux-tyro__amt .eux-cur {
	font-size: 11px; vertical-align: top;
	margin-right: 1px; opacity: 0.7;
}
.eux-block .eux-tyro__sub {
	margin-top: 8px;
	font-size: 8.5px;
	color: rgba(255, 255, 255, 0.55);
	letter-spacing: 0.04em;
}
.eux-block .eux-tyro__spin {
	width: 28px; height: 28px; border-radius: 50%;
	border: 2.5px solid rgba(255, 255, 255, 0.15);
	border-top-color: #ffffff;
	animation: eux-tyroSpin 0.9s linear infinite;
	margin-bottom: 10px;
}
@keyframes eux-tyroSpin { to { transform: rotate(360deg); } }
.eux-block .eux-tyro__txt {
	font-size: 10px; font-weight: 500;
	letter-spacing: 0.02em; color: #ffffff;
}
.eux-block .eux-tyro__check {
	width: 30px; height: 30px; border-radius: 50%;
	background: #4ade80;
	display: grid; place-items: center;
	margin-bottom: 10px;
	box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
}
.eux-block .eux-tyro__check svg {
	width: 16px; height: 16px;
	stroke: #062b14; stroke-width: 3; fill: none;
	stroke-linecap: round; stroke-linejoin: round;
}
.eux-block .eux-tyro__pulse {
	position: absolute; right: -14px; top: 38%;
	width: 22px; height: 22px; border-radius: 50%;
	border: 2px solid var(--eux-woo-300);
	opacity: 0;
	animation: eux-tyroPulse 2.4s ease-out infinite;
}
@keyframes eux-tyroPulse {
	0%   { opacity: 0; transform: scale(0.6); }
	20%  { opacity: 0.9; }
	100% { opacity: 0; transform: scale(2.4); }
}

.eux-block .eux-tyro-link {
	position: relative; height: 100%;
	min-height: 200px;
	display: flex; flex-direction: column;
	gap: 10px;
}

.eux-block .eux-tyro-store {
	position: relative;
	background: var(--eux-white);
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	display: flex; flex-direction: column;
}
.eux-block .eux-tyro-store__top {
	display: flex; align-items: center; gap: 6px;
	padding: 8px 10px;
	background: var(--eux-cream-50);
	border-bottom: 1px solid var(--eux-ink-100);
}
.eux-block .eux-tyro-store__top .eux-d {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--eux-ink-200);
}
.eux-block .eux-tyro-store__url {
	margin-left: 8px; flex: 1; max-width: 200px;
	height: 18px; border-radius: 99px;
	background: var(--eux-white);
	border: 1px solid var(--eux-ink-100);
	font-family: var(--eux-font-mono);
	font-size: 9px; color: var(--eux-ink-600);
	display: flex; align-items: center;
	padding: 0 10px;
}
.eux-block .eux-tyro-store__body {
	padding: 12px; flex: 1;
	display: flex; flex-direction: column; gap: 8px;
}
.eux-block .eux-tyro-store__row {
	display: flex; align-items: center; gap: 8px;
	padding: 8px 10px;
	background: var(--eux-cream-50);
	border-radius: 6px;
	font-family: var(--eux-font-display);
	font-size: 10px; font-weight: 500;
	color: var(--eux-ink-800);
}
.eux-block .eux-tyro-store__row.eux-is-success {
	background: rgba(74, 222, 128, 0.12);
	color: #15803d;
}
.eux-block .eux-tyro-store__row--seq {
	opacity: 0; transform: translateY(6px);
	animation: eux-storeRowIn 6s ease-out infinite;
}
.eux-block .eux-tyro-store__row--seq.eux-r1 { animation-delay: 0.2s; }
.eux-block .eux-tyro-store__row--seq.eux-r2 { animation-delay: 2.2s; }
.eux-block .eux-tyro-store__row--seq.eux-r3 { animation-delay: 4.2s; }
@keyframes eux-storeRowIn {
	0%, 1%  { opacity: 0; transform: translateY(6px); }
	5%, 95% { opacity: 1; transform: translateY(0); }
	100%    { opacity: 0; transform: translateY(0); }
}
.eux-block .eux-tyro-store__row .eux-num {
	font-family: var(--eux-font-mono);
	color: var(--eux-ink-500);
}
.eux-block .eux-tyro-store__row .eux-amt {
	margin-left: auto;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--eux-woo-purple);
}
.eux-block .eux-tyro-store__row.eux-is-success .eux-amt { color: #15803d; }
.eux-block .eux-tyro-store__tag {
	margin-left: auto;
	padding: 2px 8px; border-radius: 99px;
	background: rgba(74, 222, 128, 0.18);
	color: #15803d;
	font-family: var(--eux-font-display);
	font-size: 9px; font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.eux-block .eux-tyro-store__tag--pending {
	background: rgba(217, 119, 6, 0.16);
	color: #b8770a;
}

.eux-block .eux-tyro-link__code {
	margin-top: 12px;
	min-height: 220px;
	background: #0a0a0a;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 12px 14px;
	font-family: var(--eux-font-mono);
	font-size: 11px; line-height: 1.7;
	color: #d8d8d8;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
	position: relative;
}
.eux-block .eux-tyro-link__code::before {
	content: "woocommerce → tyro · live";
	position: absolute;
	top: 0; left: 0; right: 0;
	padding: 6px 12px;
	font-size: 9px;
	letter-spacing: 0.06em;
	color: rgba(244, 240, 236, 0.5);
	background: rgba(255, 255, 255, 0.03);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	animation: eux-codeLabel 6s ease-in-out infinite;
}
@keyframes eux-codeLabel {
	0%, 32%   { content: "woocommerce_checkout_order_processed.php"; }
	34%, 66%  { content: "Tyro::process() · pending"; }
	68%, 100% { content: "ERP::sync() · 200 OK · 312ms"; }
}
.eux-block .eux-tyro-code-state {
	padding-top: 36px;
	position: absolute;
	left: 14px; right: 14px; top: 0;
	opacity: 0;
	animation: eux-codeState 6s ease-in-out infinite;
}
.eux-block .eux-tyro-code-state.eux-cs1 { animation-delay: 0s; }
.eux-block .eux-tyro-code-state.eux-cs2 { animation-delay: 2s; }
.eux-block .eux-tyro-code-state.eux-cs3 { animation-delay: 4s; }
@keyframes eux-codeState {
	0%, 2%       { opacity: 0; transform: translateY(4px); }
	6%, 32%      { opacity: 1; transform: translateY(0); }
	36%, 100%    { opacity: 0; transform: translateY(-4px); }
}
.eux-block .eux-tyro-link__code .eux-k { color: #c58cfb; }
.eux-block .eux-tyro-link__code .eux-s { color: #4ade80; }
.eux-block .eux-tyro-link__code .eux-n { color: #fbbf24; }
.eux-block .eux-tyro-link__code .eux-c { color: rgba(244, 240, 236, 0.4); }

/* ==========================================================================
   3. WordPress admin dashboard mockup
   ========================================================================== */
.eux-block .eux-hero-mock {
	position: absolute; inset: 0;
	display: grid; grid-template-rows: auto 1fr;
}
.eux-block .eux-hero-mock__top {
	display: flex; align-items: center; gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--eux-ink-100);
	background: var(--eux-cream-50);
}
.eux-block .eux-hero-mock__top .eux-dot {
	width: 10px; height: 10px; border-radius: 999px;
	background: var(--eux-ink-200);
}
.eux-block .eux-hero-mock__url {
	margin-left: 14px; flex: 1; max-width: 320px;
	height: 22px; border-radius: 999px;
	background: var(--eux-white);
	border: 1px solid var(--eux-ink-100);
	font-family: var(--eux-font-mono);
	font-size: 11px; color: var(--eux-ink-600);
	display: flex; align-items: center;
	padding: 0 12px; gap: 6px;
	overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.eux-block .eux-hero-mock__url::before {
	content: ""; width: 8px; height: 8px; border-radius: 999px;
	background: #1F8A5B; flex-shrink: 0;
}
.eux-block .eux-hero-mock__menu {
	width: 18px; height: 12px; border-radius: 2px;
	background:
		linear-gradient(var(--eux-ink-300), var(--eux-ink-300)) center top / 100% 2px no-repeat,
		linear-gradient(var(--eux-ink-300), var(--eux-ink-300)) center / 100% 2px no-repeat,
		linear-gradient(var(--eux-ink-300), var(--eux-ink-300)) center bottom / 100% 2px no-repeat;
}
.eux-block .eux-hero-mock__body {
	display: grid; grid-template-columns: 200px 1fr;
	overflow: hidden;
}
@media (max-width: 600px) {
	.eux-block .eux-hero-mock__body { grid-template-columns: 100px 1fr; }
}
.eux-block .eux-hero-mock__side {
	border-right: 1px solid var(--eux-ink-100);
	padding: 16px 14px;
	display: flex; flex-direction: column; gap: 10px;
	background: var(--eux-cream-50);
}
.eux-block .eux-hero-mock__navline {
	display: flex; align-items: center; gap: 8px;
	padding: 6px 8px; border-radius: 6px;
}
.eux-block .eux-hero-mock__navline.eux-is-active { background: var(--eux-woo-50); }
.eux-block .eux-hero-mock__navline .eux-dot {
	width: 12px; height: 12px; border-radius: 3px;
	background: var(--eux-ink-200);
}
.eux-block .eux-hero-mock__navline.eux-is-active .eux-dot { background: var(--eux-woo-purple); }
.eux-block .eux-hero-mock__navline .eux-ln {
	flex: 1; height: 8px; border-radius: 99px;
	background: var(--eux-ink-100);
}
.eux-block .eux-hero-mock__navline.eux-is-active .eux-ln { background: var(--eux-woo-200); }
.eux-block .eux-hero-mock__main {
	padding: 16px 18px;
	display: flex; flex-direction: column; gap: 14px;
	overflow: hidden;
}
.eux-block .eux-hero-mock__title-row {
	display: flex; gap: 14px; align-items: center;
}
.eux-block .eux-hero-mock__kpis {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.eux-block .eux-hero-mock__kpi {
	background: var(--eux-cream-50);
	border: 1px solid var(--eux-ink-100);
	border-radius: 8px;
	padding: 10px 12px;
	display: flex; flex-direction: column; gap: 6px;
	position: relative; overflow: hidden;
}
.eux-block .eux-kpi-eyebrow {
	font-family: var(--eux-font-display);
	font-size: 9px; font-weight: 600;
	letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--eux-ink-500);
}
.eux-block .eux-kpi-num {
	font-family: var(--eux-font-display);
	font-weight: 400; font-size: 22px;
	letter-spacing: -0.02em; color: var(--eux-black);
	font-variant-numeric: tabular-nums;
}
.eux-block .eux-kpi-spark { height: 16px; margin-top: 2px; position: relative; }
.eux-block .eux-kpi-spark svg { width: 100%; height: 100%; overflow: visible; }
.eux-block .eux-kpi-spark path {
	stroke: var(--eux-woo-purple); stroke-width: 1.5; fill: none;
	stroke-dasharray: 200; stroke-dashoffset: 200;
	animation: eux-drawLine 3s ease-out infinite;
}
@keyframes eux-drawLine {
	0%   { stroke-dashoffset: 200; }
	60%  { stroke-dashoffset: 0; }
	100% { stroke-dashoffset: 0; opacity: 1; }
}
.eux-block .eux-hero-mock__products {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
	flex: 1; min-height: 0;
}
.eux-block .eux-hero-mock__product {
	background: var(--eux-cream-50); border-radius: 8px;
	border: 1px solid var(--eux-ink-100);
	padding: 10px;
	display: flex; flex-direction: column; gap: 8px;
}
.eux-block .eux-hero-mock__product .eux-pimg {
	aspect-ratio: 4/3;
	background: var(--eux-ink-100);
	border-radius: 4px;
}
.eux-block .eux-hero-mock__integrations {
	display: flex; gap: 6px; flex-wrap: wrap;
}
.eux-block .eux-hero-mock__intg {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 8px; border-radius: 999px;
	background: var(--eux-white); border: 1px solid var(--eux-ink-100);
	font-family: var(--eux-font-display); font-size: 10px; font-weight: 600;
	color: var(--eux-ink-700);
}
.eux-block .eux-hero-mock__intg .eux-dot {
	width: 6px; height: 6px; border-radius: 999px; background: #1F8A5B;
	animation: eux-pulseDot 2.4s ease-in-out infinite;
}
.eux-block .eux-hero-mock__intg.eux-is-syncing .eux-dot {
	background: var(--eux-woo-purple);
	animation: eux-pulseDot 1s ease-in-out infinite;
}
@keyframes eux-pulseDot {
	0%, 100% { box-shadow: 0 0 0 0 rgba(31, 138, 91, 0.5); }
	50%      { box-shadow: 0 0 0 6px rgba(31, 138, 91, 0); }
}

/* ==========================================================================
   3.5. Gutenberg editor mockup — 12s pure-CSS loop
   --------------------------------------------------------------------------
   The third hero preset. A Gutenberg-style editor canvas with three blocks
   cascading in (heading → capabilities → CTA), a floating "Add block"
   inserter menu in the bottom-left whose icons pulse active in sync with
   each block's insertion, and a floating perf chip in the top-right that
   appears after all three blocks have settled.

   Animation budget — 12s loop, with each block-and-its-inserter-pulse
   happening at:
     - Heading      : insert at  6% (0.7s)   · stays visible to 95%
     - Capabilities : insert at 31% (3.7s)   · stays visible to 95%
     - CTA          : insert at 56% (6.7s)   · stays visible to 95%
     - Perf chip    : appears at 70% (8.4s)  · fades at 97%

   The 12s loop length is from the original design package. Long enough
   that the cascade reads as deliberate construction (not a quick fade-in)
   but short enough that a user who lingers in the hero sees the full
   story once before they scroll past.

   All :nth-child timing assumes the three .eux-gbv__block divs are direct
   children of .eux-gbv__stage in the order Heading, Capabilities, CTA.
   The render method (preset_hero_gutenberg in class-eux-mockups.php) is
   responsible for keeping that order; don't reorder without updating the
   keyframes here too.

   Color mapping from the design package to our tokens:
     --white       → --eux-white
     --cream       → --eux-cream
     --cream-50    → --eux-cream-50
     --ink-100/200 → --eux-ink-100/200
     --ink-500/700 → --eux-ink-500/700
     --ink-900     → --eux-ink-900
     --woo-purple  → --eux-woo-purple
     --woo-300     → --eux-woo-300
     --font-display/body/mono → --eux-font-display/body/mono
   ========================================================================== */

/* ----- 1. Outer card (sits inside .eux-hero__mock-frame--gutenberg) ----- */
.eux-block .eux-gbv {
	position: relative;
	background: var(--eux-white);
	border: 1px solid var(--eux-ink-100);
	border-radius: 20px;
	padding: 22px;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.03),
		0 32px 80px rgba(0, 0, 0, 0.35); /* deeper on dark hero than design (0.06) */
	display: flex;
	flex-direction: column;
	gap: 14px;
	/* The float decorations (chip + menu) hang outside this card; the
	   frame parent has overflow:visible. We don't constrain anything
	   here. */
}

/* ----- 2. Title bar (browser-chrome stand-in) ----- */
.eux-block .eux-gbv__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 6px 14px;
	border-bottom: 1px solid var(--eux-ink-100);
}
.eux-block .eux-gbv__dot {
	width: 10px;
	height: 10px;
	border-radius: 99px;
	background: var(--eux-ink-200);
}
/* Mac-style traffic-light dots — exact hex codes from the design. */
.eux-block .eux-gbv__dot:nth-child(1) { background: #FF5F57; }
.eux-block .eux-gbv__dot:nth-child(2) { background: #FEBC2E; }
.eux-block .eux-gbv__dot:nth-child(3) { background: #28C840; }
.eux-block .eux-gbv__url {
	flex: 1;
	margin-left: 12px;
	font-family: var(--eux-font-mono);
	font-size: 11px;
	color: var(--eux-ink-500);
	background: var(--eux-cream-50);
	border: 1px solid var(--eux-ink-100);
	padding: 6px 12px;
	border-radius: 999px;
	letter-spacing: 0.02em;
}
.eux-block .eux-gbv__url b {
	color: var(--eux-woo-purple);
	font-weight: 600;
}

/* ----- 3. Stage (the cream-tinted editor canvas) ----- */
.eux-block .eux-gbv__stage {
	background: var(--eux-cream-50);
	border-radius: 14px;
	padding: 22px;
	display: grid;
	gap: 14px;
}

/* ----- 4. Block (each Gutenberg block card on the canvas) ----- */
.eux-block .eux-gbv__block {
	position: relative;
	background: var(--eux-white);
	border: 1px solid var(--eux-ink-100);
	border-radius: 10px;
	padding: 14px 16px;
}
.eux-block .eux-gbv__tag {
	font-family: var(--eux-font-mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--eux-woo-purple);
	margin-bottom: 6px;
}
.eux-block .eux-gbv__h {
	font-family: var(--eux-font-display);
	font-weight: 500;
	font-size: 17px;
	line-height: 1.25;
	color: var(--eux-ink-900);
	margin: 0 0 4px;
	letter-spacing: -0.01em;
	/* Salient defends — see salient-coexistence.md defence 2 (compound words) */
	word-break: normal !important;
	overflow-wrap: normal !important;
}
.eux-block .eux-gbv__h em {
	font-style: italic;
	font-weight: 300;
	color: var(--eux-woo-purple);
}
.eux-block .eux-gbv__p {
	font-family: var(--eux-font-body);
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--eux-ink-700);
	margin: 0;
}

/* ----- 5. Capabilities block — 3 column tiles inside the second block --- */
.eux-block .eux-gbv__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 8px;
}
.eux-block .eux-gbv__col {
	background: var(--eux-cream-50);
	border-radius: 8px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.eux-block .eux-gbv__ico {
	width: 22px;
	height: 22px;
	border-radius: 6px;
	background: var(--eux-woo-purple);
	opacity: 0.12;
}
.eux-block .eux-gbv__ttl {
	font-family: var(--eux-font-display);
	font-weight: 600;
	font-size: 11px;
	color: var(--eux-ink-900);
	letter-spacing: -0.005em;
}
.eux-block .eux-gbv__dx {
	height: 4px;
	border-radius: 99px;
	background: var(--eux-ink-100);
}
.eux-block .eux-gbv__dx--short {
	width: 60%;
}

/* ----- 6. Floating perf chip (top-right, hangs outside the card) ------- */
.eux-block .eux-gbv__chip {
	position: absolute;
	top: 90px;
	right: -22px;
	background: var(--eux-ink-900);
	color: var(--eux-cream);
	padding: 12px 14px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
	min-width: 168px;
	z-index: 2;
}
.eux-block .eux-gbv__chip-lbl {
	font-family: var(--eux-font-mono);
	font-size: 9.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--eux-woo-300);
}
.eux-block .eux-gbv__chip-val {
	font-family: var(--eux-font-display);
	font-weight: 500;
	font-size: 13px;
	color: var(--eux-cream);
}
.eux-block .eux-gbv__chip-val b {
	color: #2ECC71; /* green status — design-original, intentional vs token cream */
	font-weight: 600;
}
/* On narrower hero widths the float would overflow the column; pull it
   back inside the card. */
@media (max-width: 1100px) {
	.eux-block .eux-gbv__chip {
		right: 16px;
		top: 70px;
	}
}

/* ----- 7. Floating "Add block" inserter menu (bottom-left, hangs out) -- */
.eux-block .eux-gbv__menu {
	position: absolute;
	bottom: -32px;
	left: -28px;
	background: var(--eux-ink-900);
	color: var(--eux-cream);
	border-radius: 12px;
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
	min-width: 180px;
	z-index: 2;
}
.eux-block .eux-gbv__menu-lbl {
	font-family: var(--eux-font-mono);
	font-size: 9.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--eux-woo-300);
	padding: 2px 4px;
}
.eux-block .eux-gbv__menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 4px;
	font-family: var(--eux-font-display);
	font-size: 12px;
	color: var(--eux-cream);
	font-weight: 500;
}
.eux-block .eux-gbv__menu-icon {
	width: 22px;
	height: 22px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.08);
	display: grid;
	place-items: center;
	color: var(--eux-woo-300);
}
.eux-block .eux-gbv__menu-icon svg {
	width: 12px;
	height: 12px;
}
/* Hide the inserter menu on smaller widths — its negative left:-28px
   would crash into the hero copy. Chip stays (just gets pulled in). */
@media (max-width: 1100px) {
	.eux-block .eux-gbv__menu { display: none; }
}

/* ==========================================================================
   3.6. Gutenberg editor mockup — animation choreography
   --------------------------------------------------------------------------
   Three concurrent CSS animations, all 12s, all infinite, all sharing
   the same percentage timeline so the choreography lines up visually:

     6%  · Heading block appears + Heading menu-icon pulses
     31% · Capabilities block appears + Capabilities menu-icon pulses
     56% · CTA block appears + CTA menu-icon pulses
     70% · Perf chip fades in
     95% · Everything starts fading back to the start state
     97-100% · Reset

   Selected-ring outlines pulse on each block briefly after it appears,
   then fade. This mirrors the Gutenberg UX of inserting a block →
   selecting it for ~half a second → it stays inserted but the selection
   ring fades.
   ========================================================================== */

/* Block cascade — opacity + lift in, hold, fade out at end of loop. */
.eux-block .eux-gbv__stage .eux-gbv__block {
	opacity: 0;
	transform: translateY(8px);
	animation-duration: 12s;
	animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
	animation-iteration-count: infinite;
}
.eux-block .eux-gbv__stage .eux-gbv__block:nth-child(1) { animation-name: eux-gbvBlock1; }
.eux-block .eux-gbv__stage .eux-gbv__block:nth-child(2) { animation-name: eux-gbvBlock2; }
.eux-block .eux-gbv__stage .eux-gbv__block:nth-child(3) { animation-name: eux-gbvBlock3; }
@keyframes eux-gbvBlock1 {
	0%   { opacity: 0; transform: translateY(8px); }
	6%   { opacity: 1; transform: translateY(0); }
	95%  { opacity: 1; transform: translateY(0); }
	100% { opacity: 0; transform: translateY(8px); }
}
@keyframes eux-gbvBlock2 {
	0%, 25%  { opacity: 0; transform: translateY(8px); }
	31%      { opacity: 1; transform: translateY(0); }
	95%      { opacity: 1; transform: translateY(0); }
	100%     { opacity: 0; transform: translateY(8px); }
}
@keyframes eux-gbvBlock3 {
	0%, 50%  { opacity: 0; transform: translateY(8px); }
	56%      { opacity: 1; transform: translateY(0); }
	95%      { opacity: 1; transform: translateY(0); }
	100%     { opacity: 0; transform: translateY(8px); }
}

/* Selected-ring outline — each block gets a transient purple outline
   right after it appears, then fades. Uses ::after so we don't disturb
   the block's normal background. */
.eux-block .eux-gbv__stage .eux-gbv__block::after {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 13px;
	border: 2px solid var(--eux-woo-purple);
	opacity: 0;
	pointer-events: none;
	box-shadow: 0 0 0 4px rgba(114, 14, 236, 0.08);
}
.eux-block .eux-gbv__stage .eux-gbv__block:nth-child(1)::after { animation: eux-gbvSel1 12s ease-in-out infinite; }
.eux-block .eux-gbv__stage .eux-gbv__block:nth-child(2)::after { animation: eux-gbvSel2 12s ease-in-out infinite; }
.eux-block .eux-gbv__stage .eux-gbv__block:nth-child(3)::after { animation: eux-gbvSel3 12s ease-in-out infinite; }
@keyframes eux-gbvSel1 {
	0%, 4%    { opacity: 0; }
	6%, 23%   { opacity: 1; }
	25%, 100% { opacity: 0; }
}
@keyframes eux-gbvSel2 {
	0%, 29%   { opacity: 0; }
	31%, 48%  { opacity: 1; }
	50%, 100% { opacity: 0; }
}
@keyframes eux-gbvSel3 {
	0%, 54%   { opacity: 0; }
	56%, 93%  { opacity: 1; }
	96%, 100% { opacity: 0; }
}

/* Inserter menu — icons pulse purple in sync with each block insertion. */
.eux-block .eux-gbv__menu .eux-gbv__menu-icon {
	animation-duration: 12s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}
.eux-block .eux-gbv__menu .eux-gbv__menu-item:nth-of-type(1) .eux-gbv__menu-icon { animation-name: eux-gbvMenu1; }
.eux-block .eux-gbv__menu .eux-gbv__menu-item:nth-of-type(2) .eux-gbv__menu-icon { animation-name: eux-gbvMenu2; }
.eux-block .eux-gbv__menu .eux-gbv__menu-item:nth-of-type(3) .eux-gbv__menu-icon { animation-name: eux-gbvMenu3; }
@keyframes eux-gbvMenu1 {
	0%, 2%    { background: rgba(255, 255, 255, 0.08); color: var(--eux-woo-300); }
	4%, 18%   { background: var(--eux-woo-purple);     color: var(--eux-white); }
	22%, 100% { background: rgba(255, 255, 255, 0.08); color: var(--eux-woo-300); }
}
@keyframes eux-gbvMenu2 {
	0%, 25%   { background: rgba(255, 255, 255, 0.08); color: var(--eux-woo-300); }
	27%, 43%  { background: var(--eux-woo-purple);     color: var(--eux-white); }
	47%, 100% { background: rgba(255, 255, 255, 0.08); color: var(--eux-woo-300); }
}
@keyframes eux-gbvMenu3 {
	0%, 50%   { background: rgba(255, 255, 255, 0.08); color: var(--eux-woo-300); }
	52%, 90%  { background: var(--eux-woo-purple);     color: var(--eux-white); }
	94%, 100% { background: rgba(255, 255, 255, 0.08); color: var(--eux-woo-300); }
}

/* Perf chip — fades in after all 3 blocks settle (~70% of loop) and
   fades back at the end of the loop. */
.eux-block .eux-gbv__chip {
	opacity: 0;
	transform: translateY(4px);
	animation: eux-gbvChip 12s ease-in-out infinite;
}
@keyframes eux-gbvChip {
	0%, 64%   { opacity: 0; transform: translateY(4px) scale(0.95); }
	70%, 93%  { opacity: 1; transform: translateY(0)   scale(1); }
	97%, 100% { opacity: 0; transform: translateY(4px) scale(0.95); }
}

/* Reduced motion — snap everything visible, no animation. */
@media (prefers-reduced-motion: reduce) {
	.eux-block .eux-gbv__stage .eux-gbv__block,
	.eux-block .eux-gbv__stage .eux-gbv__block::after,
	.eux-block .eux-gbv__menu .eux-gbv__menu-icon,
	.eux-block .eux-gbv__chip {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	/* Selected ring permanently visible on every block would look chaotic
	   under reduced motion, so we suppress it instead of forcing it on. */
	.eux-block .eux-gbv__stage .eux-gbv__block::after {
		opacity: 0 !important;
	}
}

/* Pause animations while parent isn't in view — same trick used by
   capability-mockup / example-card. eux-reveal lives on the parent
   frame; .eux-is-in-view gets added by frontend.js IO. */
.eux-block .eux-hero__mock-frame--gutenberg.eux-reveal:not(.eux-is-in-view) .eux-gbv__stage .eux-gbv__block,
.eux-block .eux-hero__mock-frame--gutenberg.eux-reveal:not(.eux-is-in-view) .eux-gbv__stage .eux-gbv__block::after,
.eux-block .eux-hero__mock-frame--gutenberg.eux-reveal:not(.eux-is-in-view) .eux-gbv__menu .eux-gbv__menu-icon,
.eux-block .eux-hero__mock-frame--gutenberg.eux-reveal:not(.eux-is-in-view) .eux-gbv__chip {
	animation-play-state: paused;
}

/* ==========================================================================
   4. Stack Atlas mockup (preset: stack-atlas)
   --------------------------------------------------------------------------
   Five horizontal architecture layers stacked vertically, each one a
   treemap of brand-colored cells (Cloudflare, GA4, theme.json, HubSpot,
   Mailchimp, Salesforce, Tyro, Xero, Kinsta). Footer is a 3-metric
   Lighthouse-style strip (Performance / SEO / Security) on an ink-900
   plate.

   The cell background colors are SET INLINE on the markup — they are
   partner brand colors and should not theme-cascade with the parent
   hero's accent attribute. Everything else (panel chrome, layer-number
   pills, treemap container, etc.) uses --eux-* tokens so the WP-blue
   accent override flows through correctly.

   Six layered loops:
     1. LIVE pulse dot in the panel header
     2. Scan beam sweep across each treemap, cascaded 0/0.4/0.8/1.2/1.6s
     3. Cell brightness breathing on a 5s pulse, staggered by child index
     4. Score rings re-stroking every 6s (polling "fresh data" feel)
     5. Metric tile soft-glow heartbeat
     6. Hover lift on individual cells (treemap dims, hovered cell pops)

   All keyframes are prefixed `eux-atlas-*` so they don't collide with
   the existing `eux-gbv` keyframes used by the gutenberg preset.
   ========================================================================== */

/* ----- 1. Outer wrapper + white panel card -------------------------------- */
.eux-block .eux-atlas {
	position: relative;
	display: flex;
	justify-content: center;
}
.eux-block .eux-atlas__panel {
	position: relative;
	width: 100%;
	max-width: 580px;
	background: var(--eux-white);
	border: 1px solid var(--eux-ink-100);
	border-radius: 14px;
	padding: 22px 24px;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.03),
		0 24px 60px rgba(0, 0, 0, 0.06);
	font-family: var(--eux-font-body);
	color: var(--eux-ink-900);
	-webkit-font-smoothing: antialiased;
}

/* ----- 2. Panel header with LIVE indicator -------------------------------- */
.eux-block .eux-atlas__panel-hd {
	position: relative;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--eux-ink-100);
	flex-wrap: wrap;
	gap: 10px;
}
.eux-block .eux-atlas__panel-hd-t {
	font-family: var(--eux-font-display);
	font-weight: 600;
	font-size: 13px;
	color: var(--eux-ink-900);
}
/* LIVE green pulse dot + label, anchored right */
.eux-block .eux-atlas__panel-hd::after {
	content: "LIVE";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-60%);
	font-family: var(--eux-font-mono);
	font-size: 8.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: #4ade80;
}
.eux-block .eux-atlas__panel-hd::before {
	content: "";
	position: absolute;
	right: 32px;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	border-radius: 99px;
	background: #4ade80;
	box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
	animation: eux-atlas-live-pulse 2.2s cubic-bezier(0.66, 0, 0, 1) infinite;
	z-index: 1;
}
@keyframes eux-atlas-live-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
	70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
	100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ----- 3. Row · numbered label + treemap ---------------------------------- */
.eux-block .eux-atlas__row {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 14px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--eux-ink-100);
}
.eux-block .eux-atlas__row:last-of-type { border-bottom: 0; }

.eux-block .eux-atlas__label {
	display: flex;
	align-items: center;
	gap: 8px;
}
.eux-block .eux-atlas__layer-num {
	font-family: var(--eux-font-mono);
	font-size: 10px;
	font-weight: 700;
	width: 22px;
	height: 22px;
	border-radius: 99px;
	display: grid;
	place-items: center;
}
/* Per-layer pill color: cool grays for outer layers, brand-blue for
   middle WP layers, dark for the foundation row. */
.eux-block .eux-atlas__row--l1 .eux-atlas__layer-num {
	background: var(--eux-ink-100);
	color: var(--eux-ink-700);
}
.eux-block .eux-atlas__row--l2 .eux-atlas__layer-num,
.eux-block .eux-atlas__row--l3 .eux-atlas__layer-num {
	background: var(--eux-woo-100);
	color: var(--eux-woo-500);
}
.eux-block .eux-atlas__row--l4 .eux-atlas__layer-num {
	background: var(--eux-woo-500);
	color: var(--eux-white);
}
.eux-block .eux-atlas__row--l5 .eux-atlas__layer-num {
	background: var(--eux-ink-900);
	color: var(--eux-woo-300);
}
.eux-block .eux-atlas__layer-name {
	font-family: var(--eux-font-display);
	font-weight: 600;
	font-size: 11px;
	color: var(--eux-ink-900);
	line-height: 1.15;
}

/* ----- 4. Treemap container + cells -------------------------------------- */
.eux-block .eux-atlas__treemap {
	position: relative;
	display: flex;
	gap: 3px;
	height: 36px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--eux-cream-50);
	border: 1px solid var(--eux-ink-100);
}
.eux-block .eux-atlas__cell {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--eux-white);
	padding: 0 10px;
	font-family: var(--eux-font-display);
	font-weight: 600;
	font-size: 10px;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	transition: filter 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.eux-block .eux-atlas__cell::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent);
}
.eux-block .eux-atlas__cell-lbl {
	position: relative;
}

/* Logo badge: 20x20 white pill with the partner favicon inside.
   Box-shadow gives it a hairline border that reads against any cell color. */
.eux-block .eux-atlas__logo {
	width: 20px;
	height: 20px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 5px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
	position: relative;
}
.eux-block .eux-atlas__logo img {
	width: 14px;
	height: 14px;
	object-fit: contain;
	display: block;
}

/* Scan beam: a soft white gradient slab sweeping across the treemap
   from left to right, cascaded down the rows. mix-blend-mode: overlay
   makes it read on every cell color. */
.eux-block .eux-atlas__treemap::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -25%;
	width: 22%;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.0) 30%,
		rgba(255, 255, 255, 0.45) 50%,
		rgba(255, 255, 255, 0.0) 70%,
		transparent 100%
	);
	pointer-events: none;
	z-index: 3;
	mix-blend-mode: overlay;
	animation: eux-atlas-scan 7s ease-in-out infinite;
	opacity: 0;
}
@keyframes eux-atlas-scan {
	0%, 100% { left: -25%; opacity: 0; }
	10%      { opacity: 1; }
	45%      { left: 105%; opacity: 1; }
	46%      { opacity: 0; }
}
.eux-block .eux-atlas__row--l1 .eux-atlas__treemap::after { animation-delay: 0s;   }
.eux-block .eux-atlas__row--l2 .eux-atlas__treemap::after { animation-delay: 0.4s; }
.eux-block .eux-atlas__row--l3 .eux-atlas__treemap::after { animation-delay: 0.8s; }
.eux-block .eux-atlas__row--l4 .eux-atlas__treemap::after { animation-delay: 1.2s; }
.eux-block .eux-atlas__row--l5 .eux-atlas__treemap::after { animation-delay: 1.6s; }

/* Cell breathing: a very slow brightness pulse so the panel never sits
   completely static between scan passes. Staggered by child index so
   the three columns don't all breathe in unison. */
.eux-block .eux-atlas__cell {
	animation: eux-atlas-breathe 5s ease-in-out infinite;
}
.eux-block .eux-atlas__cell:nth-child(2) { animation-delay: 1.7s; }
.eux-block .eux-atlas__cell:nth-child(3) { animation-delay: 3.4s; }
@keyframes eux-atlas-breathe {
	0%, 100% { filter: brightness(1); }
	50%      { filter: brightness(1.06); }
}

/* Hover lift: hovered cell pops slightly while the rest of the row
   dims, drawing the eye to the focal cell. */
.eux-block .eux-atlas__treemap:hover .eux-atlas__cell { filter: brightness(0.92); }
.eux-block .eux-atlas__cell:hover {
	filter: brightness(1.1);
	transform: scaleY(1.08);
	z-index: 1;
}

/* ----- 5. Score ring (used inside metric tiles) -------------------------- */
.eux-block .eux-atlas__ring {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
}
.eux-block .eux-atlas__ring svg { transform: rotate(-90deg); }
.eux-block .eux-atlas__ring-num {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--eux-font-display);
	font-weight: 700;
	letter-spacing: -0.015em;
	font-size: 10.5px;
}

/* Re-stroke animation: every ~6s the green ring "redraws" itself as
   if the dashboard is polling for fresh data. Staggered across the
   three metrics so they re-stroke in sequence (Perf / SEO / Security). */
@keyframes eux-atlas-ring-pulse {
	0%, 75% { stroke-dashoffset: var(--rest, 2); opacity: 1; }
	78%     { stroke-dashoffset: 88; opacity: 0.35; }
	100%    { stroke-dashoffset: var(--rest, 2); opacity: 1; }
}
.eux-block .eux-atlas__metric .eux-atlas__ring svg circle:last-child {
	animation: eux-atlas-ring-pulse 6s cubic-bezier(0.65, 0, 0.35, 1) 3s infinite;
}
.eux-block .eux-atlas__metric:nth-child(1) .eux-atlas__ring svg circle:last-child { animation-delay: 3.0s; }
.eux-block .eux-atlas__metric:nth-child(2) .eux-atlas__ring svg circle:last-child { animation-delay: 3.4s; }
.eux-block .eux-atlas__metric:nth-child(3) .eux-atlas__ring svg circle:last-child { animation-delay: 3.8s; }

/* ----- 6. Metrics strip (Perf · SEO · Security) -------------------------- */
.eux-block .eux-atlas__metrics {
	margin-top: 14px;
	padding: 14px;
	background: var(--eux-ink-900);
	border-radius: 10px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	position: relative;
	overflow: hidden;
}
.eux-block .eux-atlas__metrics::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 20% 100%, color-mix(in srgb, var(--eux-woo-500) 30%, transparent) 0%, transparent 60%);
	pointer-events: none;
}
.eux-block .eux-atlas__metric {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 7px 10px 7px 7px;
	animation: eux-atlas-glow 4s ease-in-out 2s infinite;
}
.eux-block .eux-atlas__metric:nth-child(2) { animation-delay: 2.4s; }
.eux-block .eux-atlas__metric:nth-child(3) { animation-delay: 2.8s; }
.eux-block .eux-atlas__metric .eux-atlas__ring {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
}
.eux-block .eux-atlas__metric .eux-atlas__ring .eux-atlas__ring-num {
	color: #4ade80;
	font-size: 11px;
}
.eux-block .eux-atlas__metric-lbl {
	font-family: var(--eux-font-mono);
	font-size: 8.5px;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: rgba(244, 240, 236, 0.65);
	line-height: 1.2;
}
.eux-block .eux-atlas__metric-lbl small {
	display: block;
	font-family: var(--eux-font-display);
	font-size: 12px;
	color: var(--eux-cream);
	font-weight: 500;
	letter-spacing: -0.01em;
	margin-top: 1px;
	text-transform: none;
}
@keyframes eux-atlas-glow {
	0%, 100% {
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	}
	50% {
		box-shadow:
			inset 0 0 0 1px rgba(74, 222, 128, 0.30),
			0 0 12px rgba(74, 222, 128, 0.10);
	}
}

/* Narrow viewports: metric strip collapses to 2 columns. The hero
   parent already restacks copy/visual at ~1080px, so this kicks in
   only on very narrow phones inside a vertical hero layout. */
@media (max-width: 560px) {
	.eux-block .eux-atlas__metrics {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Reduced motion: kill all six loops at once, leave the static panel.
   Score rings stay full-stroked, breathing stops, scans stop, LIVE
   indicator stops pulsing (but stays visible). */
@media (prefers-reduced-motion: reduce) {
	.eux-block .eux-atlas__panel-hd::before,
	.eux-block .eux-atlas__treemap::after,
	.eux-block .eux-atlas__cell,
	.eux-block .eux-atlas__metric,
	.eux-block .eux-atlas__metric .eux-atlas__ring svg circle:last-child {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

/* Pause all loops until the reveal observer marks the frame in-view.
   Matches the existing pattern for the Gutenberg preset above —
   prevents off-screen animations from burning CPU on long pages. */
.eux-block .eux-hero__mock-frame--stack-atlas.eux-reveal:not(.eux-is-in-view) .eux-atlas__panel-hd::before,
.eux-block .eux-hero__mock-frame--stack-atlas.eux-reveal:not(.eux-is-in-view) .eux-atlas__treemap::after,
.eux-block .eux-hero__mock-frame--stack-atlas.eux-reveal:not(.eux-is-in-view) .eux-atlas__cell,
.eux-block .eux-hero__mock-frame--stack-atlas.eux-reveal:not(.eux-is-in-view) .eux-atlas__metric,
.eux-block .eux-hero__mock-frame--stack-atlas.eux-reveal:not(.eux-is-in-view) .eux-atlas__metric .eux-atlas__ring svg circle:last-child {
	animation-play-state: paused;
}

/* ==========================================================================
   5. Editor placeholder
   --------------------------------------------------------------------------
   Inside Gutenberg, we don't render the full animated mockup. The
   animations (multiple infinite keyframe loops) are heavy and distracting
   when editing. A simple placeholder card is enough for editors to know
   the block is there and which preset is set.
   ========================================================================== */
.editor-styles-wrapper .eux-block--mockup-editor {
	min-height: 300px;
	border: 1px dashed rgba(244, 240, 236, 0.2);
	border-radius: var(--eux-r-lg);
	background: rgba(255, 255, 255, 0.03);
	display: grid;
	place-items: center;
	padding: 40px 24px;
	text-align: center;
}
.editor-styles-wrapper .eux-block--mockup-editor__icon {
	color: rgba(244, 240, 236, 0.4);
	margin-bottom: 12px;
}
.editor-styles-wrapper .eux-block--mockup-editor__label {
	font-family: var(--eux-font-display);
	font-size: 13px; font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(244, 240, 236, 0.6);
	margin-bottom: 8px;
}
.editor-styles-wrapper .eux-block--mockup-editor__preset {
	font-family: var(--eux-font-display);
	font-size: 16px; font-weight: 500;
	color: var(--eux-cream);
	margin-bottom: 8px;
}
.editor-styles-wrapper .eux-block--mockup-editor__hint {
	font-family: var(--eux-font-mono);
	font-size: 11px;
	color: rgba(244, 240, 236, 0.4);
}
