/*
Theme Name: MonitPro X
Theme URI: https://www.monitprosolutions.com/
Author: MonitPro Solutions
Description: MonitPro X — the all-new animated website for MonitPro Solutions. Dark "smart factory control room" design, live dashboard visuals, brand film, scroll animations. After activating, go to Appearance > MonitPro X Setup to install the new content (old content is kept and can be restored).
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: monitpro-x
*/

/* =========================================================================
   1. Tokens
   ========================================================================= */
:root {
	--ink: #070a14;
	--ink-2: #0b1020;
	--ink-3: #111a30;
	--ink-4: #19243f;
	--line-d: rgba(255, 255, 255, .09);
	--line: #e6e9f2;
	--paper: #f5f7fb;
	--white: #fff;
	--text: #0d1324;
	--text-2: #4a5470;
	--text-d: rgba(255, 255, 255, .92);
	--text-d2: rgba(255, 255, 255, .64);
	--brand: #ff3d2e;
	--brand-2: #ff8a1f;
	--cyan: #2ee6d6;
	--violet: #7c5cff;
	--grad: linear-gradient(120deg, #ff3d2e 0%, #ff8a1f 100%);
	--grad-tech: linear-gradient(120deg, #7c5cff 0%, #2ee6d6 100%);
	--grad-text: linear-gradient(100deg, #ff5a36 0%, #ff9f43 45%, #ffd27a 100%);
	--r-sm: 12px;
	--r: 20px;
	--r-lg: 28px;
	--sh: 0 18px 40px -22px rgba(13, 19, 36, .35);
	--sh-lg: 0 40px 90px -40px rgba(7, 10, 20, .65);
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-head: "Sora", "Inter", system-ui, sans-serif;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--header-h: 78px;
	--wrap: 1240px;
}

/* =========================================================================
   2. Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.7; color: var(--text);
	background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .25s; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); letter-spacing: -.025em; line-height: 1.12; margin: 0 0 .55em; font-weight: 700; color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; }
::selection { background: rgba(255, 90, 54, .25); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.mx-skip { position: absolute; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: var(--white); color: var(--ink); }
.mx-skip:focus { top: 12px; }

.mx-container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.mx-container--narrow { max-width: 980px; }
.mx-center { text-align: center; }
.mx-grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================================
   3. Buttons, labels
   ========================================================================= */
.mx-btn {
	position: relative; display: inline-flex; align-items: center; gap: 10px; isolation: isolate; overflow: hidden;
	padding: 16px 28px; border: 0; border-radius: 999px; cursor: pointer;
	font: 600 16px/1 var(--f-body); letter-spacing: .005em; white-space: nowrap;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.mx-btn .mx-ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.mx-btn:hover .mx-ico { transform: translateX(4px); }
.mx-btn--primary { color: #fff; background: var(--grad); box-shadow: 0 14px 34px -14px rgba(255, 61, 46, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.mx-btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, #ff8a1f, #ff3d2e); opacity: 0; transition: opacity .35s; }
.mx-btn--primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .8s var(--ease); }
.mx-btn--primary:hover { color: #fff; box-shadow: 0 20px 44px -14px rgba(255, 138, 31, .85); }
.mx-btn--primary:hover::before { opacity: 1; }
.mx-btn--primary:hover::after { left: 130%; }
.mx-btn--ghost { color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.mx-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.mx-btn--light { color: var(--ink); background: #fff; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5); }
.mx-btn--light:hover { color: var(--brand); }
.mx-btn--sm { padding: 12px 20px; font-size: 14.5px; }
.mx-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.mx-link .mx-ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.mx-link:hover .mx-ico { transform: translateX(5px); }

.mx-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px 8px 12px;
	border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .05); backdrop-filter: blur(8px);
	color: #ffd8bf; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.mx-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); }
.mx-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand-2); animation: mx-ping 2s var(--ease-out) infinite; }
@keyframes mx-ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.mx-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.mx-kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.mx-h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; margin-bottom: .45em; }
.mx-lead { font-size: 19px; color: var(--text-2); max-width: 720px; }
.mx-note { font-size: 15px; color: var(--text-2); }

/* =========================================================================
   4. Header
   ========================================================================= */
.mx-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.mx-header::before { content: ""; position: absolute; inset: 0; background: rgba(7, 10, 20, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); opacity: 0; transition: opacity .4s; border-bottom: 1px solid var(--line-d); }
.mx-header.is-scrolled::before { opacity: 1; }
.mx-header.is-hidden { transform: translateY(-100%); }
.admin-bar .mx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mx-header { top: 46px; } }
.mx-header__inner { position: relative; display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.mx-brand { display: inline-flex; flex-shrink: 0; }
.mx-logo { height: 34px; width: auto; transition: opacity .3s; }
.mx-logo-text { font: 800 24px var(--f-head); color: #fff; }
.mx-nav { margin-left: auto; }
.mx-nav ul { list-style: none; margin: 0; padding: 0; }
.mx-nav__list, .mx-nav > div > ul { display: flex; align-items: center; gap: 2px; }
.mx-nav li { position: relative; }
.mx-nav a { position: relative; display: block; padding: 10px 14px; border-radius: 10px; color: var(--text-d2); font-size: 15px; font-weight: 500; transition: color .25s, background .25s; }
.mx-nav a:hover, .mx-nav .current-menu-item > a, .mx-nav a.is-active { color: #fff; }
.mx-nav a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand-2); transform: scale(0); transition: transform .3s var(--ease); }
.mx-nav .current-menu-item > a::after, .mx-nav a.is-active::after { transform: scale(1); }
.mx-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line-d); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); }
.mx-nav li:hover > .sub-menu, .mx-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mx-nav__mobile-foot { display: none; }
.mx-nav .menu-item-type-custom.current-menu-item > a:not(.is-active) { color: var(--text-d2); }
.mx-nav .menu-item-type-custom.current-menu-item > a:not(.is-active)::after { transform: scale(0); }
.mx-header__actions { display: flex; align-items: center; gap: 12px; }
.mx-burger { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--line-d); border-radius: 14px; background: rgba(255, 255, 255, .05); cursor: pointer; }
.mx-burger i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.mx-burger i:nth-of-type(1) { top: 18px; }
.mx-burger i:nth-of-type(2) { top: 26px; }
.mx-burger[aria-expanded="true"] i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.mx-burger[aria-expanded="true"] i:nth-of-type(2) { top: 22px; transform: rotate(-45deg); }
.mx-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.mx-progress::before { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }

@media (max-width: 1100px) {
	.mx-burger { display: block; }
	.mx-header__actions { margin-left: auto; }
	.mx-header__actions .mx-btn { display: none; }
	.mx-nav {
		position: fixed; inset: 0; z-index: -1; margin: 0; padding: calc(var(--header-h) + 30px) 28px 40px;
		display: flex; flex-direction: column; background: var(--ink); overflow-y: auto;
		clip-path: circle(0% at calc(100% - 50px) 40px); transition: clip-path .7s var(--ease-out); visibility: hidden;
	}
	.mx-nav.is-open { clip-path: circle(150% at calc(100% - 50px) 40px); visibility: visible; }
	.mx-nav__list, .mx-nav > div > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.mx-nav a { padding: 14px 4px; font: 600 clamp(1.6rem, 6vw, 2.4rem)/1.2 var(--f-head); color: #fff; border-bottom: 1px solid var(--line-d); border-radius: 0; }
	.mx-nav a::after { display: none; }
	.mx-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.mx-nav li { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease-out); }
	.mx-nav.is-open li { opacity: 1; transform: none; }
	.mx-nav.is-open li:nth-child(2) { transition-delay: .05s; } .mx-nav.is-open li:nth-child(3) { transition-delay: .1s; } .mx-nav.is-open li:nth-child(4) { transition-delay: .15s; } .mx-nav.is-open li:nth-child(5) { transition-delay: .2s; } .mx-nav.is-open li:nth-child(6) { transition-delay: .25s; } .mx-nav.is-open li:nth-child(7) { transition-delay: .3s; }
	.mx-nav__mobile-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 30px; }
	.mx-nav__mobile-foot a { display: flex; align-items: center; gap: 10px; color: var(--text-d2); font-size: 16px; }
	.mx-nav__mobile-foot .mx-ico { width: 20px; height: 20px; color: var(--brand-2); }
	body.mx-menu-open { overflow: hidden; }
}

/* =========================================================================
   5. Loader, cursor, modal
   ========================================================================= */
.mx-loader { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; align-content: center; gap: 26px; background: var(--ink); transition: opacity .6s .1s, visibility .6s .1s; }
.mx-loader__logo .mx-logo { height: 44px; animation: mx-loader-in 1s var(--ease-out) both; }
.mx-loader__bar { width: 180px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.mx-loader__bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: mx-loader-bar 1.1s var(--ease) infinite; }
@keyframes mx-loader-in { from { opacity: 0; transform: translateY(12px); filter: blur(8px); } to { opacity: 1; transform: none; } }
@keyframes mx-loader-bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.mx-loaded .mx-loader, html:not(.mx-js) .mx-loader { opacity: 0; visibility: hidden; }

.mx-cursor { position: fixed; top: 0; left: 0; z-index: 2500; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid rgba(255, 138, 31, .7); pointer-events: none; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s; mix-blend-mode: difference; }
.mx-cursor.is-on { opacity: 1; }
.mx-cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 138, 31, .18); }
@media (pointer: coarse) { .mx-cursor { display: none; } }

.mx-modal { position: fixed; inset: 0; z-index: 2800; display: grid; place-items: center; padding: 24px; background: rgba(4, 6, 12, .88); backdrop-filter: blur(8px); }
.mx-modal[hidden] { display: none; }
.mx-modal__box { width: min(1100px, 100%); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lg); animation: mx-pop .5s var(--ease-out); }
.mx-modal__box video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.mx-modal__close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
@keyframes mx-pop { from { opacity: 0; transform: scale(.94) translateY(20px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   6. Hero (home) and page hero
   ========================================================================= */
.mx-hero, .mx-phero { position: relative; isolation: isolate; overflow: hidden; color: var(--text-d); background: var(--ink); }
.mx-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 120px; }
.mx-hero__flow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; }
.mx-hero__grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%); animation: mx-grid 30s linear infinite; }
@keyframes mx-grid { to { background-position: 64px 64px, 64px 64px; } }
.mx-hero__aurora { position: absolute; inset: -20%; z-index: -3; filter: blur(80px); opacity: .7; }
.mx-hero__aurora span { position: absolute; border-radius: 50%; animation: mx-drift 22s ease-in-out infinite alternate; }
.mx-hero__aurora span:nth-child(1) { width: 45vw; height: 45vw; left: -5%; top: 10%; background: radial-gradient(circle, rgba(255, 61, 46, .55), transparent 65%); }
.mx-hero__aurora span:nth-child(2) { width: 40vw; height: 40vw; right: 0; top: -5%; background: radial-gradient(circle, rgba(124, 92, 255, .5), transparent 65%); animation-delay: -7s; }
.mx-hero__aurora span:nth-child(3) { width: 35vw; height: 35vw; right: 20%; bottom: -10%; background: radial-gradient(circle, rgba(46, 230, 214, .32), transparent 65%); animation-delay: -14s; }
@keyframes mx-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vh) scale(1.15); } 100% { transform: translate(-4vw, -3vh) scale(.92); } }
.mx-hero::after, .mx-phero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--ink)); }

.mx-hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.mx-hero__title { font-size: clamp(2.5rem, 4.7vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; color: #fff; margin-bottom: 26px; }
.mx-hero__text { font-size: 19.5px; line-height: 1.65; color: var(--text-d2); max-width: 560px; margin-bottom: 36px; }
.mx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.mx-hero__note { display: flex; align-items: center; gap: 10px; margin: 34px 0 0; font-size: 14.5px; color: var(--text-d2); }
.mx-hero__note .mx-ico { width: 20px; height: 20px; color: var(--brand-2); }
.mx-hero__visual { position: relative; perspective: 1400px; }
.mx-scroll { position: absolute; left: 50%; bottom: 30px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 20px; }
.mx-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: mx-scroll 1.8s infinite; }
@keyframes mx-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.mx-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; color: #fff; background: rgba(17, 26, 48, .78); border: 1px solid var(--line-d); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); animation: mx-bob 6s ease-in-out infinite; }
.mx-float .mx-ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--grad); }
.mx-float strong { display: block; font-size: 14px; }
.mx-float em { display: block; font-style: normal; font-size: 12px; color: var(--text-d2); }
.mx-float--a { left: -34px; bottom: 16%; }
.mx-float--b { right: -20px; top: -62px; animation-delay: -3s; }
.mx-float--b .mx-ico { background: var(--grad-tech); }
@keyframes mx-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.mx-phero { padding: calc(var(--header-h) + 90px) 0 120px; }
.mx-phero__inner { position: relative; max-width: 940px; }
.mx-phero__title { font-size: clamp(2.3rem, 5vw, 4.3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; color: #fff; margin-bottom: 22px; }
.mx-phero__text { font-size: 19px; color: var(--text-d2); max-width: 720px; margin: 0; }
.mx-phero__icon { position: absolute; right: 6%; top: 50%; width: clamp(160px, 22vw, 300px); height: clamp(160px, 22vw, 300px); margin-top: -120px; color: rgba(255, 255, 255, .06); }
.mx-phero__icon .mx-ico { width: 100%; height: 100%; stroke-width: .6; }

/* =========================================================================
   7. Dashboard mock-up
   ========================================================================= */
.mx-dash { position: relative; border-radius: 22px; overflow: hidden; color: var(--text-d); background: linear-gradient(180deg, rgba(25, 36, 63, .92), rgba(11, 16, 32, .96)); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset; transform-style: preserve-3d; transition: transform .6s var(--ease); font-size: 13px; }
.mx-dash::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 60%, rgba(255, 138, 31, .9), rgba(46, 230, 214, .8), transparent 85%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: mx-rot 6s linear infinite; pointer-events: none; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes mx-rot { to { --a: 360deg; } }
.mx-dash__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-d); background: rgba(255, 255, 255, .02); }
.mx-dash__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mx-dash__bar i:nth-child(2) { background: #febc2e; } .mx-dash__bar i:nth-child(3) { background: #28c840; }
.mx-dash__url { margin-left: 12px; padding: 4px 12px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--text-d2); font-size: 12px; }
.mx-dash__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #6ef0a8; }
.mx-dash__live b { width: 7px; height: 7px; border-radius: 50%; background: #2ee08a; box-shadow: 0 0 0 0 rgba(46, 224, 138, .7); animation: mx-live 1.6s infinite; }
@keyframes mx-live { 70% { box-shadow: 0 0 0 8px rgba(46, 224, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 224, 138, 0); } }
.mx-dash__body { display: flex; }
.mx-dash__side { display: flex; flex-direction: column; gap: 6px; padding: 14px 10px; border-right: 1px solid var(--line-d); }
.mx-dash__side span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--text-d2); }
.mx-dash__side span.is-on { color: #fff; background: var(--grad); box-shadow: 0 8px 18px -8px rgba(255, 61, 46, .8); }
.mx-dash__side .mx-ico { width: 18px; height: 18px; }
.mx-dash__main { flex: 1; min-width: 0; padding: 16px; display: grid; gap: 14px; }
.mx-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mx-kpi { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); }
.mx-kpi em { display: block; font-style: normal; color: var(--text-d2); font-size: 11.5px; }
.mx-kpi strong { display: block; font: 700 22px/1.25 var(--f-head); color: #fff; }
.mx-kpi small { font-size: 11px; color: var(--text-d2); }
.mx-kpi small.is-up { color: #6ef0a8; }
.mx-dash__chart { padding: 12px 14px 6px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-d); }
.mx-dash__chart-head { display: flex; justify-content: space-between; color: var(--text-d2); font-size: 12px; margin-bottom: 4px; }
.mx-legend i { display: inline-block; width: 14px; height: 3px; margin: 0 5px 2px 10px; border-radius: 2px; vertical-align: middle; }
.mx-legend i.a { background: #ff6a3d; } .mx-legend i.b { background: var(--cyan); }
.mx-dash__chart svg { display: block; width: 100%; height: 120px; overflow: visible; }
.mx-dash__gridlines path { stroke: rgba(255, 255, 255, .07); stroke-width: 1; fill: none; }
.mx-dash__line { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mx-dash__line--a { stroke: #ff6a3d; filter: drop-shadow(0 4px 10px rgba(255, 106, 61, .6)); }
.mx-dash__line--b { stroke: var(--cyan); stroke-dasharray: 5 6; opacity: .9; }
.mx-dash__dot { fill: #fff; stroke: #ff6a3d; stroke-width: 3; vector-effect: non-scaling-stroke; }
.mx-dash__row { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr; gap: 10px; }
.mx-dash__row > * { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-d); }
.mx-dash__bars { display: flex; align-items: flex-end; gap: 5px; height: 84px; }
.mx-dash__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--violet), rgba(124, 92, 255, .25)); transform-origin: bottom; animation: mx-bar 3.2s ease-in-out infinite alternate; }
.mx-dash__bars i:nth-child(3n) { background: linear-gradient(180deg, var(--cyan), rgba(46, 230, 214, .2)); animation-delay: -1s; }
.mx-dash__bars i:nth-child(4n) { animation-delay: -2s; }
@keyframes mx-bar { 0% { transform: scaleY(.55); } 100% { transform: scaleY(1); } }
.mx-dash__donut { position: relative; display: grid; place-items: center; }
.mx-dash__donut svg { width: 76px; height: 76px; transform: rotate(-90deg); }
.mx-dash__donut circle { fill: none; stroke-width: 5; }
.mx-dash__donut .t { stroke: rgba(255, 255, 255, .08); }
.mx-dash__donut .v { stroke: var(--brand-2); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease-out); }
.mx-dash.is-in .mx-dash__donut .v, html:not(.mx-js) .mx-dash__donut .v { stroke-dashoffset: 8; }
.mx-dash__donut span { position: absolute; text-align: center; line-height: 1.1; }
.mx-dash__donut strong { display: block; font: 700 15px var(--f-head); color: #fff; }
.mx-dash__donut em { font-style: normal; font-size: 10px; color: var(--text-d2); }
.mx-dash__alerts { list-style: none; margin: 0; display: grid; align-content: center; gap: 9px; font-size: 12px; color: var(--text-d2); }
.mx-dash__alerts li { display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateX(10px); transition: opacity .6s, transform .6s var(--ease-out); }
.mx-dash.is-in .mx-dash__alerts li, html:not(.mx-js) .mx-dash__alerts li { opacity: 1; transform: none; }
.mx-dash.is-in .mx-dash__alerts li:nth-child(2) { transition-delay: .4s; } .mx-dash.is-in .mx-dash__alerts li:nth-child(3) { transition-delay: .8s; }
.mx-dash__alerts b { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mx-dash__alerts b.ok { background: #2ee08a; } .mx-dash__alerts b.warn { background: #febc2e; animation: mx-live 1.6s infinite; }
.mx-dash--wide { font-size: 13.5px; }

/* =========================================================================
   8. Sections
   ========================================================================= */
.mx-section { position: relative; padding: 120px 0; }
.mx-section--tight { padding: 70px 0; }
.mx-section--soft { background: var(--paper); }
.mx-section--dark { color: var(--text-d); background: var(--ink); overflow: hidden; }
.mx-section--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 400px at 10% 0%, rgba(255, 61, 46, .18), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(124, 92, 255, .2), transparent 60%); }
.mx-section--dark .mx-lead { color: var(--text-d2); }
.mx-section--dark .mx-container { position: relative; }
.mx-section--stats { padding: 30px 0 90px; }
.mx-home .mx-section--tight:first-of-type, .mx-hero + span + .mx-section { background: var(--ink); }
.mx-head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.mx-head .mx-kicker { justify-content: center; }
.mx-head .mx-lead { margin: 0 auto; }

/* Clients marquee (on dark band below hero) */
.mx-clients__title { text-align: center; margin: 0 0 30px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-d2); }
.mx-marquee { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mx-marquee + .mx-marquee { margin-top: 14px; }
.mx-marquee__track { display: flex; gap: 16px; width: max-content; animation: mx-marquee 50s linear infinite; }
.mx-marquee--rev .mx-marquee__track { animation-direction: reverse; animation-duration: 58s; }
.mx-marquee:hover .mx-marquee__track { animation-play-state: paused; }
@keyframes mx-marquee { to { transform: translateX(calc(-50% - 8px)); } }
.mx-client { flex: 0 0 auto; display: grid; place-items: center; width: 168px; height: 84px; padding: 14px 18px; border-radius: 16px; background: #fff; transition: transform .4s var(--ease); }
.mx-client:hover { transform: translateY(-4px); }
.mx-client img { max-height: 54px; width: auto; object-fit: contain; transition: transform .4s var(--ease); }
.mx-client:hover img { transform: scale(1.06); }
.mx-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.mx-logo-tile { display: grid; place-items: center; height: 104px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.mx-logo-tile:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.mx-logo-tile img { max-height: 64px; width: auto; object-fit: contain; transition: transform .4s var(--ease); }
.mx-logo-tile:hover img { transform: scale(1.06); }

/* Stats */
.mx-home .mx-section--stats { background: var(--ink); color: var(--text-d); }
.mx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-d); border-radius: var(--r-lg); background: rgba(255, 255, 255, .02); }
.mx-stat { position: relative; padding: 34px 30px; text-align: center; }
.mx-stat + .mx-stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line-d); }
.mx-stat strong { display: block; font: 800 clamp(2.2rem, 4vw, 3.3rem)/1 var(--f-head); letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.mx-stat > span { font-size: 15px; color: var(--text-d2); }

/* Pillars */
.mx-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mx-pillar { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--r-lg); color: var(--text); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.mx-pillar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 138, 31, .12), transparent 45%); opacity: 0; transition: opacity .4s; }
.mx-pillar:hover { color: var(--text); transform: translateY(-10px); box-shadow: 0 40px 70px -35px rgba(13, 19, 36, .45); border-color: rgba(255, 138, 31, .4); }
.mx-pillar:hover::before { opacity: 1; }
.mx-pillar__ico, .mx-card__ico, .mx-module__ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #fff; background: var(--grad); box-shadow: 0 14px 28px -14px rgba(255, 61, 46, .8); margin-bottom: 22px; transition: transform .6s var(--ease); }
.mx-pillar__ico .mx-ico, .mx-card__ico .mx-ico, .mx-module__ico .mx-ico { width: 26px; height: 26px; }
.mx-pillar:hover .mx-pillar__ico, .mx-card:hover .mx-card__ico, .mx-module:hover .mx-module__ico { transform: rotate(-8deg) scale(1.08); }
.mx-pillar:nth-child(2) .mx-pillar__ico { background: var(--grad-tech); box-shadow: 0 14px 28px -14px rgba(124, 92, 255, .8); }
.mx-pillar:nth-child(3) .mx-pillar__ico { background: linear-gradient(120deg, #ff3d2e, #c2185b); }
.mx-pillar:nth-child(4) .mx-pillar__ico { background: linear-gradient(120deg, #00b894, #2ee6d6); box-shadow: 0 14px 28px -14px rgba(0, 184, 148, .8); }
.mx-pillar h3 { position: relative; font-size: 21px; }
.mx-pillar p { position: relative; color: var(--text-2); font-size: 15.5px; }
.mx-pillar ul { position: relative; list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.mx-pillar li { padding: 5px 10px; border-radius: 8px; background: var(--paper); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.mx-pillar__more { position: relative; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); }
.mx-pillar__more .mx-ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.mx-pillar:hover .mx-pillar__more .mx-ico { transform: translateX(6px); }

/* Steps */
.mx-steps { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.mx-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 74px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .06)); }
.mx-steps::after { content: ""; position: absolute; left: 6%; right: 6%; top: 74px; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(var(--sp, 0)); transition: transform 2.2s var(--ease-out); box-shadow: 0 0 18px rgba(255, 138, 31, .8); }
.mx-steps.is-in::after { --sp: 1; }
.mx-steps li { position: relative; padding: 0 6px; }
.mx-steps__n { display: block; font: 700 13px var(--f-head); letter-spacing: .14em; color: var(--brand-2); margin-bottom: 16px; }
.mx-steps__ico { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 26px; border-radius: 22px; color: #fff; background: var(--ink-3); border: 1px solid var(--line-d); box-shadow: 0 0 0 8px var(--ink); transition: background .5s, transform .5s var(--ease); }
.mx-steps li:hover .mx-steps__ico { background: var(--grad); transform: translateY(-6px); }
.mx-steps__ico .mx-ico { width: 30px; height: 30px; }
.mx-steps h3 { font-size: 22px; color: #fff; }
.mx-steps p { color: var(--text-d2); font-size: 15.5px; }

/* Split layout */
.mx-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.mx-split--reverse .mx-split__copy { order: 2; }
.mx-checks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.mx-checks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 15.5px; }
.mx-checks .mx-ico { flex: 0 0 22px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: #fff; background: var(--grad); stroke-width: 2.6; margin-top: 2px; }
.mx-photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); transition: transform .6s var(--ease); }
.mx-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease-out); }
.mx-photo:hover img { transform: scale(1.1); }
.mx-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 10, 20, .85)), linear-gradient(120deg, rgba(255, 61, 46, .25), transparent 50%); }
.mx-photo figcaption { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; color: #fff; font-weight: 600; font-size: 15px; }

/* Cards */
.mx-cards { display: grid; gap: 22px; }
.mx-cards--2 { grid-template-columns: repeat(2, 1fr); }
.mx-cards--3 { grid-template-columns: repeat(3, 1fr); }
.mx-cards--4 { grid-template-columns: repeat(4, 1fr); }
.mx-card { position: relative; padding: 32px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.mx-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.mx-card:hover { transform: translateY(-8px); box-shadow: 0 36px 70px -36px rgba(13, 19, 36, .45); }
.mx-card:hover::after { transform: scaleX(1); }
.mx-card h3 { font-size: 20px; }
.mx-card p { color: var(--text-2); font-size: 15.5px; margin-bottom: 0; }
.mx-card--dark { color: var(--text-d); background: rgba(255, 255, 255, .03); border-color: var(--line-d); box-shadow: none; backdrop-filter: blur(6px); }
.mx-card--dark p { color: var(--text-d2); }
.mx-card--dark:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 138, 31, .35); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.mx-card--wide { margin-top: 22px; }
.mx-card__label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.mx-card--quote blockquote { margin: 0 0 24px; font-size: 17px; line-height: 1.7; color: var(--text-d); }
.mx-card--quote figcaption strong { display: block; color: #fff; }
.mx-card--quote figcaption em { font-style: normal; font-size: 14px; color: var(--text-d2); }

/* Chips (industries) */
.mx-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.mx-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 14px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); font-weight: 600; font-size: 15.5px; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.mx-chips li:hover { transform: translateY(-5px) scale(1.03); border-color: rgba(255, 138, 31, .5); box-shadow: 0 22px 40px -20px rgba(255, 61, 46, .45); }
.mx-chips .mx-ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: #fff; background: var(--grad); }
.mx-chips li:nth-child(3n+2) .mx-ico { background: var(--grad-tech); }
.mx-chips li:nth-child(3n) .mx-ico { background: linear-gradient(120deg, #00b894, #2ee6d6); }

/* Video band */
.mx-video { position: relative; min-height: 520px; display: grid; align-items: end; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--ink-2); box-shadow: var(--sh-lg); }
.mx-video__bg { position: absolute; top: 0; right: 0; left: auto; width: 62%; height: 100%; object-fit: cover; opacity: .75; filter: saturate(1.1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
@media (max-width: 760px) { .mx-video__bg { width: 100%; opacity: .3; } }
.mx-video__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 10, 20, .97) 0%, rgba(7, 10, 20, .8) 45%, rgba(7, 10, 20, .15) 100%); }
.mx-video__copy { position: relative; padding: 60px; max-width: 640px; }
.mx-video__copy p { font-size: 18px; color: var(--text-d2); }
.mx-play { display: inline-flex; align-items: center; gap: 16px; margin-top: 10px; padding: 0; border: 0; background: none; color: #fff; font: 600 16px var(--f-body); cursor: pointer; }
.mx-play span { position: relative; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--grad); box-shadow: 0 18px 40px -14px rgba(255, 61, 46, .9); transition: transform .4s var(--ease); }
.mx-play span::before, .mx-play span::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 138, 31, .7); animation: mx-ripple 2.4s var(--ease-out) infinite; }
.mx-play span::after { animation-delay: 1.2s; }
@keyframes mx-ripple { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.mx-play .mx-ico { width: 28px; height: 28px; fill: #fff; stroke: none; margin-left: 4px; }
.mx-play:hover span { transform: scale(1.08); }

/* Testimonials slider */
.mx-quotes { position: relative; max-width: 980px; margin: 0 auto; }
.mx-quotes__viewport { overflow: hidden; }
.mx-quotes__track { display: flex; transition: transform .9s var(--ease-out); }
.mx-quote { flex: 0 0 100%; margin: 0; padding: 10px 40px; text-align: center; }
.mx-quote__mark { width: 60px; height: 60px; color: var(--brand-2); opacity: .9; margin: 0 auto 22px; }
.mx-quote blockquote { margin: 0 0 34px; font: 500 clamp(1.15rem, 2.2vw, 1.55rem)/1.55 var(--f-head); letter-spacing: -.01em; color: var(--text); }
.mx-quote blockquote p { margin-bottom: .8em; }
.mx-quote figcaption { display: inline-flex; align-items: center; gap: 16px; text-align: left; }
.mx-quote figcaption img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(255, 138, 31, .7); }
.mx-quote figcaption strong { display: block; font-family: var(--f-head); font-size: 16.5px; }
.mx-quote figcaption em { display: block; max-width: 520px; font-style: normal; font-size: 14.5px; color: var(--text-2); }
.mx-quotes__nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; }
.mx-quotes__nav button[data-prev], .mx-quotes__nav button[data-next] { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .35s var(--ease); }
.mx-quotes__nav button[data-prev]:hover, .mx-quotes__nav button[data-next]:hover { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.08); }
.mx-quotes__dots { display: flex; gap: 8px; }
.mx-quotes__dots button { position: relative; width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: #d8dcea; cursor: pointer; overflow: hidden; }
.mx-quotes__dots button::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.mx-quotes__dots button[aria-current="true"]::after { animation: mx-dot var(--dur, 8s) linear forwards; }
@keyframes mx-dot { to { transform: scaleX(1); } }

/* Certificates */
.mx-certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; }
.mx-cert { margin: 0; padding: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .6s var(--ease); }
.mx-cert__img { border-radius: 16px; overflow: hidden; background: var(--paper); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.mx-cert__img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .8s var(--ease-out); }
.mx-cert:hover .mx-cert__img img { transform: scale(1.04); }
.mx-cert figcaption { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 20px 8px 6px; }
.mx-cert__badge { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: var(--grad); }
.mx-cert__badge .mx-ico { width: 24px; height: 24px; }
.mx-cert strong { font: 700 18px var(--f-head); }
.mx-cert em { font-style: normal; font-size: 14.5px; color: var(--text-2); }

/* Contact */
.mx-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.mx-contact__list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.mx-contact__list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.mx-contact__list li:hover { transform: translateX(6px); border-color: rgba(255, 138, 31, .45); }
.mx-contact__list li > span { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--grad); }
.mx-contact__list .mx-ico { width: 22px; height: 22px; }
.mx-contact__list em { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.mx-contact__list a { color: var(--text); font-weight: 600; }
.mx-contact__list a:hover { color: var(--brand); }
.mx-contact__form { position: relative; padding: 44px; border-radius: var(--r-lg); background: var(--ink); color: var(--text-d); box-shadow: var(--sh-lg); overflow: hidden; }
.mx-contact__form::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 61, 46, .35), transparent 65%); pointer-events: none; }
.mx-contact__form > * { position: relative; }
.mx-contact__form .row { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 14px; }
.mx-contact__form [class*="col-"] { flex: 1 1 100%; padding: 0; }
.mx-contact__form .col-sm-6, .mx-contact__form .col-md-6, .mx-contact__form .col-lg-4 { flex: 1 1 calc(50% - 7px); }
.mx-contact__form .form_field_wrap { margin: 0; padding: 0; }
.mx-contact__form .pirate_forms_three_inputs, .mx-contact__form .pirate_forms_three_inputs_wrap { display: contents; }
.mx-contact__form input[type="text"], .mx-contact__form input[type="email"], .mx-contact__form input[type="tel"], .mx-contact__form textarea {
	width: 100%; padding: 16px 18px; margin-bottom: 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px;
	background: rgba(255, 255, 255, .05); color: #fff; font: 16px var(--f-body); transition: border-color .3s, background .3s, box-shadow .3s;
}
.mx-contact__form input::placeholder, .mx-contact__form textarea::placeholder { color: rgba(255, 255, 255, .45); }
.mx-contact__form textarea { min-height: 160px; resize: vertical; }
.mx-contact__form input:focus, .mx-contact__form textarea:focus { outline: 0; border-color: var(--brand-2); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(255, 138, 31, .18); }
.mx-contact__form button[type="submit"], .mx-contact__form input[type="submit"] { display: inline-flex; justify-content: center; width: 100%; padding: 17px 28px; border: 0; border-radius: 999px; color: #fff; background: var(--grad); font: 700 16px var(--f-body); cursor: pointer; box-shadow: 0 16px 34px -14px rgba(255, 61, 46, .8); transition: transform .35s var(--ease), box-shadow .35s; }
.mx-contact__form button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(255, 138, 31, .9); }
.mx-contact__form .pirate_forms_thankyou_wrap, .mx-contact__form .pirate_forms_error_box { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; background: rgba(46, 224, 138, .12); color: #9ff3c7; }
.mx-contact__form .pirate_forms_error_box { background: rgba(255, 61, 46, .15); color: #ffb3a8; }
.mx-contact__form label { color: var(--text-d2); font-size: 14px; }

/* CTA band */
.mx-cta { padding: 40px 0 120px; }
.mx-cta__box { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding: 70px 64px; border-radius: 32px; overflow: hidden; color: #fff; background: linear-gradient(120deg, #ff3d2e 0%, #ff6a2a 45%, #ff8a1f 100%); box-shadow: 0 40px 90px -40px rgba(255, 61, 46, .8); }
.mx-cta__box .mx-hero__flow { opacity: .45; mix-blend-mode: soft-light; }
.mx-cta__box::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 85% 120%, rgba(124, 92, 255, .55), transparent 60%); }
.mx-cta__copy { max-width: 680px; }
.mx-cta__copy .mx-h2 { color: #fff; margin-bottom: 12px; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.mx-cta__copy p { margin: 0; font-size: 18px; color: rgba(255, 255, 255, .85); }
.mx-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mx-cta .mx-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); }

/* Products: tabs + modules */
.mx-tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 44px; padding: 6px; width: max-content; max-width: 100%; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.mx-tabs__list button { position: relative; padding: 12px 22px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font: 600 15px var(--f-body); cursor: pointer; transition: color .3s, background .3s; }
.mx-tabs__list button[aria-selected="true"] { color: #fff; background: var(--ink); }
.mx-modules { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mx-modules > span[id] { position: absolute; top: -140px; }
.mx-module { position: relative; padding: 30px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s, border-color .5s; }
.mx-module:hover { transform: translateY(-8px); box-shadow: 0 36px 70px -36px rgba(13, 19, 36, .45); border-color: rgba(255, 138, 31, .4); }
.mx-module.is-hidden { display: none; }
.mx-module__tag { position: absolute; top: 30px; right: 26px; padding: 5px 10px; border-radius: 8px; background: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--text-2); }
.mx-module h3 { font-size: 20px; }
.mx-module p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.mx-module[data-cat="maintenance"] .mx-module__ico { background: var(--grad-tech); box-shadow: 0 14px 28px -14px rgba(124, 92, 255, .8); }
.mx-module[data-cat="safety"] .mx-module__ico { background: linear-gradient(120deg, #ff3d2e, #c2185b); }
.mx-module[data-cat="quality"] .mx-module__ico { background: linear-gradient(120deg, #00b894, #2ee6d6); box-shadow: 0 14px 28px -14px rgba(0, 184, 148, .8); }

/* Goal Zero visual */
.mx-zero { position: relative; display: grid; justify-items: center; gap: 28px; padding: 50px 30px; border-radius: 32px; background: var(--ink); color: #fff; box-shadow: var(--sh-lg); overflow: hidden; }
.mx-zero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 300px at 50% 0%, rgba(255, 61, 46, .35), transparent 70%); }
.mx-zero__ring { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.mx-zero__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.mx-zero__ring circle { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 10; }
.mx-zero__ring circle.v { stroke: url(#none); stroke: var(--brand-2); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.4s var(--ease-out); filter: drop-shadow(0 0 12px rgba(255, 138, 31, .8)); }
.is-in .mx-zero__ring circle.v, html:not(.mx-js) .mx-zero__ring circle.v { stroke-dashoffset: 0; }
.mx-zero__ring strong { font: 800 96px/1 var(--f-head); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mx-zero__ring em { position: absolute; bottom: 58px; font-style: normal; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-d2); }
.mx-zero ul { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.mx-zero li { padding: 14px 6px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); font-size: 13.5px; color: var(--text-d2); }
.mx-zero li b { display: block; font: 800 24px var(--f-head); color: #fff; }

/* Vision */
.mx-vision { text-align: center; max-width: 960px; margin: 0 auto 70px; }
.mx-vision .mx-kicker { justify-content: center; }
.mx-vision blockquote { margin: 0; font: 600 clamp(1.6rem, 3.4vw, 2.6rem)/1.3 var(--f-head); letter-spacing: -.02em; color: #fff; }

/* Jobs accordion */
.mx-jobs { display: grid; gap: 14px; }
.mx-job { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.mx-job[open] { border-color: rgba(255, 138, 31, .45); box-shadow: 0 30px 60px -32px rgba(255, 61, 46, .35); }
.mx-job summary { display: flex; align-items: center; gap: 18px; padding: 22px 26px; cursor: pointer; list-style: none; }
.mx-job summary::-webkit-details-marker { display: none; }
.mx-job__ico { flex: 0 0 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--grad); }
.mx-job__ico .mx-ico { width: 24px; height: 24px; }
.mx-job__title { flex: 1; }
.mx-job__title strong { display: block; font: 700 19px var(--f-head); }
.mx-job__title em { font-style: normal; font-size: 14px; color: var(--text-2); }
.mx-job__plus { position: relative; flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--paper); transition: transform .4s var(--ease), background .3s; }
.mx-job__plus::before, .mx-job__plus::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 2px; border-radius: 2px; background: var(--text); }
.mx-job__plus::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.mx-job[open] .mx-job__plus { background: var(--grad); transform: rotate(180deg); }
.mx-job[open] .mx-job__plus::before, .mx-job[open] .mx-job__plus::after { background: #fff; }
.mx-job[open] .mx-job__plus::after { transform: rotate(0); }
.mx-job__body { padding: 0 26px 26px 94px; color: var(--text-2); font-size: 15.5px; }
.mx-job__body ul { padding-left: 1.2em; }
.mx-job__body li::marker { color: var(--brand-2); }
.mx-job__body strong { color: var(--text); }

/* Prose (pages without designed layout) */
.mx-prose { font-size: 17.5px; color: #283149; }
.mx-prose h2, .mx-prose h3 { color: var(--text); margin-top: 1.6em; }
.mx-prose a { text-decoration: underline; text-underline-offset: 3px; }
.mx-prose img { border-radius: 16px; }
.mx-prose .aligncenter { margin-left: auto; margin-right: auto; }
.mx-prose .alignright { float: right; margin: 6px 0 18px 28px; max-width: 48%; }
.mx-prose .alignleft { float: left; margin: 6px 28px 18px 0; max-width: 48%; }
.mx-prose::after { content: ""; display: table; clear: both; }
.mx-prose hr { height: 2px; border: 0; margin: 2em 0; background: linear-gradient(90deg, transparent, rgba(255, 61, 46, .5), transparent); }
.mx-prose span[style], .mx-prose p[style] { font-family: inherit !important; }
.mx-prose [style*="padding-left"] { padding-left: 0 !important; }

/* Comments */
.mx-comments { margin: 0 0 100px; padding: 44px 48px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.mx-comments__title { font-size: 1.6rem; }
.mx-comments__list { list-style: none; padding: 0; }
.mx-comments .comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.mx-comments .comment-form > p { grid-column: 1 / -1; margin: 0 0 16px; }
.mx-comments .comment-form-author, .mx-comments .comment-form-email { grid-column: auto !important; }
.mx-comments label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.mx-comments input[type="text"], .mx-comments input[type="email"], .mx-comments input[type="url"], .mx-comments textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: 16px var(--f-body); }
.mx-comments textarea { min-height: 150px; }
.mx-comments input:focus, .mx-comments textarea:focus { outline: 0; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(255, 138, 31, .15); }
.mx-comments .comment-form-cookies-consent { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); }
.mx-comments .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.mx-comments .form-submit .mx-btn { border: 0; }

/* 404 */
.mx-404 .mx-container { position: relative; }
.mx-404__code { font: 800 clamp(6rem, 20vw, 13rem)/1 var(--f-head); letter-spacing: -.06em; margin: 0; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mx-pagination { margin-top: 50px; text-align: center; }

/* =========================================================================
   9. Footer
   ========================================================================= */
.mx-footer { position: relative; overflow: hidden; padding: 100px 0 0; color: var(--text-d2); background: #04060d; }
.mx-footer__glow { position: absolute; left: 50%; top: -260px; width: 1000px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 61, 46, .22), transparent); pointer-events: none; }
.mx-footer__top { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 50px; }
.mx-footer__brand p { margin: 22px 0; font-size: 15.5px; max-width: 320px; }
.mx-footer h4 { margin: 6px 0 22px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.mx-footer__menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mx-footer__menu a, .mx-footer__contact a { color: var(--text-d2); font-size: 15.5px; transition: color .3s, transform .3s var(--ease); display: inline-flex; align-items: center; gap: 10px; }
.mx-footer__menu a:hover, .mx-footer__contact a:hover { color: #fff; transform: translateX(5px); }
.mx-footer__contact { display: grid; gap: 14px; align-content: start; }
.mx-footer__contact p { display: flex; gap: 10px; margin: 0; font-size: 15px; }
.mx-footer__contact .mx-ico { flex: 0 0 20px; width: 20px; height: 20px; color: var(--brand-2); }
.mx-socials { display: flex; gap: 10px; }
.mx-socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d); transition: all .35s var(--ease); }
.mx-socials a:hover { color: #fff; background: var(--grad); transform: translateY(-4px); border-color: transparent; }
.mx-socials .mx-ico { width: 18px; height: 18px; }
.mx-footer__top + .mx-footer__bottom { margin-top: 64px; }
.mx-footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-d); font-size: 14.5px; }
.mx-footer__bottom p { margin: 0; }
.mx-totop { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .07); transition: all .35s var(--ease); }
.mx-totop:hover { color: #fff; background: var(--grad); transform: translateY(-4px); }

/* =========================================================================
   10. Motion (only with JavaScript on)
   ========================================================================= */
.mx-js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); }
.mx-js [data-reveal="left"] { transform: translateX(-60px); }
.mx-js [data-reveal="right"] { transform: translateX(60px); }
.mx-js [data-reveal="zoom"] { transform: scale(.9); filter: blur(6px); }
.mx-js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.mx-js [data-delay="1"] { transition-delay: .1s; } .mx-js [data-delay="2"] { transition-delay: .2s; } .mx-js [data-delay="3"] { transition-delay: .3s; } .mx-js [data-delay="4"] { transition-delay: .4s; }
.mx-js .mx-chips [data-reveal].is-in { transition-delay: calc(var(--i, 0) * 50ms); }
.mx-js [data-split] .mx-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.mx-js [data-split] .mx-w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 60ms + .15s); }
.mx-js [data-split].is-in .mx-w > span { transform: none; }
.mx-js [data-split] .mx-grad-text { background: none; -webkit-background-clip: initial; background-clip: initial; color: inherit; }
.mx-js [data-split] .mx-grad-text .mx-w > span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mx-js .mx-prose > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.mx-js .mx-prose > .is-in { opacity: 1; transform: none; }

/* =========================================================================
   11. Responsive
   ========================================================================= */
@media (max-width: 1100px) {
	.mx-hero__inner, .mx-split, .mx-contact { grid-template-columns: 1fr; gap: 56px; }
	.mx-split--reverse .mx-split__copy { order: 0; }
	.mx-hero__visual { max-width: 680px; }
	.mx-pillars, .mx-cards--4 { grid-template-columns: repeat(2, 1fr); }
	.mx-modules, .mx-cards--3 { grid-template-columns: repeat(2, 1fr); }
	.mx-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 22px; }
	.mx-steps::before, .mx-steps::after { display: none; }
	.mx-footer__top { grid-template-columns: 1fr 1fr; }
	.mx-float--a { left: 0; }
	.mx-float--b { right: 0; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	:root { --header-h: 66px; }
	.mx-container { padding: 0 18px; }
	.mx-logo { height: 28px; }
	.mx-section { padding: 84px 0; }
	.mx-section--tight { padding: 54px 0; }
	.mx-head { margin-bottom: 44px; }
	.mx-hero { padding: calc(var(--header-h) + 40px) 0 90px; min-height: auto; }
	.mx-hero__text { font-size: 17.5px; }
	.mx-hero__actions .mx-btn { flex: 1 1 auto; justify-content: center; }
	.mx-float { display: none; }
	.mx-dash { font-size: 12px; }
	.mx-dash__side { display: none; }
	.mx-dash__row { grid-template-columns: 1fr 1fr; }
	.mx-dash__alerts { display: none !important; }
	.mx-kpi strong { font-size: 18px; }
	.mx-stats { grid-template-columns: 1fr 1fr; }
	.mx-stat:nth-child(3)::before { display: none; }
	.mx-stat { padding: 26px 16px; }
	.mx-pillars, .mx-cards--2, .mx-cards--3, .mx-cards--4, .mx-modules, .mx-steps, .mx-certs, .mx-checks { grid-template-columns: 1fr; }
	.mx-phero { padding: calc(var(--header-h) + 60px) 0 90px; }
	.mx-phero__icon { display: none; }
	.mx-video { min-height: 440px; }
	.mx-video__copy { padding: 32px 24px; }
	.mx-quote { padding: 0 6px; }
	.mx-cta { padding: 20px 0 84px; }
	.mx-cta__box { padding: 44px 26px; border-radius: 26px; }
	.mx-contact__form { padding: 28px 20px; }
	.mx-contact__form .col-sm-6, .mx-contact__form .col-md-6, .mx-contact__form .col-lg-4 { flex-basis: 100%; }
	.mx-tabs__list { border-radius: 20px; width: 100%; }
	.mx-tabs__list button { padding: 10px 14px; font-size: 14px; }
	.mx-zero ul { grid-template-columns: repeat(2, 1fr); }
	.mx-job__body { padding: 0 20px 22px; }
	.mx-footer__top { grid-template-columns: 1fr; gap: 36px; }
	.mx-comments { padding: 28px 20px; }
	.mx-comments .comment-form { grid-template-columns: 1fr; }
	.mx-logo-grid { grid-template-columns: repeat(2, 1fr); }
	.mx-prose .alignright, .mx-prose .alignleft { float: none; max-width: 100%; margin: 0 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.mx-js [data-reveal], .mx-js [data-split] .mx-w > span, .mx-js .mx-prose > * { opacity: 1 !important; transform: none !important; filter: none !important; }
	.mx-hero__flow, .mx-cursor, .mx-video__bg { display: none; }
	.mx-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
	.mx-marquee__track [aria-hidden="true"] { display: none; }
}

/* =========================================================================
   12. AI + smart factory theme (v2.1)
   ========================================================================= */
/* Loader with spinning gears */
.mx-loader__gears { position: relative; width: 150px; height: 110px; }
.mx-gear { fill: none; stroke: var(--brand-2); stroke-width: 2.5; fill-rule: evenodd; animation: mx-spin 6s linear infinite; }
.mx-loader__gear { position: absolute; left: 10px; top: 4px; fill: rgba(255, 138, 31, .12); }
.mx-loader__gear--sm { left: 92px; top: 46px; stroke: var(--brand); animation-direction: reverse; animation-duration: 3.6s; }
.mx-loader__txt { margin: 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-d2); }
@keyframes mx-spin { to { transform: rotate(360deg); } }

/* Industrial skyline at the bottom of heroes */
.mx-skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 0; pointer-events: none; opacity: .95; }
.mx-skyline svg { width: 100%; height: 100%; display: block; }
.mx-hero__inner, .mx-phero__inner, .mx-scroll { position: relative; z-index: 2; }
.mx-hero::after, .mx-phero::after { z-index: 1; height: 60px; }
.mx-sk-lights circle { fill: #ff3d2e; animation: mx-blink 2.2s steps(2, jump-none) infinite; }
.mx-sk-lights circle:nth-child(2n) { animation-delay: -1.1s; }
.mx-sk-windows rect { animation: mx-win 5s ease-in-out infinite; opacity: .7; }
.mx-sk-windows rect:nth-child(2n) { animation-delay: -2.4s; }
.mx-sk-flow { stroke: var(--cyan); stroke-dasharray: 2 26; stroke-width: 3; stroke-linecap: round; animation: mx-dash 2.4s linear infinite; }
.mx-sk-flare path { transform-box: fill-box; transform-origin: 50% 100%; animation: mx-flare .35s ease-in-out infinite alternate; filter: drop-shadow(0 0 8px #ff8a1f); }
.mx-sk-smoke circle, .mx-f-smoke circle { transform-box: fill-box; transform-origin: center; animation: mx-smoke 6s ease-out infinite; }
.mx-sk-smoke circle:nth-child(2n), .mx-f-smoke circle:nth-child(2) { animation-delay: -3s; }
.mx-f-smoke circle:nth-child(3) { animation-delay: -1.5s; }
@keyframes mx-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes mx-win { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes mx-dash { to { stroke-dashoffset: -56; } }
@keyframes mx-flare { from { transform: scale(.85, .8); } to { transform: scale(1.1, 1.2); } }
@keyframes mx-smoke { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(40px, -90px) scale(3.2); opacity: 0; } }

/* Page hero: photo background + neural network variant */
.mx-phero__bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: .32; transform: scale(1.08); animation: mx-kb 24s ease-in-out infinite alternate; }
.mx-phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(7, 10, 20, .55) 60%, rgba(7, 10, 20, .8)); }
@keyframes mx-kb { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.18) translate(-2%, -2%); } }
.mx-phero--ai { min-height: 88vh; display: flex; align-items: center; }
.mx-phero--ai .mx-hero__flow { opacity: 1; }
.mx-phero__actions { margin-top: 34px; }

/* Dark AI sections: circuit texture */
.mx-section--ai::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 0); background-size: 26px 26px;
	mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.mx-section--ai .mx-container { z-index: 1; }

/* Home AI intro */
.mx-ai-intro { max-width: 860px; margin: 0 auto 50px; text-align: center; }
.mx-ai-intro .mx-kicker { justify-content: center; }
.mx-ai-intro .mx-lead { margin: 0 auto 26px; }
.mx-ai-intro .mx-hero__actions { justify-content: center; }
.mx-ai-pills { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mx-ai-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); color: #fff; font-size: 14.5px; font-weight: 600; }
.mx-ai-pills .mx-ico { width: 18px; height: 18px; color: var(--cyan); }

/* Smart factory digital twin */
.mx-factory { position: relative; border-radius: 30px; padding: 10px; background: linear-gradient(180deg, rgba(25, 36, 63, .55), rgba(11, 16, 32, .8)); border: 1px solid var(--line-d); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9), inset 0 0 80px rgba(124, 92, 255, .08); overflow: hidden; }
.mx-factory::before { content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(46, 230, 214, .08), transparent); animation: mx-sweep 6s linear infinite; pointer-events: none; }
@keyframes mx-sweep { to { top: 110%; } }
.mx-factory__svg { display: block; width: 100%; height: auto; }
.mx-f-tag { font: 700 13px var(--f-head); fill: rgba(255, 255, 255, .55); letter-spacing: .08em; }
.mx-f-gear { fill: rgba(255, 255, 255, .025); stroke: rgba(255, 255, 255, .1); stroke-width: 2; fill-rule: evenodd; transform-box: fill-box; transform-origin: center; animation: mx-spin 18s linear infinite; }
.mx-f-gear--b { animation-direction: reverse; animation-duration: 11.8s; }
.mx-f-gear--c { animation-duration: 10s; }
.mx-f-link { fill: none; stroke: rgba(124, 92, 255, .28); stroke-width: 1.5; stroke-dasharray: 3 7; animation: mx-dash 3s linear infinite reverse; }
.mx-f-pipes path { fill: none; stroke: #1e2a4a; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.mx-f-flow path { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 10 18; animation: mx-dash 1.2s linear infinite reverse; filter: drop-shadow(0 0 5px rgba(46, 230, 214, .8)); }
.mx-f-level { animation: mx-level 9s ease-in-out infinite; }
.mx-f-wave { animation: mx-wave 2.4s linear infinite; }
@keyframes mx-level { 0%, 100% { transform: translateY(10px); } 50% { transform: translateY(-46px); } }
@keyframes mx-wave { to { transform: translateX(-120px); } }
.mx-f-blink { fill: #ff3d2e; animation: mx-blink 1.6s infinite; }
.mx-f-blink--2 { fill: #2ee08a; animation-delay: -.6s; }
.mx-f-blink--3 { fill: #febc2e; animation-delay: -1.1s; }
.mx-f-heat { animation: mx-heat 2s ease-in-out infinite alternate; }
@keyframes mx-heat { from { opacity: .45; } to { opacity: 1; filter: drop-shadow(0 0 8px #ff5a36); } }
.mx-f-impeller, .mx-f-roller { transform-box: fill-box; transform-origin: center; animation: mx-spin 1s linear infinite; }
.mx-f-roller { animation-duration: 1.4s; }
.mx-f-agitator { transform-box: fill-box; transform-origin: center; animation: mx-agit 1.1s ease-in-out infinite alternate; }
@keyframes mx-agit { from { transform: scaleX(1); } to { transform: scaleX(-1); } }
.mx-f-belt { animation: mx-dash 1s linear infinite reverse; }
.mx-f-box { animation: mx-box 9s linear infinite; }
@keyframes mx-box { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(260px); opacity: 0; } }
.mx-f-arm1 { transform-origin: 905px 414px; animation: mx-arm1 4.5s ease-in-out infinite; }
.mx-f-arm2 { transform-origin: 905px 330px; animation: mx-arm2 4.5s ease-in-out infinite; }
@keyframes mx-arm1 { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(16deg); } }
@keyframes mx-arm2 { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(48deg); } }
.mx-f-windows rect { fill: #ffb347; animation: mx-win 3s ease-in-out infinite; }
.mx-f-windows rect:nth-child(2) { animation-delay: -1s; } .mx-f-windows rect:nth-child(3) { animation-delay: -2s; }
.mx-f-smoke circle { fill: rgba(200, 210, 235, .18); }
.mx-f-sensor__dot { fill: #2ee08a; }
.mx-f-sensor__ring { fill: none; stroke: #2ee08a; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: mx-ring 2.2s ease-out infinite; }
.mx-f-sensor:nth-child(3) .mx-f-sensor__dot { fill: #febc2e; }
.mx-f-sensor:nth-child(3) .mx-f-sensor__ring { stroke: #febc2e; animation-duration: 1.1s; }
@keyframes mx-ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.8); opacity: 0; } }
.mx-f-packet { fill: var(--cyan); filter: drop-shadow(0 0 6px rgba(46, 230, 214, .9)); }
.mx-f-packet--b { fill: var(--brand-2); filter: drop-shadow(0 0 6px rgba(255, 138, 31, .9)); }
.mx-f-core__glow { transform-box: fill-box; transform-origin: center; animation: mx-core 2.6s ease-in-out infinite; }
@keyframes mx-core { 0%, 100% { transform: scale(.85); opacity: .6; } 50% { transform: scale(1.1); opacity: 1; } }
.mx-f-core__ring { fill: none; stroke: rgba(255, 138, 31, .6); stroke-width: 2; stroke-dasharray: 6 10; transform-box: fill-box; transform-origin: center; animation: mx-spin 10s linear infinite; }
.mx-f-core__ring--2 { stroke: rgba(46, 230, 214, .45); stroke-dasharray: 2 14; animation-direction: reverse; animation-duration: 16s; }
.mx-f-core__txt { font: 800 26px var(--f-head); fill: #fff; letter-spacing: .04em; }
.mx-factory__tags { list-style: none; margin: 0; padding: 0; }
.mx-ftag { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; color: #fff; background: rgba(11, 16, 32, .82); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); animation: mx-tag 6.4s var(--ease-out) infinite; animation-delay: var(--d); opacity: 0; transform: translate(-50%, 10px); white-space: nowrap; }
.mx-ftag b { width: 10px; height: 10px; border-radius: 50%; background: #2ee08a; box-shadow: 0 0 0 4px rgba(46, 224, 138, .2); }
.mx-ftag--warn b { background: #febc2e; box-shadow: 0 0 0 4px rgba(254, 188, 46, .25); }
.mx-ftag--warn { border-color: rgba(254, 188, 46, .5); }
.mx-ftag strong { display: block; font-size: 13.5px; }
.mx-ftag em { display: block; font-style: normal; font-size: 12px; color: var(--text-d2); }
.mx-ftag--core { animation: none; opacity: 1; transform: translateX(-50%); padding: 6px 14px; background: var(--grad); border: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.mx-ftag--core strong { font-size: 12px; }
@keyframes mx-tag { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.96); } 6%, 60% { opacity: 1; transform: translate(-50%, 0) scale(1); } 72%, 100% { opacity: 0; transform: translate(-50%, -8px) scale(.98); } }
html:not(.mx-js) .mx-ftag { opacity: 1; transform: translateX(-50%); animation: none; }

/* Plant gallery */
.mx-plants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mx-plant { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--ink-3); border: 1px solid var(--line-d); transition: transform .6s var(--ease); }
.mx-plant img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease-out); }
.mx-plant:hover img { transform: scale(1.12); }
.mx-plant::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 10, 20, 0) 40%, rgba(7, 10, 20, .92)); }
.mx-plant figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; }
.mx-plant figcaption strong { display: block; font: 700 17px var(--f-head); margin-bottom: 6px; }
.mx-plant figcaption span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; color: #ffd3b5; }
.mx-plant figcaption .mx-ico { width: 15px; height: 15px; }

/* AI flow */
.mx-flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.mx-flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 44px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255, 138, 31, .55) 0 10px, transparent 10px 20px); background-size: 40px 3px; animation: mx-belt 1s linear infinite; }
@keyframes mx-belt { to { background-position: 40px 0; } }
.mx-flow::after { content: ""; position: absolute; top: 37px; left: 10%; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 18px rgba(255, 106, 46, .9); animation: mx-travel 4s var(--ease) infinite; }
@keyframes mx-travel { 0% { left: 10%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 88%; opacity: 0; } }
.mx-flow__node { position: relative; text-align: center; padding: 0 10px; }
.mx-flow__ico { position: relative; z-index: 1; display: grid; place-items: center; width: 90px; height: 90px; margin: 0 auto 22px; border-radius: 28px; color: var(--brand); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh), 0 0 0 10px #fff; }
.mx-flow__ico .mx-ico { width: 36px; height: 36px; }
.mx-flow__node--ai .mx-flow__ico { color: #fff; background: var(--grad-tech); border: 0; animation: mx-glowpulse 2.4s ease-in-out infinite; }
@keyframes mx-glowpulse { 0%, 100% { box-shadow: 0 0 0 10px #fff, 0 0 0 12px rgba(124, 92, 255, .2); } 50% { box-shadow: 0 0 0 10px #fff, 0 0 0 22px rgba(46, 230, 214, .25); } }
.mx-flow__node h3 { font-size: 21px; }
.mx-flow__node p { color: var(--text-2); font-size: 15px; }

/* AI cards */
.mx-card--ai { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, rgba(124, 92, 255, .4), rgba(46, 230, 214, .4), rgba(255, 138, 31, .4)) border-box; border: 1.5px solid transparent; }
.mx-card--ai .mx-card__ico { background: var(--grad-tech); box-shadow: 0 14px 28px -14px rgba(124, 92, 255, .8); }
.mx-card--ai:nth-child(3n+2) .mx-card__ico { background: var(--grad); }
.mx-card--ai:nth-child(3n) .mx-card__ico { background: linear-gradient(120deg, #00b894, #2ee6d6); }

/* Roadmap */
.mx-road { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mx-road::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255, 255, 255, .1); }
.mx-road::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--cyan), var(--violet)); transform-origin: left; transform: scaleX(var(--sp, 0)); transition: transform 2.4s var(--ease-out); box-shadow: 0 0 16px rgba(46, 230, 214, .6); }
.mx-road.is-in::after { --sp: 1; }
.mx-road li { position: relative; padding: 50px 28px 30px; border-radius: 24px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-d); margin-top: 30px; }
.mx-road__dot { position: absolute; top: -30px; left: 28px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 3px solid var(--brand-2); box-shadow: 0 0 0 6px rgba(255, 138, 31, .15); }
.mx-road li:nth-child(2) .mx-road__dot { border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(46, 230, 214, .15); }
.mx-road li:nth-child(3) .mx-road__dot { border-color: var(--violet); box-shadow: 0 0 0 6px rgba(124, 92, 255, .2); animation: mx-glowpulse-d 2s ease-in-out infinite; }
@keyframes mx-glowpulse-d { 50% { box-shadow: 0 0 0 14px rgba(124, 92, 255, .1); } }
.mx-road__when { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); }
.mx-road h3 { color: #fff; font-size: 23px; }
.mx-road p { color: var(--text-d2); font-size: 15.5px; margin-bottom: 0; }

@media (max-width: 1100px) {
	.mx-plants { grid-template-columns: repeat(2, 1fr); }
	.mx-flow { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
	.mx-flow::before, .mx-flow::after { display: none; }
	.mx-road { grid-template-columns: 1fr; }
	.mx-road::before, .mx-road::after { display: none; }
	.mx-ftag em { display: none; }
}
@media (max-width: 760px) {
	.mx-skyline { height: 120px; }
	.mx-plants { grid-template-columns: 1fr; }
	.mx-flow { grid-template-columns: 1fr; }
	.mx-factory { padding: 4px; border-radius: 20px; }
	.mx-ftag { padding: 6px 9px; gap: 6px; }
	.mx-ftag strong { font-size: 10.5px; }
	.mx-ftag b { width: 7px; height: 7px; }
	.mx-phero--ai { min-height: auto; }
	.mx-ftag:not(.mx-ftag--core) { display: none; }
	.mx-neural { opacity: .4 !important; }
}
@media (prefers-reduced-motion: reduce) {
	.mx-ftag { opacity: 1 !important; transform: translateX(-50%) !important; }
}

/* =========================================================================
   13. Animated character story, scroll-driven (v2.5)
   ========================================================================= */
.mx-story { position: relative; height: calc(var(--n, 6) * 80vh + 100vh); color: var(--text-d); background: var(--ink); }
.mx-story::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 500px at 0% 20%, rgba(255, 61, 46, .16), transparent 60%), radial-gradient(800px 600px at 100% 80%, rgba(124, 92, 255, .18), transparent 60%); }
.mx-story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 8px) 0 20px; box-sizing: border-box; }
.mx-story__inner { max-height: 100%; }
.mx-story__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.mx-story__actions .mx-btn { padding: 14px 24px; }
@media (max-height: 860px) and (min-width: 961px) {
	.mx-story__copy .mx-kicker { margin-bottom: 8px; }
	.mx-story__copy .mx-h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .2em; }
	.mx-story__steps { margin: 12px 0 0; }
	.mx-story__step button { padding: 5px 0; gap: 12px; }
	.mx-story__num { flex-basis: 30px; height: 30px; border-radius: 10px; font-size: 13px; }
	.mx-story__step strong { font-size: 15px; }
	.mx-story__step em { font-size: 10.5px; }
	.mx-story__step p { margin-left: 42px; font-size: 14px; line-height: 1.5; }
	.mx-story__actions { margin-top: 12px; }
	.mx-story__actions .mx-btn { padding: 12px 20px; font-size: 14.5px; }
	.mx-story__inner { gap: 36px; }
}
@media (max-height: 700px) and (min-width: 961px) {
	.mx-story__copy .mx-kicker { display: none; }
	.mx-story__step em { display: none; }
	.mx-story__step p { font-size: 13.5px; }
	.mx-story__inner { grid-template-columns: .85fr 1.5fr; }
}
.mx-story__inner { position: relative; display: grid; grid-template-columns: .8fr 1.6fr; gap: 46px; align-items: center; }
.mx-story__copy .mx-h2 { color: #fff; font-size: clamp(1.9rem, 3.3vw, 2.8rem); }
.mx-story__steps { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 2px; }
.mx-story__step button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; opacity: .42; transition: opacity .4s; }
.mx-story__step.is-active button, .mx-story__step button:hover { opacity: 1; }
.mx-story__num { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-d); font: 700 15px var(--f-head); transition: background .4s, border-color .4s; }
.mx-story__step.is-active .mx-story__num { background: var(--grad); border-color: transparent; box-shadow: 0 10px 24px -10px rgba(255, 61, 46, .8); }
.mx-story__step em { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }
.mx-story__step strong { display: block; font: 700 17px var(--f-head); color: #fff; }
.mx-story__step p { margin: 0 0 0 50px; max-height: 0; overflow: hidden; opacity: 0; color: var(--text-d2); font-size: 15px; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.mx-story__step.is-active p { max-height: 140px; opacity: 1; margin-bottom: 8px; }
.mx-story__frame { position: relative; container-type: inline-size; aspect-ratio: 1200 / 640; border-radius: 28px; overflow: hidden; background: #0b1225; border: 1px solid var(--line-d); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9); }
.mx-story__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mx-story__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 4px; background: rgba(255, 255, 255, .08); }
.mx-story__progress span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.mx-st-label { position: absolute; left: 2.6cqw; top: 2.4cqw; z-index: 2; margin: 0; padding: .7cqw 1.4cqw; border-radius: 99px; background: rgba(11, 16, 32, .8); border: 1px solid rgba(255, 255, 255, .14); color: #ffd8bf; font: 700 1.25cqw var(--f-body); letter-spacing: .1em; text-transform: uppercase; }

/* step visibility */
.mx-story [data-in] { opacity: 0; transition: opacity .6s var(--ease); }
.mx-story[data-scene="1"] [data-in~="1"], .mx-story[data-scene="2"] [data-in~="2"], .mx-story[data-scene="3"] [data-in~="3"], .mx-story[data-scene="4"] [data-in~="4"], .mx-story[data-scene="5"] [data-in~="5"], .mx-story[data-scene="6"] [data-in~="6"] { opacity: 1; }
.mx-st-tag { font: 700 15px var(--f-head); fill: rgba(255, 255, 255, .55); letter-spacing: .06em; }
.mx-st-tag--light { fill: #fff; }
.mx-st-tag--sm { font-size: 12px; letter-spacing: .02em; }
.mx-st-big { font: 800 24px var(--f-head); fill: #fff; }
.mx-st-big--ok { fill: #6ef0a8; font-size: 19px; }
.mx-st-chip text { font: 700 16px var(--f-head); fill: #fff; }
.mx-st-badge__t { font: 700 16px var(--f-head); fill: #06261a; }
.mx-st-badge__t--sm { font-size: 13px; }
.mx-st-th text { font: 700 11px var(--f-body); fill: rgba(255, 255, 255, .5); letter-spacing: .08em; }
.mx-st-td { font: 500 13.5px var(--f-body); fill: rgba(255, 255, 255, .78); }
.mx-st-td--b { font-weight: 700; fill: #fff; }

/* speech bubbles */
.mx-st-bubble { position: absolute; z-index: 3; margin: 0; max-width: 29cqw; padding: 1.3cqw 1.6cqw; border-radius: 1.8cqw; background: #fff; color: var(--ink); font: 600 1.6cqw/1.35 var(--f-head); box-shadow: 0 2cqw 4cqw -2cqw rgba(0, 0, 0, .7); transform: scale(.6) translateY(2cqw); transform-origin: 0 100%; transition: opacity .4s, transform .6s var(--ease-out); pointer-events: none; }
.mx-st-bubble::after { content: ""; position: absolute; left: 2.6cqw; bottom: -1.3cqw; border: .8cqw solid transparent; border-top: 1.4cqw solid #fff; border-bottom: 0; }
.mx-story[data-scene="1"] .mx-st-bubble--1, .mx-story[data-scene="2"] .mx-st-bubble--2, .mx-story[data-scene="3"] .mx-st-bubble--3, .mx-story[data-scene="4"] .mx-st-bubble--4, .mx-story[data-scene="5"] .mx-st-bubble--5, .mx-story[data-scene="6"] .mx-st-bubble--6, .mx-story[data-scene="6"] .mx-st-bubble--6b { transform: none; transition-delay: .45s; }
.mx-story[data-scene="3"] .mx-st-bubble--3 { transition-delay: 1.8s; }
.mx-st-bubble--ex { border: .25cqw solid #ff6a2a; }
.mx-st-bubble--1 { left: 42%; bottom: 63%; }
.mx-st-bubble--2 { left: 39%; bottom: 63%; background: #fff4d6; }
.mx-st-bubble--2::after { border-top-color: #fff4d6; }
.mx-st-bubble--3 { left: 58%; bottom: 66%; max-width: 30cqw; }
.mx-st-bubble--4 { right: 63%; bottom: 63%; transform-origin: 100% 100%; }
.mx-st-bubble--4::after { left: auto; right: 2.6cqw; }
.mx-st-bubble--5 { right: 1.5%; bottom: 63%; max-width: 19cqw; transform-origin: 100% 100%; }
.mx-st-bubble--5::after, .mx-st-bubble--6b::after { left: auto; right: 3.4cqw; }
.mx-st-bubble--6 { right: 71%; bottom: 63%; font-size: 2.2cqw; background: var(--grad); color: #fff; transform-origin: 100% 100%; }
.mx-st-bubble--6::after { left: auto; right: 2.6cqw; border-top-color: #ff6a2a; }
.mx-st-bubble--6b { right: 1.5%; bottom: 63%; max-width: 19cqw; transform-origin: 100% 100%; }

/* step 5: live data + edit */
.mx-st-livedot circle { animation: mx-blink 1.4s infinite; }
.mx-st-row--edit .mx-st-row__bg { fill: rgba(255, 138, 31, .14); stroke: rgba(255, 138, 31, .7); }
.mx-st-old, .mx-st-new, .mx-st-saved { transition: none; }
.mx-st-new, .mx-st-saved { opacity: 0; }
.mx-story[data-scene="5"] .mx-st-old { animation: mx-st-old 4.4s infinite; }
.mx-story[data-scene="5"] .mx-st-new { animation: mx-st-new 4.4s infinite; }
.mx-story[data-scene="5"] .mx-st-saved { animation: mx-st-saved 4.4s infinite; }
.mx-story[data-scene="5"] .mx-st-pencil { animation: mx-blink 1.1s infinite; }
.mx-st-cursor { transform: translate(880px, 360px); }
.mx-story[data-scene="5"] .mx-st-cursor { animation: mx-st-cursor 4.4s var(--ease) infinite; }
@keyframes mx-st-old { 0%, 46% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes mx-st-new { 0%, 46% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes mx-st-saved { 0%, 52% { opacity: 0; transform: translateY(6px); } 58%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mx-st-cursor { 0% { transform: translate(880px, 360px); } 34% { transform: translate(768px, 252px); } 40% { transform: translate(768px, 252px) scale(.85); } 46% { transform: translate(768px, 252px); } 100% { transform: translate(880px, 360px); } }

/* SVG fallback characters (used only when 3D is unavailable) */
.mx-st-char { transition: transform 1.2s var(--ease); }
.mx-st-op { transform: translate(470px, 560px); }
.mx-story[data-scene="2"] .mx-st-op { transform: translate(430px, 560px); }
.mx-story[data-scene="5"] .mx-st-op, .mx-story[data-scene="6"] .mx-st-op { transform: translate(380px, 560px); }
.mx-st-mgr { transform: translate(720px, 560px); }
.mx-story[data-scene="5"] .mx-st-mgr, .mx-story[data-scene="6"] .mx-st-mgr { transform: translate(1060px, 560px); }
.mx-story[data-scene="3"] .mx-st-mgr { animation: mx-st-walkin 1.4s var(--ease-out) both; }
@keyframes mx-st-walkin { from { transform: translate(1320px, 560px); } to { transform: translate(720px, 560px); } }
.mx-st-bob { animation: mx-st-bob 1.8s ease-in-out infinite; }
@keyframes mx-st-bob { 50% { transform: translateY(-4px); } }
.mx-st-eyes { transform-box: fill-box; transform-origin: center; animation: mx-st-blink 4.2s infinite; }
@keyframes mx-st-blink { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.1); } }
.mx-st-mouth, .mx-st-brows--worry, .mx-st-sweat { opacity: 0; transition: opacity .4s; }
.mx-st-brows--calm { transition: opacity .4s; }
.mx-st-mgr .mx-st-mouth--happy, .mx-story[data-scene="1"] .mx-st-op .mx-st-mouth--flat, .mx-story[data-scene="3"] .mx-st-op .mx-st-mouth--flat { opacity: 1; }
.mx-story[data-scene="4"] .mx-st-op .mx-st-mouth--happy, .mx-story[data-scene="5"] .mx-st-op .mx-st-mouth--happy, .mx-story[data-scene="6"] .mx-st-op .mx-st-mouth--happy { opacity: 1; }
.mx-story[data-scene="2"] .mx-st-op .mx-st-mouth--sad, .mx-story[data-scene="2"] .mx-st-op .mx-st-brows--worry, .mx-story[data-scene="2"] .mx-st-op .mx-st-sweat { opacity: 1; }
.mx-story[data-scene="2"] .mx-st-op .mx-st-brows--calm { opacity: 0; }
.mx-st-sweat { animation: mx-st-drip 1.4s ease-in infinite; }
@keyframes mx-st-drip { 0% { transform: translateY(0); } 100% { transform: translateY(16px); } }
.mx-st-arm { transform-box: fill-box; transform-origin: 50% 0; transition: transform .8s var(--ease); }
.mx-st-op .mx-st-arm--l { transform: rotate(-28deg); }
.mx-st-op .mx-st-arm--r { transform: rotate(28deg); }
.mx-story[data-scene="1"] .mx-st-op .mx-st-arm--r { animation: mx-st-write .28s ease-in-out infinite alternate; }
.mx-story[data-scene="2"] .mx-st-op .mx-st-arm--r { transform: rotate(150deg); animation: mx-st-scratch .4s ease-in-out infinite alternate; }
.mx-story[data-scene="4"] .mx-st-op .mx-st-arm--r, .mx-story[data-scene="5"] .mx-st-op .mx-st-arm--r { animation: mx-st-tap .5s ease-in-out infinite alternate; }
.mx-story[data-scene="6"] .mx-st-op .mx-st-arm--r { transform: rotate(-145deg); animation: mx-st-wave .42s ease-in-out infinite alternate; }
@keyframes mx-st-write { from { transform: rotate(23deg) translateY(0); } to { transform: rotate(33deg) translateY(-3px); } }
@keyframes mx-st-scratch { from { transform: rotate(146deg); } to { transform: rotate(158deg); } }
@keyframes mx-st-tap { from { transform: rotate(22deg); } to { transform: rotate(31deg); } }
@keyframes mx-st-wave { from { transform: rotate(-128deg); } to { transform: rotate(-166deg); } }
.mx-st-mgr .mx-st-arm--l { transform: rotate(128deg); animation: mx-st-point 1.2s ease-in-out infinite alternate; }
.mx-st-mgr .mx-st-arm--r { transform: rotate(6deg); }
@keyframes mx-st-point { from { transform: rotate(122deg); } to { transform: rotate(134deg); } }

/* plant + props */
.mx-st-level { animation: mx-level 9s ease-in-out infinite; }
.mx-st-wave { animation: mx-wave 2.6s linear infinite; }
.mx-st-needle { transform-origin: 140px 300px; animation: mx-st-needle 2.4s ease-in-out infinite alternate; }
@keyframes mx-st-needle { from { transform: rotate(-35deg); } to { transform: rotate(40deg); } }
.mx-st-impeller { transform-origin: 300px 500px; animation: mx-spin 1.1s linear infinite; }
.mx-st-lines path { stroke-dasharray: 52; stroke-dashoffset: 0; }
.mx-story[data-scene="1"] .mx-st-lines path { animation: mx-st-ink 7.2s linear infinite; }
.mx-st-lines path:nth-child(2) { animation-delay: .9s !important; } .mx-st-lines path:nth-child(3) { animation-delay: 1.8s !important; } .mx-st-lines path:nth-child(4) { animation-delay: 2.7s !important; } .mx-st-lines path:nth-child(5) { animation-delay: 3.6s !important; } .mx-st-lines path:nth-child(6) { animation-delay: 4.5s !important; }
@keyframes mx-st-ink { 0% { stroke-dashoffset: 52; } 12%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 52; } }
.mx-st-chip { transform-box: fill-box; transform-origin: center; animation: mx-st-chip 2s ease-in-out infinite; }
.mx-st-chip--b { animation-delay: -1s; }
@keyframes mx-st-chip { 50% { transform: translateY(-6px); } }
.mx-st-clock-h { transform-origin: 1020px 200px; animation: mx-spin 6s linear infinite; }
.mx-st-clock-m { transform-origin: 1020px 200px; animation: mx-spin .9s linear infinite; }
.mx-st-stack { transform-box: fill-box; transform-origin: 50% 100%; }
.mx-story[data-scene="2"] .mx-st-stack { animation: mx-st-pop .8s var(--ease-out) both; }
@keyframes mx-st-pop { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mx-st-sheet { animation: mx-st-fall 4s linear infinite; }
@keyframes mx-st-fall { 0% { transform: translate(var(--x), -70px) rotate(0); } 100% { transform: translate(calc(var(--x) + 70px), 600px) rotate(260deg); } }
.mx-st-qmarks text { animation: mx-st-q 1s ease-in-out infinite alternate; }
.mx-st-qmarks text:nth-child(2) { animation-delay: -.5s; }
@keyframes mx-st-q { to { transform: translateY(-10px); } }
.mx-st-chart { stroke-dasharray: 320; stroke-dashoffset: 320; }
.mx-story[data-scene="4"] .mx-st-chart { animation: mx-st-draw 3s var(--ease) infinite; }
@keyframes mx-st-draw { 0% { stroke-dashoffset: 320; } 60%, 100% { stroke-dashoffset: 0; } }
.mx-st-badge { transform-box: fill-box; transform-origin: center; }
.mx-story[data-scene="4"] .mx-st-badge { animation: mx-st-badge 1.6s var(--ease-out) infinite; }
@keyframes mx-st-badge { 0% { transform: scale(.6); opacity: 0; } 25%, 80% { transform: scale(1); opacity: 1; } 100% { opacity: 0; } }
.mx-st-bars rect { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--h)); }
.mx-story[data-scene="6"] .mx-st-bars rect { animation: mx-st-bars 1.6s ease-in-out infinite alternate; }
@keyframes mx-st-bars { from { transform: scaleY(calc(var(--h) * .6)); } to { transform: scaleY(var(--h)); } }
.mx-st-fly { opacity: 0; }
.mx-story[data-scene="6"] .mx-st-fly { animation: mx-st-fly 2.7s cubic-bezier(.3, .1, .4, 1) infinite; }
@keyframes mx-st-fly { 0% { transform: translate(420px, 420px) rotate(0) scale(.7); opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(1260px, -80px) rotate(560deg) scale(1); opacity: 0; } }


@media (max-width: 960px) {
	.mx-story { height: calc(var(--n, 6) * 75vh + 100vh); }
	.mx-story__sticky { padding-top: 70px; align-items: flex-start; }
	.mx-story__inner { grid-template-columns: 1fr; gap: 16px; }
	.mx-story__stage { order: -1; }
	.mx-story__copy .mx-h2 { font-size: 1.55rem; margin-bottom: 0; }
	.mx-story__copy .mx-kicker { margin-bottom: 8px; }
	.mx-story__steps { margin: 10px 0 16px; }
	.mx-story__step { display: none; }
	.mx-story__step.is-active { display: block; }
	.mx-story__step.is-active button { opacity: 1; }
	.mx-story__frame { border-radius: 18px; }
	.mx-story__actions { margin-top: 12px; gap: 8px; }
	.mx-story__actions .mx-btn { padding: 11px 18px; font-size: 14px; }
	.mx-st-bubble { font-size: 2.6cqw; max-width: 40cqw; }
	.mx-st-bubble--5, .mx-st-bubble--6b { max-width: 26cqw; }
	.mx-st-bubble--6 { font-size: 3cqw; }
	.mx-st-label { font-size: 2cqw; }
}
html:not(.mx-js) .mx-story { height: auto; }
html:not(.mx-js) .mx-story__sticky { position: static; height: auto; padding: 100px 0; }

/* =========================================================================
   14. 3D characters (v2.3+)
   ========================================================================= */
.mx-story__3d { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.mx-story.has-3d .mx-st-char { display: none; }
