/* Home page scroll journey (pages/home.php + js/home.js). Loads before css/v2.css (header, footer, buttons, tokens).
   Scroll effects read --p (0..1) set by js/home.js and change transform/opacity only. They live under
   html.vxj:not(.rm), so without JS or with reduced motion every section is static and fully visible.
   Colours: plain hex/rgba only (Android Chrome). */
.vx-home { background: #070b14; }
.hx { font-family: var(--v-sans); color: #e2e8f0; background: #070b14; text-align: left; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.hx *, .hx *::before, .hx *::after { box-sizing: border-box; }
:where(.hx) :where(h1, h2, h3, p) { margin: 0; font-family: var(--v-sans); text-transform: none; text-align: inherit; }
.hx h2 em, .hx h1 em { font-style: normal; color: #2dd4bf; }
.hx-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1.2 var(--v-mono); letter-spacing: .1em; text-transform: uppercase; color: #2dd4bf; }
.hx-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.hx-head { max-width: 720px; margin-bottom: 56px; }
.hx-head h2 { margin-top: 16px; font: 700 clamp(34px, 5.4vw, 64px)/1.04 var(--v-sans); letter-spacing: -0.035em; color: #fff; }
.hx-head > p:not(.hx-eyebrow) { margin-top: 18px; font: 400 18px/1.6 var(--v-sans); color: #94a3b8; max-width: 600px; }
.hx-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.hx-head--center .hx-eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.hx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hx-actions--center { justify-content: center; }
.hx-textlink { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: #2dd4bf; font: 600 16px/1.2 var(--v-sans); text-decoration: none; border-bottom: 1px solid rgba(45, 212, 191, 0.4); padding-bottom: 4px; }
.hx-textlink:hover { color: #99f6e4; border-color: #99f6e4; }
.hx a:focus-visible { outline: 2px solid #2dd4bf; outline-offset: 3px; }
.hx-stick { position: relative; }

/* Pinned sections: tall outer, sticky full-screen inner (JS on, motion allowed). */
.vxj:not(.rm) .hx-hero { height: 210vh; }
.vxj:not(.rm) .hx-wall { height: 280vh; }
.vxj:not(.rm) .hx-connect { height: 200vh; }
.vxj:not(.rm) [data-sp="pin"] > .hx-stick, .vxj:not(.rm) .hx-connect > .hx-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------- 1. Hero ---------- */
.hx-hero { position: relative; background-color: #070b14; background-image: radial-gradient(900px 600px at 80% 0%, rgba(13, 148, 136, 0.22), rgba(13, 148, 136, 0) 70%), radial-gradient(700px 500px at 0% 100%, rgba(30, 64, 175, 0.18), rgba(30, 64, 175, 0) 70%); }
.hx-hero > .hx-stick { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hx-dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hx-hero__copy { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: calc(var(--v-head-h) + 24px) 24px 96px; }
.hx-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.24); background: rgba(15, 23, 42, 0.6); font: 500 13.5px/1.3 var(--v-sans); color: #cbd5e1; }
.hx-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2dd4bf; }
.hx-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2dd4bf; opacity: 0; animation: hx-ping 2.2s ease-out infinite; }
@keyframes hx-ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.hx-hero h1 { margin-top: 26px; max-width: 980px; font: 700 clamp(42px, 9.4vw, 112px)/0.98 var(--v-sans); letter-spacing: -0.045em; color: #fff; }
.hx-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hx-line > span { display: inline-block; }
.hx-lede { margin-top: 26px; max-width: 580px; font: 400 clamp(17px, 1.6vw, 20px)/1.6 var(--v-sans); color: #cbd5e1; }
.hx-formed { position: absolute; left: 24px; right: 24px; top: 72%; text-align: center; font: 700 clamp(26px, 4vw, 44px)/1.1 var(--v-sans); letter-spacing: -0.03em; color: #fff; opacity: 0; pointer-events: none; }
.hx-formed span { display: block; margin-top: 12px; font: 400 clamp(15px, 1.5vw, 18px)/1.5 var(--v-sans); letter-spacing: 0; color: #94a3b8; }
.hx-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font: 600 11px/1 var(--v-mono); letter-spacing: .14em; text-transform: uppercase; color: #64748b; }
.hx-cue i { position: relative; width: 22px; height: 34px; border-radius: 12px; border: 2px solid #334155; }
.hx-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #2dd4bf; animation: hx-cue 1.8s ease-in-out infinite; }
@keyframes hx-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
/* Load-in: headline lines rise, then the rest fades up. */
.hx-line > span { animation: hx-rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hx-line:nth-child(2) > span { animation-delay: .08s; }
.hx-line:nth-child(3) > span { animation-delay: .16s; }
.hx-kicker, .hx-lede, .hx-hero .hx-actions { animation: hx-fade .8s ease .3s both; }
.hx-kicker { animation-delay: 0s; }
.hx-hero .hx-actions { animation-delay: .42s; }
@keyframes hx-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes hx-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.vxj:not(.rm) .hx-hero__copy { opacity: calc(1 - var(--p, 0) * 2.4); transform: translateY(calc(var(--p, 0) * -70px)) scale(calc(1 - var(--p, 0) * .08)); transform-origin: 30% 50%; }
.vxj:not(.rm) .hx-hero.is-late .hx-hero__copy { visibility: hidden; }
.vxj:not(.rm) .hx-formed { opacity: calc((var(--p, 0) - .62) * 3.2); transform: translateY(calc((1 - var(--p, 0)) * 30px)); }
.vxj:not(.rm) .hx-cue { opacity: calc(1 - var(--p, 0) * 6); }
.rm .hx-formed, .rm .hx-cue, html:not(.vxj) .hx-formed, html:not(.vxj) .hx-cue { display: none; }

/* ---------- 2. Work wall ---------- */
.hx-wall { position: relative; background: #070b14; }
.hx-wall > .hx-stick { padding: calc(var(--v-head-h) + 24px) 16px 24px; }
.hx-wall__head { position: relative; z-index: 1; text-align: center; }
.hx-wall__head .hx-eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.hx-wall__head h2 { margin-top: 12px; font: 700 clamp(30px, 5vw, 56px)/1.05 var(--v-sans); letter-spacing: -0.035em; color: #fff; }
.hx-frame { position: relative; width: min(1200px, 100%); height: min(78vh, 760px); margin: 28px auto 0; border-radius: 18px; overflow: hidden; background: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.35); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.hx-frame__bar { position: absolute; z-index: 2; inset: 0 0 auto 0; height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f1f5f9; border-bottom: 1px solid #cbd5e1; }
.hx-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.hx-frame__bar i:first-child { background: #f87171; } .hx-frame__bar i:nth-child(2) { background: #fbbf24; } .hx-frame__bar i:nth-child(3) { background: #34d399; }
.hx-frame__bar span { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; font: 500 12.5px/1.2 var(--v-mono); color: #64748b; }
.hx-frame__cols { position: absolute; inset: 38px 0 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 14px 14px 0; overflow: hidden; }
.hx-col { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.hx-col img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14); background: #f8fafc; }
.hx-frame__link { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; background: #0b1220; color: #fff; font: 600 15px/1 var(--v-sans); text-decoration: none; white-space: nowrap; box-shadow: 0 12px 30px rgba(2, 6, 23, 0.4); }
.hx-frame__link:hover { background: #111827; color: #2dd4bf; }
.vxj:not(.rm) .hx-wall__head { opacity: calc(1 - var(--p, 0) * 3.2); transform: translateY(calc(var(--p, 0) * -40px)); }
.vxj:not(.rm) .hx-wall.is-late .hx-wall__head { visibility: hidden; }
.vxj:not(.rm) .hx-frame { transform-origin: 50% 90%; transform: scale(calc(.6 + .4 * min(1, var(--p, 0) * 1.9))); border-radius: calc(28px - 14px * min(1, var(--p, 0) * 1.9)); }
.vxj:not(.rm) .hx-col--1 { transform: translateY(calc(var(--p, 0) * -48%)); }
.vxj:not(.rm) .hx-col--2 { transform: translateY(calc(-50% + var(--p, 0) * 44%)); }
.vxj:not(.rm) .hx-col--3 { transform: translateY(calc(-8% - var(--p, 0) * 40%)); }
.vxj:not(.rm) .hx-frame__link { opacity: calc((var(--p, 0) - .45) * 4); }

/* Chips that pop in around the work wall */
.hx-chip { position: absolute; z-index: 4; display: none; padding: 9px 14px; border-radius: 999px; background: #2dd4bf; color: #042f2e; font: 600 13.5px/1 var(--v-sans); white-space: nowrap; box-shadow: 0 10px 24px rgba(2, 6, 23, 0.35); }
.hx-chip--1 { left: 4%; top: 18%; } .hx-chip--2 { right: 5%; top: 30%; } .hx-chip--3 { left: 7%; top: 62%; } .hx-chip--4 { right: 4%; top: 70%; background: #fff; color: #0b1220; }
.vxj:not(.rm) .hx-chip { display: block; opacity: clamp(0, (var(--p, 0) - .5 - var(--c) * .07) * 8, 1); transform: scale(calc(.4 + .6 * clamp(0, (var(--p, 0) - .5 - var(--c) * .07) * 8, 1))); }
.hx-chip--1 { --c: 0; } .hx-chip--2 { --c: 1; } .hx-chip--3 { --c: 2; } .hx-chip--4 { --c: 3; }

/* ---------- 2b. Brief to plan (pinned teal panel) ---------- */
.hx-brief { position: relative; background: #070b14; padding: 24px 12px; }
.vxj:not(.rm) .hx-brief { height: 300vh; padding: 0; }
.hx-panel { position: relative; display: flex; align-items: center; justify-content: center; padding: 72px 24px; border-radius: 28px; background-color: #2dd4bf; background-image: radial-gradient(rgba(4, 47, 46, 0.12) 1.3px, rgba(4, 47, 46, 0) 1.7px); background-size: 20px 20px; color: #042f2e; }
.vxj:not(.rm) .hx-panel { position: absolute; inset: 0; padding: calc(var(--v-head-h) + 16px) 24px 24px; transform: scale(calc(.5 + .5 * min(1, var(--p, 0) * 3.2))); border-radius: calc(48px * (1 - min(1, var(--p, 0) * 3.2))); }
.hx-panel__in { width: 100%; max-width: 760px; }
.hx-brief .hx-eyebrow { color: #042f2e; }
.hx-brief h2 { margin-top: 14px; font: 700 clamp(32px, 5.4vw, 64px)/1.02 var(--v-sans); letter-spacing: -0.04em; color: #042f2e; }
.hx-brief h2 em { color: #fff; }
.hx-ask { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding: 10px 10px 10px 22px; border-radius: 999px; background: #fff; box-shadow: 0 18px 40px rgba(4, 47, 46, 0.25); }
.hx-ask__text { position: relative; flex: 1; overflow: hidden; font: 500 clamp(15px, 1.7vw, 19px)/1.4 var(--v-sans); color: #0b1220; white-space: nowrap; text-overflow: ellipsis; }
.hx-ask__mask { position: absolute; inset: 0; background: #fff; border-left: 2px solid #0d9488; transform: translateX(100%); }
.hx-ask__btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #0b1220; color: #2dd4bf; }
.hx-ask__btn svg { width: 18px; height: 18px; }
.hx-plan { margin: 22px 0 0; padding: 8px 22px; list-style: none; border-radius: 22px; background: #fff; box-shadow: 0 18px 40px rgba(4, 47, 46, 0.2); }
.hx-plan li { position: relative; padding: 15px 0 15px 40px; border-bottom: 1px solid #e2e8f0; font: 400 15.5px/1.5 var(--v-sans); color: #475569; }
.hx-plan li:last-child { border-bottom: 0; }
.hx-plan li::before { content: ""; position: absolute; left: 0; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: #0d9488 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.hx-plan b { display: block; font: 700 16px/1.3 var(--v-sans); color: #0b1220; }
.vxj:not(.rm) .hx-brief .hx-panel__in > .hx-eyebrow, .vxj:not(.rm) .hx-brief h2 { opacity: clamp(0, (var(--p, 0) - .12) * 6, 1); }
.vxj:not(.rm) .hx-ask { opacity: clamp(0, (var(--p, 0) - .2) * 6, 1); transform: translateY(calc(20px * (1 - clamp(0, (var(--p, 0) - .2) * 6, 1)))); }
.vxj:not(.rm) .hx-ask__mask { transform: translateX(calc(100% * clamp(0, (var(--p, 0) - .26) * 3.6, 1))); }
.vxj:not(.rm) .hx-plan { opacity: clamp(0, (var(--p, 0) - .48) * 8, 1); transform: translateY(calc(30px * (1 - clamp(0, (var(--p, 0) - .48) * 8, 1)))); }
.vxj:not(.rm) .hx-plan li { opacity: clamp(.15, (var(--p, 0) - .52 - var(--r) * .08) * 10, 1); }
.vxj:not(.rm) .hx-plan li::before { transform: scale(clamp(0, (var(--p, 0) - .52 - var(--r) * .08) * 10, 1)); }

/* ---------- 3. Services stack ---------- */
.hx-services { position: relative; padding: 120px 0 80px; background: #eef2f1; color: #0f172a; }
.hx-services .hx-head h2 { color: #0b1220; }
.hx-services .hx-head > p:not(.hx-eyebrow) { color: #475569; }
.hx-services .hx-eyebrow { color: #0f766e; }
.hx-stack { margin: 0; padding: 0; list-style: none; }
.hx-card { position: sticky; top: calc(var(--v-head-h) + 20px + var(--i) * 14px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 440px; margin-bottom: 28px; padding: 48px; border-radius: 28px; background: #fff; border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.08); transform-origin: 50% 0; overflow: hidden; }
.hx-card::after { content: ""; position: absolute; inset: 0; background: #0b1220; opacity: 0; pointer-events: none; border-radius: inherit; }
.vxj:not(.rm) .hx-card { transform: scale(calc(1 - var(--p, 0) * .07)); }
.vxj:not(.rm) .hx-card::after { opacity: calc(var(--p, 0) * .35); }
.hx-card__num { font: 600 13px/1 var(--v-mono); letter-spacing: .1em; color: #0f766e; }
.hx-card h3 { margin-top: 18px; font: 700 clamp(30px, 4vw, 48px)/1.05 var(--v-sans); letter-spacing: -0.035em; color: #0b1220; }
.hx-card__body > p { margin-top: 16px; max-width: 480px; font: 400 17.5px/1.6 var(--v-sans); color: #475569; }
.hx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hx-tags li { padding: 7px 12px; border-radius: 999px; background: rgba(15, 23, 42, 0.06); font: 500 13.5px/1.2 var(--v-sans); color: #334155; }
.hx-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: #0f766e; font: 600 16px/1.2 var(--v-sans); text-decoration: none; }
.hx-card__link .v-arrow { transition: transform .2s ease; }
.hx-card__link:hover .v-arrow { transform: translateX(4px); }
/* Dark and teal cards */
.hx-card--dev, .hx-card--ai { background: #0f172a; border-color: rgba(148, 163, 184, 0.16); }
.hx-card--apps { background: #134e4a; border-color: rgba(45, 212, 191, 0.25); }
.hx-card--consent { background: #ccfbf1; }
.hx-card--dev h3, .hx-card--ai h3, .hx-card--apps h3 { color: #fff; }
.hx-card--dev .hx-card__body > p, .hx-card--ai .hx-card__body > p { color: #94a3b8; }
.hx-card--apps .hx-card__body > p { color: #ccfbf1; }
.hx-card--dev .hx-card__num, .hx-card--ai .hx-card__num, .hx-card--apps .hx-card__num, .hx-card--dev .hx-card__link, .hx-card--ai .hx-card__link, .hx-card--apps .hx-card__link { color: #2dd4bf; }
.hx-card--apps .hx-card__link { color: #5eead4; }
.hx-card--dev .hx-tags li, .hx-card--ai .hx-tags li, .hx-card--apps .hx-tags li { background: rgba(255, 255, 255, 0.08); color: #e2e8f0; }

/* Card art: default is the finished state; with JS each animation waits (paused at its first frame) until the card is in view. */
.hx-art { position: relative; height: 320px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; background-image: radial-gradient(rgba(15, 23, 42, 0.09) 1.2px, rgba(15, 23, 42, 0) 1.6px); background-size: 16px 16px; overflow: hidden; }
.hx-card--dev .hx-art, .hx-card--ai .hx-art { background-color: #111c33; background-image: radial-gradient(rgba(148, 163, 184, 0.14) 1.2px, rgba(148, 163, 184, 0) 1.6px); }
.hx-card--apps .hx-art { background-color: #115e59; background-image: radial-gradient(rgba(204, 251, 241, 0.16) 1.2px, rgba(204, 251, 241, 0) 1.6px); }
.hx-card--consent .hx-art { background-color: #f0fdfa; }
.vxj:not(.rm) .hx-art * { animation-play-state: paused !important; }
.vxj:not(.rm) .hx-card.is-in .hx-art * { animation-play-state: running !important; }
.rm .hx-art *, .rm .hx-art *::before, .rm .hx-art *::after { animation: none !important; }

/* design: a page layout assembles itself */
.hx-win { position: relative; width: 78%; max-width: 360px; aspect-ratio: 4 / 3; border-radius: 12px; background: #fff; box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14); padding: 12% 8% 8%; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto 1fr; gap: 8px; }
.hx-win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8%; border-radius: 12px 12px 0 0; background: #e2e8f0; }
.hx-win b { display: block; border-radius: 6px; background: #e2e8f0; }
.hx-win .a { grid-column: 1; height: 16px; background: #0b1220; }
.hx-win .b { grid-column: 1; height: 10px; width: 80%; }
.hx-win .c { grid-column: 2; grid-row: 1 / 4; background: #2dd4bf; }
.hx-win .d { grid-column: 1; height: 26px; width: 55%; border-radius: 999px; background: #0f766e; align-self: start; }
.hx-win .e, .hx-win .f { display: none; }
.vxj .hx-win b { animation: hx-drop .7s cubic-bezier(.3, 1.4, .5, 1) both; }
.hx-win .b { animation-delay: .15s !important; } .hx-win .c { animation-delay: .3s !important; } .hx-win .d { animation-delay: .45s !important; }
@keyframes hx-drop { from { opacity: 0; transform: translateY(-26px) scale(.9); } to { opacity: 1; transform: none; } }
.hx-pointer { position: absolute; left: 62%; top: 64%; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9.5 21z' fill='%230b1220' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.vxj .hx-pointer { animation: hx-point 3.2s ease-in-out .8s infinite; }
@keyframes hx-point { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-70px, -38px); } 50% { transform: translate(-70px, -38px) scale(.85); } 60% { transform: translate(-70px, -38px); } }

/* dev: code lines type in, caret blinks */
.hx-code { width: 80%; max-width: 380px; padding: 26px 24px; border-radius: 14px; background: #0b1220; border: 1px solid rgba(148, 163, 184, 0.2); display: flex; flex-direction: column; gap: 12px; }
.hx-code i { display: block; height: 10px; width: var(--w); margin-left: calc(var(--x, 0) * 18px); border-radius: 5px; background: #334155; transform-origin: 0 50%; }
.hx-code i:nth-child(2n) { background: #2dd4bf; opacity: .8; }
.hx-code i:nth-child(3n) { background: #818cf8; opacity: .8; }
.vxj .hx-code i { animation: hx-type .5s steps(8, end) both; animation-delay: calc(var(--d) * .22s); }
@keyframes hx-type { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hx-caret { width: 9px; height: 16px; background: #2dd4bf; animation: vl-blink 1.06s steps(1, end) infinite; }

/* apps: phone screen fills with cards, a badge pops */
.hx-phone { position: relative; width: 150px; height: 270px; border-radius: 28px; padding: 30px 12px 12px; background: #042f2e; border: 3px solid #5eead4; display: flex; flex-direction: column; gap: 9px; }
.hx-phone__top { position: absolute; top: 10px; left: 50%; width: 46px; height: 7px; margin-left: -23px; border-radius: 4px; background: #115e59; }
.hx-phone b { display: block; height: 44px; border-radius: 10px; background: #ccfbf1; }
.hx-phone b:nth-of-type(2) { background: #5eead4; } .hx-phone b:nth-of-type(4) { height: 28px; background: #2dd4bf; }
.vxj .hx-phone b { animation: hx-pop .55s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--d) * .14s + .1s); }
@keyframes hx-pop { from { opacity: 0; transform: translateY(16px) scale(.85); } to { opacity: 1; transform: none; } }
.hx-badge { position: absolute; top: -10px; right: -12px; width: 30px; height: 30px; border-radius: 50%; background: #f97316; color: #fff; font: 700 14px/30px var(--v-sans); text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.vxj .hx-badge { animation: hx-badge 2.4s ease-in-out .9s infinite both; }
@keyframes hx-badge { 0% { transform: scale(0); } 12% { transform: scale(1.25); } 20%, 100% { transform: scale(1); } }

/* seo: bars rise, rank chip lands */
.hx-chart { position: relative; width: 78%; max-width: 360px; height: 200px; display: flex; align-items: flex-end; gap: 10px; padding: 0 0 2px; border-bottom: 2px solid #cbd5e1; }
.hx-chart b { flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: #99f6e4; transform-origin: 50% 100%; }
.hx-chart b:last-of-type { background: #0d9488; }
.vxj .hx-chart b { animation: hx-grow .8s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--d) * .1s); }
@keyframes hx-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hx-rank { position: absolute; right: -6px; top: -14px; padding: 8px 12px; border-radius: 10px; background: #0b1220; color: #2dd4bf; font: 700 16px/1 var(--v-mono); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25); }
.vxj .hx-rank { animation: hx-pop .6s cubic-bezier(.3, 1.6, .5, 1) .75s both; }

/* ai: network lines draw, a pulse travels */
.hx-net { width: 80%; max-width: 340px; height: auto; overflow: visible; }
.hx-net__lines path { fill: none; stroke: #2dd4bf; stroke-width: 2; stroke-dasharray: 120; stroke-dashoffset: 0; opacity: .55; }
.vxj .hx-net__lines path { animation: hx-draw 1s ease both; }
.hx-net__lines path:nth-child(2) { animation-delay: .12s !important; } .hx-net__lines path:nth-child(3) { animation-delay: .24s !important; } .hx-net__lines path:nth-child(4) { animation-delay: .36s !important; } .hx-net__lines path:nth-child(5) { animation-delay: .48s !important; }
@keyframes hx-draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.hx-net__hub { fill: #2dd4bf; }
.hx-net__nodes circle { fill: #111c33; stroke: #94a3b8; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.vxj .hx-net__nodes circle { animation: hx-node 2.4s ease-in-out infinite; }
.hx-net__nodes circle:nth-child(2) { animation-delay: .5s !important; } .hx-net__nodes circle:nth-child(3) { animation-delay: 1s !important; } .hx-net__nodes circle:nth-child(4) { animation-delay: 1.5s !important; } .hx-net__nodes circle:nth-child(5) { animation-delay: 2s !important; }
@keyframes hx-node { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.35); } }
.hx-net__pulse { fill: #fff; }
.rm .hx-net__pulse { display: none; }

/* consent: switches flip on one by one */
.hx-toggles { width: 80%; max-width: 340px; padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12); }
.hx-toggles p { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #e2e8f0; font: 600 15px/1.2 var(--v-sans); color: #0f172a; }
.hx-toggles b { position: relative; width: 44px; height: 26px; border-radius: 13px; background: #0d9488; }
.hx-toggles b::after { content: ""; position: absolute; top: 3px; left: 21px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.vxj .hx-toggles b { animation: hx-sw-bg .35s ease both; animation-delay: calc(var(--d) * .35s + .3s); }
.vxj .hx-toggles b::after { animation: hx-sw .35s ease both; animation-delay: calc(var(--d) * .35s + .3s); animation-play-state: inherit; }
@keyframes hx-sw-bg { from { background: #cbd5e1; } to { background: #0d9488; } }
@keyframes hx-sw { from { transform: translateX(-18px); } to { transform: none; } }
.hx-toggles em { display: block; margin-top: 14px; font: 600 12px/1.2 var(--v-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #0f766e; }

/* ---------- 4. Everything connects ---------- */
.hx-connect { position: relative; background: #070b14; }
.hx-connect > .hx-stick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: 1200px; margin: 0 auto; padding: calc(var(--v-head-h) + 24px) 24px 40px; min-height: 100vh; min-height: 100svh; }
.hx-connect__map { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.hx-connect__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-connect__lines path { fill: none; stroke: #2dd4bf; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .7; }
.hx-connect__ring { fill: none; stroke: rgba(45, 212, 191, 0.35); stroke-width: 1.5; }
.hx-node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #0f172a; border: 1px solid rgba(45, 212, 191, 0.45); color: #fff; font: 600 clamp(14px, 1.6vw, 17px)/1 var(--v-sans); white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.hx-node::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2dd4bf; }
.hx-node--1 { left: 18%; top: 22%; } .hx-node--2 { left: 82%; top: 22%; } .hx-node--3 { left: 18%; top: 78%; } .hx-node--4 { left: 82%; top: 78%; }
.hx-hub { position: absolute; left: 50%; top: 50%; width: 34%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 50%; background: #0b1220; border: 1px solid rgba(45, 212, 191, 0.5); box-shadow: 0 0 60px rgba(45, 212, 191, 0.25); overflow: hidden; }
.hx-hub svg.vesnio-logo { position: absolute; left: 4.6%; top: 50%; width: 340%; max-width: none; transform: translateY(-50%); }
.hx-connect__copy h2 { margin-top: 16px; font: 700 clamp(40px, 6.4vw, 80px)/1 var(--v-sans); letter-spacing: -0.045em; color: #fff; }
.hx-connect__copy > p:not(.hx-eyebrow) { margin-top: 22px; max-width: 520px; font: 400 18px/1.65 var(--v-sans); color: #94a3b8; }
.vxj:not(.rm) .hx-connect__lines path { stroke-dashoffset: calc(1 - min(1, max(0, (var(--p, 0) - .06) * 2.6))); }
.vxj:not(.rm) .hx-node { opacity: clamp(0, (var(--p, 0) - .16 - var(--n) * .05) * 7, 1); transform: translate(-50%, -50%) scale(calc(.6 + .4 * clamp(0, (var(--p, 0) - .16 - var(--n) * .05) * 7, 1))); }
.vxj:not(.rm) .hx-hub { transform: translate(-50%, -50%) scale(calc(.6 + .4 * clamp(0, (var(--p, 0) - .02) * 3, 1))); }
.vxj:not(.rm) .hx-connect__map { transform: scale(calc(.8 + .2 * clamp(0, var(--p, 0) * 2.5, 1))); }
.vxj:not(.rm) .hx-connect__copy { opacity: clamp(0, (var(--p, 0) - .26) * 5, 1); transform: translateY(calc(40px * (1 - clamp(0, (var(--p, 0) - .26) * 5, 1)))); }

/* ---------- 5. Numbers ---------- */
.hx-numbers { padding: 110px 0; background: #0b1220; border-top: 1px solid rgba(148, 163, 184, 0.1); border-bottom: 1px solid rgba(148, 163, 184, 0.1); }
.hx-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hx-num { text-align: center; padding: 28px 12px; border-radius: 22px; background: #0f172a; border: 1px solid rgba(148, 163, 184, 0.14); }
.hx-num b { display: block; font: 700 clamp(56px, 8vw, 104px)/1 var(--v-sans); letter-spacing: -0.05em; color: #fff; font-variant-numeric: tabular-nums; }
.hx-num:nth-child(2) b, .hx-num:nth-child(4) b { color: #2dd4bf; }
.hx-num span { display: block; margin-top: 12px; font: 600 12.5px/1.3 var(--v-mono); letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }

/* Generic reveal: zoom up into place */
.vxj:not(.rm) .rv { opacity: 0; transform: translateY(40px) scale(.86); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * .1s); }
.vxj:not(.rm) .rv.is-in { opacity: 1; transform: none; }

/* ---------- 6. Process (pinned, sideways) ---------- */
.hx-process { position: relative; background-color: #070b14; background-image: radial-gradient(800px 500px at 100% 100%, rgba(13, 148, 136, 0.18), rgba(13, 148, 136, 0) 70%); padding: 100px 0; }
.hx-process__head { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hx-process__head h2 { margin-top: 16px; font: 700 clamp(34px, 5.4vw, 64px)/1.04 var(--v-sans); letter-spacing: -0.035em; color: #fff; }
.hx-meter { display: none; height: 3px; margin-top: 28px; max-width: 420px; border-radius: 2px; background: #1e293b; overflow: hidden; }
.hx-meter i { display: block; height: 100%; background: #2dd4bf; transform-origin: 0 50%; }
.hx-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1200px; margin: 48px auto 0; padding: 0 24px; list-style: none; }
.hx-step { position: relative; padding: 32px 28px 34px; border-radius: 24px; background: #0f172a; border: 1px solid rgba(148, 163, 184, 0.16); }
.hx-step__num { display: block; font: 700 64px/1 var(--v-sans); letter-spacing: -0.05em; color: rgba(45, 212, 191, 0.9); }
.hx-step h3 { margin-top: 28px; font: 700 28px/1.1 var(--v-sans); letter-spacing: -0.025em; color: #fff; }
.hx-step p { margin-top: 12px; font: 400 16.5px/1.6 var(--v-sans); color: #94a3b8; }
.vxj:not(.rm) .hx-process { padding: 0; }
.vxj:not(.rm) .hx-process > .hx-stick { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--v-head-h) + 16px) 0 32px; }
.vxj:not(.rm) .hx-meter { display: block; }
.vxj:not(.rm) .hx-meter i { transform: scaleX(var(--p, 0)); }
.vxj:not(.rm) .hx-track { display: flex; max-width: none; width: 100%; margin-top: 40px; padding: 0 max(24px, calc((100vw - 1152px) / 2)); gap: 24px; overflow: visible; transform: translateX(calc(var(--p, 0) * var(--dist, 0) * -1px)); will-change: transform; }
.vxj:not(.rm) .hx-step { flex: none; width: min(80vw, 460px); min-height: 360px; opacity: clamp(.3, .3 + (var(--p, 0) * 3.6 - var(--s)) * 1.4, 1); transform: scale(calc(.9 + .1 * clamp(0, (var(--p, 0) * 3.6 - var(--s) + .5), 1))); }

/* ---------- 7. Clients ---------- */
.hx-clients { padding: 120px 0 110px; background: #f8fafc; color: #0f172a; }
.hx-clients .hx-head h2 { color: #0b1220; }
.hx-clients .hx-eyebrow { color: #0f766e; }
.hx-board { max-width: 1140px; margin: 0 auto; padding: 32px; border-radius: 28px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1); }
.hx-board img { display: block; width: 100%; height: auto; }
.vxj:not(.rm) .hx-board { transform: scale(calc(.82 + .18 * min(1, var(--p, 0) * 1.25))); opacity: calc(.2 + var(--p, 0) * 1.4); }

/* ---------- 8. Final CTA ---------- */
.hx-final { position: relative; padding: 140px 0 150px; text-align: center; overflow: hidden; background-color: #070b14; background-image: radial-gradient(700px 420px at 50% 100%, rgba(13, 148, 136, 0.35), rgba(13, 148, 136, 0) 70%), radial-gradient(rgba(148, 163, 184, 0.13) 1.3px, rgba(148, 163, 184, 0) 1.7px); background-size: auto, 22px 22px; }
.hx-final h2 { font: 700 clamp(46px, 10vw, 136px)/.95 var(--v-sans); letter-spacing: -0.05em; color: #fff; text-align: center; }
.hx-final h2 span, .hx-final h2 em { display: block; }
.hx-final p { max-width: 580px; margin: 28px auto 0; font: 400 18px/1.6 var(--v-sans); color: #cbd5e1; text-align: center; }
.vxj:not(.rm) .hx-final h2 { transform: scale(calc(.62 + .38 * min(1, var(--p, 0) * 1.25))); opacity: calc(var(--p, 0) * 1.8); }
.vxj:not(.rm) .hx-final h2 em { display: block; transform: translateX(calc((1 - min(1, var(--p, 0) * 1.25)) * 18%)); }

/* ---------- Phone ---------- */
@media (max-width: 900px) {
  .hx-card { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 28px 22px 22px; border-radius: 24px; top: calc(var(--v-head-h) + 12px + var(--i) * 10px); }
  .hx-art { height: 190px; order: -1; }
  .hx-card h3 { margin-top: 12px; }
  .hx-card__body > p { font-size: 16px; margin-top: 12px; }
  .hx-tags { display: none; }
  .hx-card__link { margin-top: 18px; }
  .hx-win { width: 62%; } .hx-code { width: 70%; padding: 18px; gap: 9px; } .hx-chart { height: 130px; width: 66%; }
  .hx-phone { transform: scale(.62); } .hx-toggles { width: 72%; padding: 10px 16px; } .hx-toggles p { padding: 7px 0; font-size: 14px; } .hx-net { width: 56%; }
  .hx-chip { font-size: 12px; padding: 7px 11px; }
  .hx-plan { padding: 4px 16px; } .hx-plan li { padding: 11px 0 11px 34px; font-size: 14px; } .hx-plan li::before { top: 12px; width: 22px; height: 22px; } .hx-plan b { font-size: 15px; }
  .hx-ask { margin-top: 20px; padding-left: 16px; border-radius: 22px; } .hx-ask__text { white-space: normal; } .hx-ask__btn { width: 38px; height: 38px; }
  .vxj:not(.rm) .hx-panel { padding: calc(var(--v-head-h) + 8px) 18px 16px; }
  .hx-connect > .hx-stick { grid-template-columns: 1fr; gap: 12px; align-content: center; padding: calc(var(--v-head-h) + 8px) 24px 24px; }
  .hx-connect__map { max-width: min(330px, 44svh); }
  .hx-node { padding: 9px 13px; }
  .hx-connect__copy > p:not(.hx-eyebrow) { font-size: 16.5px; margin-top: 14px; }
  .hx-connect__copy .hx-textlink { margin-top: 16px; }
  .hx-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hx-track { grid-template-columns: 1fr; }
  .vxj:not(.rm) .hx-step { min-height: 300px; }
}
@media (max-width: 600px) {
  .hx-wrap, .hx-hero__copy { padding-left: 20px; padding-right: 20px; }
  .hx-hero__copy { padding-bottom: 88px; }
  .hx-kicker { font-size: 12.5px; }
  .hx-hero .hx-actions .v-btn { flex: 1 1 auto; }
  .hx-head { margin-bottom: 36px; }
  .hx-head > p:not(.hx-eyebrow) { font-size: 16.5px; }
  .hx-wall > .hx-stick { padding-left: 10px; padding-right: 10px; }
  .hx-frame { height: min(74svh, 640px); }
  .hx-frame__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 10px 0; }
  .hx-col { gap: 10px; }
  .hx-col--3 { display: none; }
  .hx-frame__bar span { font-size: 11px; }
  .hx-services { padding: 80px 0 48px; }
  .hx-services .hx-wrap { padding: 0 12px; }
  .hx-services .hx-head { padding: 0 8px; }
  .hx-numbers { padding: 72px 0; }
  .hx-num { padding: 22px 8px; border-radius: 18px; }
  .hx-process { padding: 72px 0; }
  .hx-step { padding: 26px 22px; }
  .hx-step__num { font-size: 52px; }
  .hx-step h3 { margin-top: 20px; }
  .hx-clients { padding: 80px 0; }
  .hx-board { padding: 14px; border-radius: 20px; }
  .hx-final { padding: 100px 0 110px; }
  .hx-final .v-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hx *, .hx *::before, .hx *::after { animation: none !important; transition: none !important; }
}
