/* Visnoa Motion 2 — restyles the existing theme to the approved demo design. No content is added or removed. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

/* ---------- Tokens: the demo palette, mapped onto the theme's own variables ---------- */
:root {
	--bg: #f3f4f7; --surface: #ffffff; --surface-2: #eceef3; --ink: #0e1424; --ink-2: #2b3245; --muted: #5b6377;
	--line: #d8dbe4; --line-2: #c5cad6;
	--accent: #2a46f5; --accent-600: #2139d6; --accent-700: #1a2fb3; --accent-soft: #e6eaff; --accent-soft-2: #f0f2ff;
	--mint: #0f9f6e; --mint-soft: #e3f6ee; --amber: #d9820b; --amber-soft: #fdf1df;
	--dark: #0e1424; --dark-2: #161d33;
	--font-head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mv-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
	--mv-c1: #d9820b; --mv-c2: #7c4dff; --mv-c3: #2a46f5; --mv-c4: #0f9f6e;
	--mv-grid: rgba(42, 70, 245, .07);
	--mv-ease: cubic-bezier(.2, .85, .2, 1);
	--mv-grad: linear-gradient(90deg, var(--mv-c1), var(--mv-c2) 35%, var(--mv-c3) 65%, var(--mv-c4));
	--mv-shadow: 0 1px 2px rgba(14, 20, 36, .06), 0 24px 60px -18px rgba(14, 20, 36, .28);
	--shadow-lg: var(--mv-shadow);
	--header-h: 64px;
}
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html, body { overflow-x: clip; }
body { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.035em; text-wrap: balance; color: var(--ink); }
h1, h2 { font-weight: 800; line-height: 1; }
h3 { font-weight: 700; letter-spacing: -.02em; }
strong { font-weight: 600; }
a:hover { color: var(--accent-700); }

/* Eyebrows: mono label with a rule, like the demo */
.eyebrow { font-family: var(--mv-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; color: var(--accent); gap: 10px; margin-bottom: 16px; }
.eyebrow::before { width: 22px; height: 1.5px; border-radius: 0; }
.text-center .eyebrow::before { display: block; }

/* Section heads: big headline left, intro right */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head, .section-head.text-center { max-width: none; text-align: left; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head > .eyebrow, .section-head > h2 { grid-column: 1; }
.section-head > h2 { font-size: clamp(38px, 6vw, 80px); margin: 0; }
.section-head > p { grid-column: 2; grid-row: 1 / span 2; justify-self: end; max-width: 46ch; color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .section-head, .section-head.text-center { grid-template-columns: 1fr; } .section-head > p { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 18px; } }
.section-head.text-center + .pricing ~ .text-center, #faq .text-center { text-align: left; }
.section-alt { background: var(--surface); }
.section-tint { background: var(--bg); }

/* Buttons: pills with a sliding fill */
.btn { border-radius: 999px; font-family: var(--font-body); font-weight: 600; padding: 16px 22px; position: relative; overflow: hidden; isolation: isolate; }
.btn-sm { padding: 11px 16px; border-radius: 999px; }
.btn-primary { background: var(--accent); box-shadow: none; }
.btn-primary::after, .btn-light::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink); transform: translateY(101%); transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.btn-primary:hover { background: var(--accent); color: #fff; box-shadow: none; }
.btn-primary:hover::after, .btn-light:hover::after { transform: none; }
.btn-ghost { background: color-mix(in srgb, var(--surface) 60%, transparent); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }
.link-arrow { font-family: var(--font-body); }

/* ---------- Header ---------- */
.site-header { transition: border-color .2s, box-shadow .2s, transform .45s var(--mv-ease); }
.site-header::before { background: color-mix(in srgb, var(--bg) 80%, transparent); }
.site-header.is-scrolled { box-shadow: none; border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }
.site-header.mv-hide { transform: translateY(-110%); }
.primary-nav .menu > li > a { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--muted); background: none !important; position: relative; }
.primary-nav .menu > li > a::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.primary-nav .menu > li > a:hover::before { transform: scaleX(1); transform-origin: left; }
.primary-nav .menu > li > a:hover { color: var(--ink); }
.site-brand .brand-mark { transition: transform .6s var(--mv-ease); }
.site-brand:hover .brand-mark { transform: rotate(90deg); }
.mv-progress { position: fixed; left: 0; top: 0; width: 100%; height: 3px; z-index: 1000; pointer-events: none; background: var(--mv-grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Hero ---------- */
.hero { padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 96px); isolation: isolate; }
.hero::before { inset: 0; width: auto; height: auto; border-radius: 0; z-index: -2; background-image: linear-gradient(var(--mv-grid) 1px, transparent 1px), linear-gradient(90deg, var(--mv-grid) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.hero::after { inset: auto 0 0; height: 30%; opacity: 1; background: linear-gradient(transparent, var(--bg)); -webkit-mask-image: none; mask-image: none; z-index: -1; }
.mv-dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.hero .pill { background: none; border: 0; box-shadow: none; padding: 0; margin: 0 0 16px; font-family: var(--mv-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); gap: 10px; }
.hero .pill b { width: 22px; height: 1.5px; border-radius: 0; background: currentColor; box-shadow: none; }
.hero h1 { font-size: clamp(48px, 9vw, 128px); line-height: .95; letter-spacing: -.045em; max-width: 11ch; margin-bottom: 0; }
.hero h1 em { display: block; font-style: normal; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; margin: 30px 0 34px; }
.hero .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(52px, 7vw, 88px); border-top: 1px solid var(--line); }
.hero .hero-proof li { padding: 22px 20px 0 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); align-items: flex-start; }
.hero .hero-proof li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hero .hero-proof svg { width: 16px; height: 16px; margin-top: .2em; color: var(--mv-c1); }
.hero .hero-proof li:nth-child(2) svg { color: var(--mv-c2); }
.hero .hero-proof li:nth-child(3) svg { color: var(--mv-c4); }
@media (max-width: 700px) { .hero .hero-proof { grid-template-columns: 1fr; } .hero .hero-proof li, .hero .hero-proof li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
.mv-cue { position: absolute; right: max(16px, calc((100vw - 1200px) / 2)); bottom: 28px; font: 500 11px var(--mv-mono); letter-spacing: .14em; color: var(--muted); display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; }
.mv-cue::after { content: ""; width: 1.5px; height: 56px; background: linear-gradient(var(--accent), transparent); animation: mvCue 1.8s infinite; }
@keyframes mvCue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) { .mv-cue { display: none; } }

/* ---------- Journey: the hero dashboard grows PoC → Prototype → MVP → Beta ---------- */
.mv-journey { position: relative; height: 480vh; }
.mv-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: var(--header-h); display: flex; align-items: center; overflow: hidden; --sc: var(--mv-c1); }
.mv-bigword { position: absolute; right: -1vw; bottom: -4vw; font: 800 clamp(90px, 19vw, 300px)/.8 var(--font-head); letter-spacing: -.05em; pointer-events: none; }
.mv-bigword span { position: absolute; right: 0; bottom: 0; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--sc) 45%, var(--line)); opacity: 0; transform: translateY(40%); transition: opacity .6s, transform .8s var(--mv-ease); }
.mv-bigword span.on { opacity: 1; transform: none; }
.mv-jwrap { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.mv-jhead h2 { font-size: clamp(32px, 4vw, 54px); margin-bottom: 24px; }
.mv-counter { font: 500 13px var(--mv-mono); color: var(--muted); margin-bottom: 14px; }
.mv-counter b { color: var(--sc); font: 800 28px var(--font-head); letter-spacing: -.02em; transition: color .5s; }
.mv-stages { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; display: grid; gap: 2px; }
.mv-stages::before, .mv-rail { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 2px; }
.mv-rail { background: linear-gradient(var(--mv-c1), var(--mv-c2) 33%, var(--mv-c3) 66%, var(--mv-c4)); transform-origin: top; transform: scaleY(0); }
.mv-stages li { padding: 10px 0; cursor: pointer; color: var(--muted); transition: color .3s, transform .4s; }
.mv-stages li.on { color: var(--ink); transform: translateX(6px); }
.mv-st-name { font: 700 21px/1.2 var(--font-head); letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.mv-st-name small { font: 500 11px var(--mv-mono); letter-spacing: .08em; color: var(--muted); }
.mv-stages li.on .mv-st-name::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lc); margin-left: -4px; }
.mv-st-meta { font: 500 13px var(--mv-mono); color: var(--lc); margin-top: 4px; }
.mv-st-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s ease, opacity .5s; }
.mv-st-body > div { overflow: hidden; }
.mv-stages li.on .mv-st-body { grid-template-rows: 1fr; opacity: 1; }
.mv-st-desc { margin: 6px 0 0; font-size: 15px; color: var(--muted); max-width: 40ch; }
.mv-mdetail { display: none; }
.mv-stage3d { position: relative; perspective: 1600px; justify-self: end; width: 100%; max-width: 720px; }
.mv-stage3d::before { content: ""; position: absolute; inset: 12% 8% -6%; background: var(--sc); filter: blur(70px); opacity: var(--glow, .18); border-radius: 50%; transition: opacity .8s, background-color .8s; z-index: -1; }
.mv-journey .mockup { transform-style: preserve-3d; }
.mv-journey .mock-window { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sk, 1)); transform-origin: 50% 60%; will-change: transform; box-shadow: var(--mv-shadow); position: relative; }
.mv-journey .mock-window::after { content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none; opacity: 0; background: linear-gradient(transparent, color-mix(in srgb, var(--sc) 25%, transparent) 85%, var(--sc) 86%, transparent 88%); }
.mv-journey .mock-window.mv-scan::after { animation: mvScan .9s cubic-bezier(.5, 0, .3, 1); }
@keyframes mvScan { from { top: -30%; opacity: 1; } to { top: 105%; opacity: 1; } }
.mv-journey .mock-body, .mv-journey .mock-side, .mv-journey .mock-side span, .mv-journey .mock-kpi, .mv-journey .mock-chart, .mv-journey .mock-chart span, .mv-journey .mock-row i, .mv-journey .mock-row span, .mv-journey .mock-row b { transition: background-color .5s, border-color .5s, opacity .5s, box-shadow .5s; }
.mv-journey .mock-kpi > * { transition: opacity .45s .15s; }
/* Stage 1 · PoC: a dashed sketch */
.mv-journey .mockup:not(.st-1) .mock-body { background-color: var(--surface); background-image: linear-gradient(var(--mv-grid) 1px, transparent 1px), linear-gradient(90deg, var(--mv-grid) 1px, transparent 1px); background-size: 18px 18px; }
.mv-journey .mockup:not(.st-1) .mock-side { background: transparent; }
.mv-journey .mockup:not(.st-1) :is(.mock-side span, .mock-kpi, .mock-chart, .mock-row i, .mock-row span, .mock-row b) { background: transparent !important; border: 1.5px dashed var(--line-2); box-shadow: none; }
.mv-journey .mockup:not(.st-1) .mock-kpi > *, .mv-journey .mockup:not(.st-1) .mock-chart span { opacity: 0; }
.mv-sketch { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 4; transition: opacity .4s; pointer-events: none; }
.mv-journey .mockup.st-1 .mv-sketch { opacity: 0; }
.mv-journey .mock-chart { position: relative; }
/* Stage 2 · Prototype: grey clickable blocks */
.mv-journey .mockup.st-1:not(.st-2) :is(.mock-side span, .mock-kpi, .mock-chart, .mock-row i, .mock-row span, .mock-row b) { background: var(--surface-2) !important; border-color: transparent; box-shadow: none; }
.mv-journey .mockup.st-1:not(.st-2) .mock-chart span { background: #d6dae4 !important; }
.mv-journey .mockup.st-1:not(.st-2) .mock-kpi > * { opacity: 0; }
.mv-journey .mockup.st-1:not(.st-2) :is(.mock-side span.on, .mock-kpi:first-child) { box-shadow: 0 0 0 2px var(--mv-c2); animation: mvHot 1.6s infinite; }
@keyframes mvHot { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--mv-c2) 30%, transparent); } }
.mv-cursor { position: absolute; left: 0; top: 0; width: 22px; opacity: 0; pointer-events: none; transition: opacity .3s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); z-index: 3; }
.mv-journey .mockup.st-1:not(.st-2) .mv-cursor { opacity: 1; animation: mvCur 4.8s ease-in-out infinite; }
@keyframes mvCur { 0% { transform: translate(560px, 300px); } 25%, 35% { transform: translate(60px, 100px); } 60%, 70% { transform: translate(240px, 110px); } 100% { transform: translate(560px, 300px); } }
/* Stage 3 · MVP: the real styled product (theme styles) */
.mv-journey .mockup.st-2 .mock-chart span { animation: mvBar 1.1s var(--mv-ease) both; animation-delay: calc(var(--i, 0) * 70ms); transform-origin: 50% 100%; }
/* Stage 4 · Beta: live */
.mv-journey .mock-url { position: relative; }
.mv-journey .mockup.st-3 .mock-url::after { content: ""; position: absolute; right: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--mv-c4); animation: mvPulse 1.2s infinite; }
@keyframes mvPulse { 50% { opacity: .3; transform: scale(1.6); } }
.mv-journey .mockup.st-3 .mock-chart span { transition: height .9s var(--mv-ease); }
.mv-journey .mock-kpi strong.mv-bump { color: var(--accent); transition: color .3s; }
/* Floating cards: "Prototype ready" from stage 2, "AI workflow live" at stage 4 */
.mv-journey .mock-float { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s, transform .6s var(--mv-ease); z-index: 4; }
.mv-journey .mockup.st-1 .mock-float.f1, .mv-journey .mockup.st-3 .mock-float.f2 { opacity: 1; transform: none; }
.mv-journey .mockup.st-3 .mock-float.f2 { animation: mvBob 6s ease-in-out .6s infinite; }
@keyframes mvBob { 50% { transform: translateY(-8px); } }
@media (max-width: 960px) {
	.mv-pin { align-items: flex-start; padding-top: calc(var(--header-h) + 14px); }
	.mv-jwrap { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.mv-jhead h2 { font-size: 28px; margin-bottom: 12px; }
	.mv-counter { display: none; }
	.mv-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; gap: 6px; }
	.mv-stages::before, .mv-rail { display: none; }
	.mv-stages li { padding: 8px 4px; text-align: center; border: 1px solid var(--line); border-radius: 99px; }
	.mv-stages li.on { border-color: var(--lc); background: color-mix(in srgb, var(--lc) 14%, transparent); color: var(--lc); transform: none; }
	.mv-st-name { font-size: 14px; justify-content: center; }
	.mv-st-name small, .mv-stages .mv-st-body, .mv-stages li.on .mv-st-name::before { display: none; }
	.mv-mdetail { display: block; min-height: 92px; }
	.mv-mdetail p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
	.mv-stage3d { justify-self: stretch; }
	.mv-journey .mock-body { min-height: 0; }
	.mv-journey .mock-float.f1 { left: 8px; bottom: -14px; }
}
@media (max-width: 520px) { .mv-journey .mock-float { font-size: .72rem; padding: 8px 10px; } .mv-journey .mock-float .dot { width: 26px; height: 26px; } }

/* ---------- Statement: "What does Visnoa Systems do?" lights up word by word ---------- */
.mv-statement { position: relative; }
.mv-statement.mv-pinned .answer-strip { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; align-content: center; padding-top: var(--header-h); }
.answer-strip { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.answer-strip h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.answer-strip .answer-body p:first-child { font: 700 clamp(26px, 3.4vw, 46px)/1.12 var(--font-head); letter-spacing: -.03em; color: var(--ink); max-width: 30ch; margin-bottom: 28px; }
.answer-strip .answer-body p:not(:first-child) { color: var(--muted); max-width: 62ch; font-size: 1.05rem; }
.mv-fw { opacity: .14; transition: opacity .25s, color .25s; }
.mv-fw.on { opacity: 1; }
.mv-fw.mv-key.on { color: var(--hc); }

/* ---------- Velocity marquee ---------- */
.mv-marquee { overflow: hidden; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; background: var(--bg); }
.mv-row { display: flex; white-space: nowrap; will-change: transform; }
.mv-row span { font: 800 clamp(44px, 8vw, 112px)/1 var(--font-head); letter-spacing: -.04em; color: var(--ink); padding-right: .5em; display: inline-flex; align-items: center; gap: .5em; }
.mv-row span::after { content: ""; flex: none; width: .28em; height: .28em; border-radius: 50%; background: var(--dc); }
.mv-row.o span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.mv-row.o span::after { border-radius: 2px; transform: rotate(45deg); }

/* ---------- Services: group title left, cards right ---------- */
.mv-svc { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: 36px; border-top: 1px solid var(--line); }
.mv-svc .group-title { font: 700 30px/1.1 var(--font-head); letter-spacing: -.03em; text-transform: none; color: var(--ink); margin: 0; }
.mv-svc .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid + .group-title { margin-top: 0; }
@media (max-width: 760px) { .mv-svc { grid-template-columns: 1fr; } .mv-svc .grid { grid-template-columns: 1fr; } }
.card { border-radius: 14px; padding: 22px; box-shadow: none; transition: transform .25s ease, box-shadow .25s, border-color .25s; }
.mv-svc .card .icon-badge { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; }
.mv-svc .card .icon-badge svg { width: 18px; height: 18px; }
.card h3 { font-size: 1.12rem; }
.card p { font-size: .95rem; }
.card-link:hover { transform: none; box-shadow: var(--mv-shadow); }
.icon-badge, .icon-badge.mint, .icon-badge.amber { background: color-mix(in srgb, var(--sc, var(--accent)) 12%, #fff); color: var(--sc, var(--accent)); transition: transform .45s var(--mv-ease); }
.card-link:hover .icon-badge { transform: rotate(-8deg) scale(1.1); }
.card-link .link-arrow { color: var(--sc, var(--accent)); }
.mv-card { isolation: isolate; transform-style: preserve-3d; }
.mv-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(240px circle at var(--cx, 50%) var(--cy, 50%), color-mix(in srgb, var(--sc, var(--accent)) 18%, transparent), transparent 70%); }
.mv-card:hover::before { opacity: 1; }
.mv-card:hover { border-color: color-mix(in srgb, var(--sc, var(--accent)) 55%, var(--line)); }
.audience-card li::before, .check-list li::before { background-color: color-mix(in srgb, var(--sc, var(--mint)) 14%, #fff); }

/* ---------- How we work: horizontal scroll ---------- */
.mv-hscroll { position: relative; padding: 0 !important; }
.mv-hsticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.mv-hscroll .section-head { margin-bottom: clamp(20px, 3vw, 36px); }
.mv-hbar { height: 2px; background: var(--line); position: relative; width: min(320px, 50%); margin-top: 18px; }
.mv-hbar i { position: absolute; inset: 0; background: var(--mv-grad); transform-origin: left; transform: scaleX(0); }
.mv-hscroll .steps { display: flex; gap: clamp(16px, 2.5vw, 28px); padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); padding-right: var(--gutter); width: max-content; will-change: transform; margin: 0; }
.mv-hscroll .step { flex: none; width: min(500px, 82vw); min-height: min(400px, 52vh); display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); border-radius: 20px; overflow: hidden; position: relative; }
.mv-hscroll .step::before { order: -2; content: "0" counter(step); width: auto; height: auto; display: block; background: none; border-radius: 0; margin: 0 0 auto; font: 800 clamp(84px, 11vw, 160px)/.8 var(--font-head); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--sc); }
.mv-hscroll .step::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--sc); opacity: .1; filter: blur(30px); pointer-events: none; }
.mv-hscroll .step .step-time { order: -1; margin: 0; font: 500 12px var(--mv-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sc); }
.mv-hscroll .step h3 { font-size: clamp(28px, 3vw, 40px); margin: 0; }
.mv-hscroll .step p { font-size: 1rem; }
.mv-hscroll .mv-hlink { margin-top: 22px !important; }

/* ---------- Why Visnoa ---------- */
.split h2 { font-size: clamp(36px, 5vw, 64px); }
.stat { border-left: 2px solid var(--mv-c2); }
.stat-row .stat:nth-child(2) { border-left-color: var(--mv-c4); }
.stat strong { font: 800 clamp(26px, 3vw, 38px)/1.05 var(--font-head); letter-spacing: -.03em; }
.own-col { border-radius: 16px; }
.own-col.is-ai { background: var(--accent-soft-2); border-color: color-mix(in srgb, var(--accent) 20%, transparent); }
.own-col.is-ai h4 { color: var(--accent-700); }

/* ---------- Pricing: dark band with stacking cards ---------- */
#pricing, .mv-band { background: var(--ink); color: var(--bg); border-radius: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px) 0 0; }
#pricing .section-head h2 { color: #fff; }
#pricing .section-head > p, #pricing .pricing-note { color: rgba(243, 244, 247, .65); }
#pricing .eyebrow { color: color-mix(in srgb, var(--accent) 55%, #fff); }
#pricing .link-arrow { color: #fff; }
.pricing-4, .entry-content .pricing-4 { display: grid; grid-template-columns: 1fr !important; gap: 28px; max-width: none !important; padding-bottom: 40px; }
.pricing-4 .price-card { position: sticky; top: calc(var(--header-h) + 24px + var(--i, 0) * 22px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(20px, 4vw, 48px); align-content: start; padding: clamp(24px, 4vw, 48px); border-radius: 22px; min-height: 340px; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .35); transform-origin: 50% 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.pricing-4 .price-card > *:not(ul):not(.badge) { grid-column: 1; }
.pricing-4 .price-card ul { grid-column: 2; grid-row: 1 / span 8; border-top: 0; padding-top: 6px; margin: 0; align-self: start; display: grid; gap: 14px; }
.pricing-4 .price-card li { margin: 0; font-size: 1rem; }
.pricing-4 .price-card li::before { background: none; border-left: 2px solid var(--sc); border-bottom: 2px solid var(--sc); border-radius: 0; width: 14px; height: 8px; top: .45em; transform: rotate(-45deg); }
.pricing-4 .price-card .pkg-label { font: 500 12px var(--mv-mono); letter-spacing: .1em; color: var(--sc); }
.pricing-4 .price-card h3 { font: 800 clamp(30px, 4.5vw, 56px)/1 var(--font-head); letter-spacing: -.04em; margin: 10px 0 14px; color: var(--ink); }
.pricing-4 .price-card .pkg-desc { min-height: 0; }
.pricing-4 .price-card .price { font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--font-head); }
.pricing-4 .price-card .price-from, .pricing-4 .price-card .duration { font-family: var(--mv-mono); font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.pricing-4 .price-card .btn { justify-self: start; width: auto; margin-top: 8px; }
.pricing-4 .price-card .badge { left: auto; right: 28px; top: 24px; background: #fff; color: var(--accent); font-family: var(--mv-mono); }
.pricing-4 .price-card.is-featured { background: var(--accent); border-color: var(--accent); color: rgba(255, 255, 255, .85); }
.pricing-4 .price-card.is-featured h3, .pricing-4 .price-card.is-featured .price { color: #fff; }
.pricing-4 .price-card.is-featured :is(.pkg-label, .pkg-desc, .price-from, .duration, .price small) { color: rgba(255, 255, 255, .78); }
.pricing-4 .price-card.is-featured li::before { border-color: #fff; }
.pricing-4 .price-card.is-featured .btn-light { background: #fff; color: var(--accent); }
.pricing-4 .price-card.is-featured .btn-light:hover { color: #fff; }
@media (max-width: 760px) { .pricing-4 .price-card { grid-template-columns: 1fr; min-height: 0; } .pricing-4 .price-card ul { grid-column: 1; grid-row: auto; margin: 18px 0; } .pricing-4 .price-card .badge { right: 18px; top: 18px; } }
.price-card .vprice-suffix { color: inherit; opacity: .7; }

/* ---------- Table, insights, FAQ ---------- */
.table-wrap { border-radius: 16px; }
.table-wrap thead th, .entry-content table thead th { font-family: var(--mv-mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.post-card .post-thumb { background: linear-gradient(135deg, var(--accent-soft), #fdf1df); }
details.faq-item { border-radius: 14px; }
details.faq-item summary { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; }
details.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
details.faq-item[open] > div { animation: mvFaq .45s var(--mv-ease); }
@keyframes mvFaq { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA: dark full-bleed with giant headline and wordmark ---------- */
.cta-band { background: var(--ink); padding: clamp(80px, 12vw, 160px) 0 0; overflow: hidden; }
.cta-box { background: none; border-radius: 0; padding: 0; grid-template-columns: minmax(0, 1fr); gap: 0; overflow: visible; color: rgba(243, 244, 247, .65); }
.cta-box::after { display: none; }
.cta-box h2 { font-size: clamp(42px, 7.5vw, 108px); max-width: 13ch; color: #fff; margin-bottom: 0; }
.cta-box p { color: rgba(243, 244, 247, .65); max-width: 50ch; margin: 24px 0 36px; font-size: 18px; }
.cta-box .btn-row { justify-content: flex-start; }
.cta-box .btn-light { background: var(--accent); color: #fff; padding: 20px 28px; font-size: 17px; }
.cta-box .btn-light::after { background: #fff; }
.cta-box .btn-light:hover { color: var(--ink); }
.cta-box .btn-outline-light { border-color: rgba(255, 255, 255, .25); padding: 20px 28px; font-size: 17px; }
.mv-spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--cx, 85%) var(--cy, 10%), rgba(42, 70, 245, .28), transparent 65%); }
.cta-band { position: relative; }
.cta-band > .container { position: relative; z-index: 1; }
.mv-wordmark { display: inline-block; margin-top: clamp(60px, 9vw, 120px); padding-right: .04em; font: 800 clamp(90px, 25vw, 400px)/.78 var(--font-head); letter-spacing: -.06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 244, 247, .25); background: var(--mv-grad) no-repeat; background-size: var(--wf, 0%) 100%; -webkit-background-clip: text; background-clip: text; user-select: none; }
.site-footer { background: var(--ink); border-top: 1px solid rgba(243, 244, 247, .1); }
.site-footer .social-links a:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Inner page heroes ---------- */
.page-hero { background: var(--bg); isolation: isolate; }
.page-hero::before { inset: 0; width: auto; height: auto; right: 0; top: 0; border-radius: 0; z-index: -1; background-image: linear-gradient(var(--mv-grid) 1px, transparent 1px), linear-gradient(90deg, var(--mv-grid) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.page-hero h1 { font-size: clamp(40px, 6vw, 84px); line-height: .98; letter-spacing: -.045em; }
.breadcrumbs { font-family: var(--mv-mono); font-size: 12px; letter-spacing: .04em; }
.entry-content h2 { font-size: clamp(28px, 3.4vw, 44px); }
.entry-content .visnoa-answer { border-left-color: var(--accent); }

/* ---------- Split words ---------- */
.mv-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.mv-w > * { display: inline-block; }
.hero h1 .mv-line { display: block; }

/* ---------- Motion states ---------- */
@media (prefers-reduced-motion: no-preference) {
	.mv .hero .pill, .mv .hero .lead, .mv .hero .btn-row, .mv .hero .hero-proof, .mv .page-hero .breadcrumbs, .mv .page-hero .lead, .mv .page-hero .btn-row, .mv .page-hero .facts, .mv .page-hero .post-meta { opacity: 0; transform: translateY(16px); }
	.mv .hero h1, .mv .page-hero h1 { opacity: 0; }
	.mv.mv-in .hero .pill, .mv.mv-in .hero .lead, .mv.mv-in .hero .btn-row, .mv.mv-in .hero .hero-proof, .mv.mv-in .page-hero .breadcrumbs, .mv.mv-in .page-hero .lead, .mv.mv-in .page-hero .btn-row, .mv.mv-in .page-hero .facts, .mv.mv-in .page-hero .post-meta { opacity: 1; transform: none; transition: opacity .9s ease var(--dl, 0s), transform .9s var(--mv-ease) var(--dl, 0s); }
	.mv.mv-in .hero h1, .mv.mv-in .page-hero h1 { opacity: 1; }
	.hero .lead, .page-hero .lead { --dl: .55s; }
	.hero .btn-row, .page-hero .btn-row, .page-hero .facts, .page-hero .post-meta { --dl: .65s; }
	.hero .hero-proof { --dl: .8s; }
	.mv-in .mv-hsplit .mv-w > * { animation: mvRise 1s cubic-bezier(.2, .9, .2, 1) both; animation-delay: calc(var(--d) * 28ms); }
	.mv-pre { opacity: 0; transform: translateY(50px); filter: blur(6px); }
	.mv-rv { transition: opacity 1s var(--mv-ease) var(--rd, 0s), transform 1s var(--mv-ease) var(--rd, 0s), filter 1s var(--rd, 0s); }
	.mv-split.mv-pre { opacity: 1; transform: none; filter: none; }
	.mv-split .mv-w > * { transition: transform 1s cubic-bezier(.2, .9, .2, 1); transition-delay: calc(var(--d) * 60ms); }
	.mv-split.mv-pre .mv-w > * { transform: translateY(110%) rotate(5deg); }
}
@keyframes mvRise { from { transform: translateY(110%) rotate(6deg); } to { transform: none; } }
@keyframes mvBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
	.mv-progress, .mv-dots, .mv-cue { display: none; }
	.mv-journey { height: auto; }
	.mv-pin, .mv-hsticky { position: static; height: auto; }
	.mv-hscroll .steps { flex-wrap: wrap; width: auto; transform: none !important; }
	.mv-fw { opacity: 1; }
}

/* Patch 2.0.1: blue chart bars, compact dashboard on phones so the whole window fits */
.mock-chart span { background: linear-gradient(180deg, #6f84ff, var(--accent)); }
.mock-chart span:nth-child(odd) { background: var(--accent-soft); }
@media (max-width: 960px) {
	.mv-journey .mock-main { padding: 12px; gap: 10px; }
	.mv-journey .mock-chart { height: 84px; padding: 10px; }
	.mv-journey .mock-kpi { padding: 8px 10px; }
	.mv-journey .mock-row:nth-child(3) { display: none; }
	.mv-mdetail { min-height: 0; }
	.mv-mdetail p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Patch 2.1: pinned scenes sized to the screen so they always fit and sit centred */
.mv-pin, .mv-hsticky, .mv-statement .mv-stick { box-sizing: border-box; }
.mv-jhead h2 { font-size: clamp(30px, min(4vw, 6.2vh), 54px); margin-bottom: min(24px, 2.5vh); }
.mv-counter { margin-bottom: min(14px, 1.5vh); }
.mv-stages li { padding: min(10px, 1.1vh) 0; }
.mv-stage3d { max-width: min(720px, calc((100svh - var(--header-h) - 120px) * 1.6)); }
.mv-journey .mock-body { min-height: min(340px, calc(100svh - var(--header-h) - 200px)); }
/* Floating cards follow the stage: "Prototype ready" only at Prototype, "AI workflow live" at Beta */
.mv-journey .mockup.st-1 .mock-float.f1 { opacity: 0; transform: translateY(14px) scale(.96); }
.mv-journey .mockup.st-1:not(.st-2) .mock-float.f1 { opacity: 1; transform: none; }
/* Demo statement */
.mv-statement { position: relative; background: var(--bg); }
.mv-statement .mv-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); }
.mv-stmt-text { font: 800 clamp(30px, min(5.2vw, 8vh), 72px)/1.06 var(--font-head); letter-spacing: -.035em; color: var(--ink); margin: 0; max-width: 20ch; }
.mv-statement:not(.mv-pinned) .mv-stick { position: static; height: auto; padding-block: 100px; }
/* "What does Visnoa Systems do?": normal readable section, headline bold, text regular */
.answer-strip { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 48px; align-items: start; }
.answer-strip h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.05; margin: 0; }
.answer-strip .answer-body p:first-child { font: 400 clamp(19px, 1.8vw, 24px)/1.55 var(--font-body); letter-spacing: 0; color: var(--ink); max-width: 46ch; margin-bottom: 20px; }
.answer-strip .answer-body p:not(:first-child) { font-size: 1.05rem; color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .answer-strip { grid-template-columns: 1fr; gap: 16px; } }
/* How we work: compact head and cards sized to the remaining height */
.mv-hsticky { justify-content: safe center; }
.mv-hscroll .section-head { margin-bottom: min(24px, 2.5vh); }
.mv-hscroll .section-head > h2 { font-size: clamp(30px, min(4.2vw, 6.5vh), 60px); }
.mv-hscroll .mv-hbar { margin-top: min(16px, 1.8vh); }
.mv-hscroll .mv-hlink { margin: 0 0 min(28px, 3vh) !important; }
.mv-hscroll .step { min-height: 0; height: var(--card-h, 400px); }
.mv-hscroll .step::before { font-size: clamp(56px, calc(var(--card-h, 400px) * .3), 150px); }
.mv-hscroll .step h3 { font-size: clamp(24px, min(3vw, 4.5vh), 40px); }
@media (prefers-reduced-motion: reduce) { .mv-statement .mv-stick { position: static; height: auto; padding-block: 100px; } .mv-hscroll .step { height: auto; } }
