/* =========================================================
   M-CORE VISION — Category illustrations
   Lightweight HTML/SVG/CSS animations, one per service area.
   Behaviour (set by js/main.js):
     .viz-run  → element is on screen; animations play
     (absent)  → animations are paused, entrance waits at frame 0
   ========================================================= */

.viz {
  --vb: #4d8dff;
  --vb2: #7db4ff;
  --vb3: #9cc4ff;
  --vg: #d6ab5a;
  --vg2: #e3c27f;
  --vgr: #86efac;
  --vpanel: #0e1c36;
  --vp: rgba(255, 255, 255, 0.06);
  --vl: rgba(255, 255, 255, 0.13);
  --vd: rgba(255, 255, 255, 0.26);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Off-screen / not yet seen: hold every animation */
.js .viz:not(.viz-run),
.js .viz:not(.viz-run) *,
.js .viz:not(.viz-run) *::before,
.js .viz:not(.viz-run) *::after {
  animation-play-state: paused !important;
}

/* Entrance: pieces build in sequence (--i) */
.viz .b {
  animation: viz-in 0.8s var(--ease-out) both;
  animation-delay: calc(0.15s + var(--i, 0) * 0.12s);
}
.viz svg .b,
.viz svg g { transform-box: fill-box; transform-origin: center; }

/* Elements that both build in and float */
.viz .b.v-float {
  animation: viz-in 0.8s var(--ease-out) both, viz-float 7s ease-in-out infinite;
  animation-delay: calc(0.15s + var(--i, 0) * 0.12s), calc(1.4s + var(--i, 0) * 0.12s);
}
.viz .b.v-float-alt {
  animation: viz-in 0.8s var(--ease-out) both, viz-float 8.5s ease-in-out infinite reverse;
  animation-delay: calc(0.15s + var(--i, 0) * 0.12s), calc(1.4s + var(--i, 0) * 0.12s);
}
.viz .v-float:not(.b) { animation: viz-float 7s ease-in-out infinite; animation-delay: 1.2s; }

@keyframes viz-in {
  from { opacity: 0; transform: translateY(1.2em) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes viz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes viz-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-0.45em); }
}
@keyframes viz-pop {
  from { opacity: 0; transform: scale(0.3); }
  to   { opacity: 1; transform: none; }
}
@keyframes viz-draw { to { stroke-dashoffset: 0; } }
@keyframes viz-grow-y { from { transform: scaleY(0); } }
@keyframes viz-grow-x { from { transform: scaleX(0); } }

/* Shared building blocks */
.viz .ln {
  display: block;
  height: 0.5em;
  width: var(--w, 60%);
  border-radius: 0.25em;
  background: var(--vd);
}
.viz .ln-lg { height: 0.85em; background: rgba(255, 255, 255, 0.78); }
.viz .v-btn {
  position: relative;
  display: block;
  width: 5.5em;
  height: 1.6em;
  border-radius: 0.4em;
  background: linear-gradient(90deg, var(--vb), #3b9cff);
}
.viz .v-btn-sm { width: 3.4em; height: 1.15em; }
.viz .v-dot { width: 0.8em; height: 0.8em; border-radius: 50%; background: var(--vb); flex-shrink: 0; }
.viz .v-dot.g { background: var(--vg); }
.viz .v-avatar { display: block; border-radius: 50%; background: linear-gradient(135deg, var(--vb2), #2f6fed); flex-shrink: 0; }
.viz .v-avatar.sm { width: 1.6em; height: 1.6em; }
.viz .v-avatar.lg { width: 4.4em; height: 4.4em; align-self: center; margin-top: 0.3em; box-shadow: 0 0 0 0.3em rgba(77, 141, 255, 0.22); }
.viz .v-logo { display: block; width: 1.3em; height: 1.3em; border-radius: 0.35em; background: linear-gradient(135deg, var(--vg2), var(--vg)); flex-shrink: 0; }
.viz .v-row { display: flex; align-items: center; gap: 0.6em; }
.viz .v-panel { background: var(--vp); border: 1px solid var(--vl); border-radius: 0.6em; padding: 0.8em; }
.viz .v-code-bar {
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 0.75em;
  border-bottom: 1px solid var(--vl);
  font-size: 0.72em;
  color: #b6c3d6;
  background: rgba(255, 255, 255, 0.03);
}
.viz .v-code-bar i { width: 0.6em; height: 0.6em; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.viz .v-code-bar span { margin-left: 0.6em; }
.viz .v-mini-chart { display: flex; align-items: flex-end; gap: 0.3em; height: 3.4em; }
.viz .v-mini-chart i {
  flex: 1;
  height: calc(var(--h, 0.5) * 100%);
  border-radius: 0.2em 0.2em 0 0;
  background: linear-gradient(180deg, var(--vb2), var(--vb));
  transform-origin: bottom;
  animation: viz-grow-y 0.8s var(--ease-out) both;
  animation-delay: 1.2s;
}
.viz .v-mini-chart i:nth-child(2) { animation-delay: 1.28s; }
.viz .v-mini-chart i:nth-child(3) { animation-delay: 1.36s; }
.viz .v-mini-chart i:nth-child(4) { animation-delay: 1.44s; }
.viz .v-mini-chart i:nth-child(5) { animation-delay: 1.52s; }
.viz .v-mini-chart i:nth-child(6) { animation-delay: 1.6s; background: linear-gradient(180deg, var(--vg2), var(--vg)); }
.viz .v-mini-chart i:nth-child(7) { animation-delay: 1.68s; }
.viz svg text { font-family: var(--font-sans, Inter, sans-serif); }

/* Placement: fill a service tile or split visual */
.tile-viz,
.split-viz { container-type: inline-size; }
.tile-viz > .viz,
.split-viz > .viz {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  color: #fff;
}
.tile-viz > .viz .stage,
.split-viz > .viz .stage {
  position: absolute;
  inset: 7% 7% 21% 7%;
  font-size: 2.05cqi;
}
.split-viz > .viz .stage { inset: 17% 7% 8% 7%; }
.tile-viz .tile-label { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }

/* =========================================================
   1. Website development — a site assembling in a browser
   ========================================================= */
.viz-web .v-browser {
  position: absolute;
  left: 0;
  top: 0;
  width: 78%;
  background: var(--vpanel);
  border: 1px solid rgba(120, 160, 255, 0.24);
  border-radius: 0.8em;
  overflow: hidden;
  box-shadow: 0 1.6em 3em rgba(0, 0, 0, 0.4);
}
.viz-web .v-chrome { display: flex; align-items: center; gap: 0.4em; padding: 0.55em 0.8em; border-bottom: 1px solid var(--vl); background: rgba(255, 255, 255, 0.03); }
.viz-web .v-chrome > i { width: 0.6em; height: 0.6em; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.viz-web .v-url {
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex: 1;
  margin-left: 0.8em;
  height: 1.5em;
  padding: 0 0.8em;
  border-radius: 0.75em;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72em;
  color: #b6c3d6;
}
.viz-web .v-lock { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--vgr); }
.viz-web .v-page { display: grid; gap: 1em; padding: 1em; }
.viz-web .v-nav { display: flex; align-items: center; gap: 0.8em; }
.viz-web .v-nav .ln { height: 0.4em; }
.viz-web .v-nav .v-btn-sm { margin-left: auto; }
.viz-web .v-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1em; align-items: center; }
.viz-web .v-hero-text { display: grid; gap: 0.55em; }
.viz-web .v-hero-text .v-btn { margin-top: 0.4em; }
.viz-web .v-img { position: relative; aspect-ratio: 4 / 3; border-radius: 0.6em; overflow: hidden; background: linear-gradient(160deg, #1e4a99, #0f2550); }
.viz-web .v-sun { position: absolute; width: 1.6em; height: 1.6em; top: 18%; right: 18%; border-radius: 50%; background: var(--vg2); }
.viz-web .v-hill { position: absolute; left: -10%; right: -10%; bottom: -35%; height: 72%; border-radius: 50% 50% 0 0; background: #2f6fed; opacity: 0.65; }
.viz-web .v-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7em; }
.viz-web .v-card { display: grid; gap: 0.45em; padding: 0.7em; border-radius: 0.6em; background: var(--vp); border: 1px solid var(--vl); }
.viz-web .v-ico { display: block; width: 1.4em; height: 1.4em; border-radius: 0.4em; background: rgba(77, 141, 255, 0.4); }
.viz-web .v-cursor {
  position: absolute;
  left: 86%;
  top: 92%;
  width: 1.6em;
  height: 1.6em;
  z-index: 3;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  animation: web-cursor 7s ease-in-out infinite;
  animation-delay: 1.8s;
}
@keyframes web-cursor {
  0%   { left: 86%; top: 92%; opacity: 0; }
  8%   { opacity: 1; }
  40%  { left: 12%; top: 58%; }
  47%  { left: 12%; top: 58%; transform: scale(0.82); }
  53%  { left: 12%; top: 58%; transform: none; }
  80%  { left: 70%; top: 34%; opacity: 1; }
  92%, 100% { left: 86%; top: 92%; opacity: 0; }
}
.viz-web .v-click {
  position: absolute;
  left: 30%;
  top: 50%;
  width: 1.4em;
  height: 1.4em;
  margin: -0.7em 0 0 -0.7em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0;
  animation: web-click 7s ease-out infinite;
  animation-delay: 1.8s;
}
@keyframes web-click {
  0%, 45% { opacity: 0; transform: scale(0.2); }
  48%     { opacity: 0.85; transform: scale(0.5); }
  62%     { opacity: 0; transform: scale(2.6); }
  100%    { opacity: 0; }
}
.viz-web .v-mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22%;
  height: 74%;
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  padding: 1.5em 0.6em 0.6em;
  border-radius: 1.2em;
  background: var(--vpanel);
  border: 0.22em solid #1f3a66;
  box-shadow: 0 1.4em 2.6em rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.viz-web .v-notch { position: absolute; top: 0.5em; left: 50%; width: 32%; height: 0.45em; border-radius: 0.3em; transform: translateX(-50%); background: rgba(255, 255, 255, 0.2); }
.viz-web .v-m-nav { display: block; width: 42%; height: 0.55em; border-radius: 0.3em; background: var(--vg); }
.viz-web .v-m-img { display: block; height: 3.4em; border-radius: 0.4em; background: linear-gradient(160deg, #1e4a99, #0f2550); }
.viz-web .v-mobile .v-btn { width: 100%; height: 1.2em; }
.viz-web .v-m-card { display: block; height: 1.6em; border-radius: 0.4em; background: var(--vp); border: 1px solid var(--vl); }
.viz-web .v-mobile > *:not(.v-notch) { animation: viz-in 0.6s var(--ease-out) both; }
.viz-web .v-mobile > :nth-child(2) { animation-delay: 1.5s; }
.viz-web .v-mobile > :nth-child(3) { animation-delay: 1.6s; }
.viz-web .v-mobile > :nth-child(4) { animation-delay: 1.7s; }
.viz-web .v-mobile > :nth-child(5) { animation-delay: 1.75s; }
.viz-web .v-mobile > :nth-child(6) { animation-delay: 1.85s; }
.viz-web .v-mobile > :nth-child(7) { animation-delay: 1.95s; }
.viz-web .v-mobile > :nth-child(8) { animation-delay: 2.05s; }

/* =========================================================
   2. Software development — modules connecting
   ========================================================= */
.viz-software .v-arch { position: absolute; right: 0; top: 0; width: 71%; height: 100%; overflow: visible; }
.viz-software .mod rect { fill: var(--vpanel); stroke: rgba(125, 180, 255, 0.45); stroke-width: 1.2; }
.viz-software .mod text { fill: #dbe4f1; font-size: 12.5px; font-weight: 600; }
.viz-software .mod-dot {
  fill: var(--vb);
  transform-box: fill-box;
  transform-origin: center;
  animation: soft-dot 2.6s ease-in-out infinite;
  animation-delay: 2s;
}
.viz-software .mod:nth-of-type(odd) .mod-dot { fill: var(--vg); animation-delay: 2.6s; }
@keyframes soft-dot {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50%      { opacity: 1; transform: scale(1.2); }
}
.viz-software .mod.b { animation-name: soft-mod-in; animation-duration: 0.9s; }
@keyframes soft-mod-in {
  from { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)); }
  to   { opacity: 1; transform: none; }
}
.viz-software .wire { fill: none; stroke: rgba(125, 180, 255, 0.28); stroke-width: 2; }
.viz-software .wire.b { animation-name: viz-fade; }
.viz-software .pulse {
  fill: none;
  stroke: var(--vb3);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 14 400;
  stroke-dashoffset: 14;
  opacity: 0;
  filter: drop-shadow(0 0 4px #4d8dff);
  animation: soft-pulse 3s linear infinite;
  animation-delay: calc(2s + var(--d, 0s));
}
@keyframes soft-pulse {
  0%   { stroke-dashoffset: 14; opacity: 0; }
  10%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { stroke-dashoffset: -190; opacity: 0; }
}
.viz-software .v-code {
  position: absolute;
  left: 0;
  top: 24%;
  width: 27%;
  border-radius: 0.7em;
  overflow: hidden;
  background: #0b1730;
  border: 1px solid rgba(120, 160, 255, 0.24);
  box-shadow: 0 1.4em 2.6em rgba(0, 0, 0, 0.45);
}
.viz-software .v-code-body { height: 9.5em; overflow: hidden; padding: 0.7em 0.75em; }
.viz-software .v-code-scroll { display: grid; gap: 0.6em; animation: soft-scroll 9s linear infinite; animation-delay: 1.5s; }
@keyframes soft-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.viz-software .cl { display: flex; gap: 0.4em; }
.viz-software .cl.in { padding-left: 1em; }
.viz-software .cl.in2 { padding-left: 2em; }
.viz-software .cl b { display: block; height: 0.45em; width: var(--w); border-radius: 0.22em; }
.viz-software .k { background: var(--vb2); }
.viz-software .f { background: var(--vg2); }
.viz-software .s { background: var(--vgr); }
.viz-software .p { background: rgba(255, 255, 255, 0.35); }

/* =========================================================
   3. Mobile apps — a phone turning gently, screens changing
   ========================================================= */
.viz-mobile .v-phone-wrap { position: absolute; left: 31%; width: 38%; top: 0; bottom: 0; perspective: 60em; }
.viz-mobile .v-phone {
  position: relative;
  height: 100%;
  aspect-ratio: 9 / 18.5;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 2.2em;
  border: 0.38em solid #1d355f;
  background: #050d1d;
  overflow: hidden;
  box-shadow: 0 2em 4em rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: mob-turn 10s ease-in-out infinite;
  animation-delay: 1s;
  transform: rotateY(-10deg) rotateX(4deg);
}
@keyframes mob-turn {
  0%, 100% { transform: rotateY(-10deg) rotateX(4deg); }
  50%      { transform: rotateY(9deg) rotateX(-2deg); }
}
.viz-mobile .v-island { position: absolute; z-index: 3; top: 0.6em; left: 50%; width: 32%; height: 1em; border-radius: 0.6em; background: #000; transform: translateX(-50%); }
.viz-mobile .v-screens { display: flex; width: 300%; height: 100%; animation: mob-screens 12s var(--ease-out) infinite; animation-delay: 1.6s; }
@keyframes mob-screens {
  0%, 28%   { transform: translateX(0); }
  33%, 61%  { transform: translateX(-33.333%); }
  66%, 94%  { transform: translateX(-66.666%); }
  100%      { transform: translateX(0); }
}
.viz-mobile .v-screen {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  width: 33.333%;
  padding: 2.4em 0.9em 0.9em;
  background: linear-gradient(180deg, #0f2042, #081530);
}
.viz-mobile .v-s-title { display: flex; align-items: center; justify-content: space-between; }
.viz-mobile .v-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.viz-mobile .v-stat { display: grid; gap: 0.4em; padding: 0.6em; border-radius: 0.6em; background: var(--vp); border: 1px solid var(--vl); animation: mob-bob 5s ease-in-out infinite; animation-delay: 2s; }
.viz-mobile .v-stat.alt { animation-delay: 2.6s; }
.viz-mobile .v-stat b { display: block; width: 70%; height: 1em; border-radius: 0.2em; background: rgba(255, 255, 255, 0.82); }
.viz-mobile .v-stat.alt b { background: var(--vg2); }
@keyframes mob-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-0.25em); }
}
.viz-mobile .ln-c { align-self: center; }
.viz-mobile .v-tags { display: flex; justify-content: center; gap: 0.4em; }
.viz-mobile .v-tags i { width: 2.6em; height: 1.1em; border-radius: 0.6em; background: rgba(77, 141, 255, 0.28); }
.viz-mobile .v-feed { display: grid; gap: 0.4em; padding: 0.5em; border-radius: 0.6em; background: var(--vp); border: 1px solid var(--vl); }
.viz-mobile .v-feed-img { display: block; height: 3.6em; border-radius: 0.4em; background: linear-gradient(160deg, #1e4a99, #0f2550); }
.viz-mobile .v-feed-img.g { background: linear-gradient(160deg, #7a6127, #2a2414); }
.viz-mobile .v-tabbar { display: flex; justify-content: space-around; margin-top: auto; padding: 0.5em 0 0.1em; border-top: 1px solid var(--vl); }
.viz-mobile .v-tabbar i { width: 1em; height: 1em; border-radius: 0.3em; background: var(--vd); }
.viz-mobile .v-tabbar i.on { background: var(--vb); }
.viz-mobile .v-touch {
  position: absolute;
  z-index: 4;
  left: 58%;
  top: 56%;
  width: 2.6em;
  height: 2.6em;
  margin: -1.3em 0 0 -1.3em;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  animation: mob-touch 12s ease-out infinite;
  animation-delay: 1.6s;
}
@keyframes mob-touch {
  0%, 21%  { opacity: 0; transform: scale(0.4); }
  24%      { opacity: 0.9; transform: scale(0.6); }
  29%      { opacity: 0; transform: scale(1.5); }
  54%      { opacity: 0; transform: scale(0.4); }
  57%      { opacity: 0.9; transform: scale(0.6); }
  62%      { opacity: 0; transform: scale(1.5); }
  87%      { opacity: 0; transform: scale(0.4); }
  90%      { opacity: 0.9; transform: scale(0.6); }
  95%, 100% { opacity: 0; transform: scale(1.5); }
}
.viz-mobile .v-notify {
  position: absolute;
  left: 0;
  top: 16%;
  width: 29%;
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.75em;
  border-radius: 0.7em;
  background: var(--vpanel);
  border: 1px solid rgba(120, 160, 255, 0.24);
  box-shadow: 0 1.2em 2.4em rgba(0, 0, 0, 0.4);
}
.viz-mobile .v-notify > span:last-child { display: grid; gap: 0.35em; flex: 1; }
.viz-mobile .v-notify-2 { left: auto; right: 0; top: 54%; }

/* =========================================================
   4. AI & machine learning — a neural network forming
   ========================================================= */
.viz-ai .v-net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.viz-ai .edge {
  stroke: rgba(125, 180, 255, 0.17);
  stroke-width: 1;
  animation: viz-fade 0.8s ease both;
  animation-delay: calc(0.3s + var(--l, 0) * 0.35s);
}
.viz-ai .signal {
  fill: none;
  stroke: var(--vb3);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 18 900;
  stroke-dashoffset: 18;
  opacity: 0;
  filter: drop-shadow(0 0 5px #4d8dff);
  animation: ai-signal 4.6s ease-in-out infinite;
  animation-delay: calc(2.2s + var(--d, 0s));
}
.viz-ai .signal:nth-child(3n) { stroke: var(--vg2); filter: drop-shadow(0 0 5px #d6ab5a); }
@keyframes ai-signal {
  0%   { stroke-dashoffset: 18; opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 1; }
  100% { stroke-dashoffset: -440; opacity: 0; }
}
.viz-ai .node.b { animation-name: viz-pop; animation-duration: 0.6s; }
.viz-ai .core { fill: #2f6fed; stroke: var(--vb3); stroke-width: 1.5; }
.viz-ai .nodes .node:nth-last-child(-n+3) .core { fill: var(--vg); stroke: var(--vg2); }
.viz-ai .halo {
  fill: rgba(77, 141, 255, 0.3);
  transform-box: fill-box;
  transform-origin: center;
  animation: ai-halo 3.2s ease-in-out infinite;
  animation-delay: calc(2s + var(--p, 0s));
}
@keyframes ai-halo {
  0%, 100% { opacity: 0.12; transform: scale(0.7); }
  50%      { opacity: 0.7; transform: scale(1.15); }
}
.viz-ai .lbl { fill: #8ea1bb; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; animation: viz-fade 0.8s both; animation-delay: 1.6s; }

/* =========================================================
   5. Cloud & DevOps — connected infrastructure + pipeline
   ========================================================= */
.viz-cloud .v-infra { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.viz-cloud .cloud { fill: #14336b; stroke: var(--vb2); stroke-width: 1.6; }
.viz-cloud .cloud-hl { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 2; stroke-linecap: round; }
.viz-cloud .cloud-t { fill: #fff; font-size: 15px; font-weight: 700; }
.viz-cloud .v-cloud-float { animation: cloud-float 7s ease-in-out infinite; animation-delay: 1s; }
@keyframes cloud-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
.viz-cloud .wire { fill: none; stroke: rgba(125, 180, 255, 0.28); stroke-width: 2; }
.viz-cloud .wire.b { animation-name: viz-fade; }
.viz-cloud .stream {
  fill: none;
  stroke: var(--vb3);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 4 14;
  animation: viz-fade 0.6s both, cloud-stream 1.6s linear infinite;
  animation-delay: 1.3s, calc(1.3s + var(--d, 0s));
}
.viz-cloud .stream.rev { animation-direction: normal, reverse; }
@keyframes cloud-stream { to { stroke-dashoffset: -36; } }
.viz-cloud .node-g rect { fill: var(--vpanel); stroke: rgba(125, 180, 255, 0.45); stroke-width: 1.2; }
.viz-cloud .node-g text { fill: #dbe4f1; font-size: 12px; font-weight: 600; }
.viz-cloud .node-g .srv { fill: rgba(255, 255, 255, 0.12); stroke: none; }
.viz-cloud .led { fill: #4ade80; animation: cloud-led 1.8s steps(2) infinite; animation-delay: var(--d, 0s); }
@keyframes cloud-led { 50% { opacity: 0.25; } }
.viz-cloud .db { fill: rgba(77, 141, 255, 0.25); stroke: var(--vb2); stroke-width: 1.2; }
.viz-cloud .pipe-track { stroke: rgba(255, 255, 255, 0.12); stroke-width: 4; stroke-linecap: round; }
.viz-cloud .pipe-fill {
  stroke: var(--vb);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: cloud-pipe 8s ease-in-out infinite;
  animation-delay: 2s;
}
@keyframes cloud-pipe {
  0%       { stroke-dashoffset: 400; opacity: 1; }
  75%, 93% { stroke-dashoffset: 0; opacity: 1; }
  100%     { stroke-dashoffset: 0; opacity: 0; }
}
.viz-cloud .st circle { fill: var(--vpanel); stroke: rgba(255, 255, 255, 0.28); stroke-width: 2; animation-duration: 8s; animation-iteration-count: infinite; animation-delay: 2s; }
.viz-cloud .st text { fill: #b6c3d6; font-size: 11px; font-weight: 600; }
.viz-cloud .st:nth-of-type(1) circle { animation-name: st0; }
.viz-cloud .st:nth-of-type(2) circle { animation-name: st1; }
.viz-cloud .st:nth-of-type(3) circle { animation-name: st2; }
.viz-cloud .st:nth-of-type(4) circle { animation-name: st3; }
.viz-cloud .st:nth-of-type(5) circle { animation-name: st4; }
@keyframes st0 { 0%, 95% { fill: #2f6fed; stroke: #9cc4ff; } 100% { fill: #0e1c36; stroke: rgba(255,255,255,.28); } }
@keyframes st1 { 0%, 17% { fill: #0e1c36; stroke: rgba(255,255,255,.28); } 19%, 95% { fill: #2f6fed; stroke: #9cc4ff; } 100% { fill: #0e1c36; stroke: rgba(255,255,255,.28); } }
@keyframes st2 { 0%, 36% { fill: #0e1c36; stroke: rgba(255,255,255,.28); } 38%, 95% { fill: #2f6fed; stroke: #9cc4ff; } 100% { fill: #0e1c36; stroke: rgba(255,255,255,.28); } }
@keyframes st3 { 0%, 55% { fill: #0e1c36; stroke: rgba(255,255,255,.28); } 57%, 95% { fill: #2f6fed; stroke: #9cc4ff; } 100% { fill: #0e1c36; stroke: rgba(255,255,255,.28); } }
@keyframes st4 { 0%, 74% { fill: #0e1c36; stroke: rgba(255,255,255,.28); } 76%, 95% { fill: #d6ab5a; stroke: #f1d69a; } 100% { fill: #0e1c36; stroke: rgba(255,255,255,.28); } }

/* =========================================================
   6. Data analytics — a dashboard drawing itself (sample data)
   ========================================================= */
.viz-data .v-dash { position: absolute; inset: 0; display: grid; grid-template-rows: auto auto 1fr; gap: 0.75em; }
.viz-data .v-dash-top { display: flex; align-items: center; justify-content: space-between; }
.viz-data .v-sample {
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vg2);
  border: 1px solid rgba(214, 171, 90, 0.45);
  border-radius: 999px;
  padding: 0.25em 0.75em;
}
.viz-data .v-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7em; }
.viz-data .v-kpi { display: grid; gap: 0.3em; padding: 0.7em 0.8em; border-radius: 0.6em; background: var(--vp); border: 1px solid var(--vl); }
.viz-data .v-kpi b { font-size: 1.7em; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.viz-data .v-kpi em { font-style: normal; font-size: 0.72em; font-weight: 600; color: var(--vgr); }
.viz-data .v-kpi em.gold { color: var(--vg2); }
.viz-data .v-charts { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.7em; min-height: 0; }
.viz-data .v-panel { min-height: 0; }
.viz-data .v-line { grid-row: span 2; display: flex; flex-direction: column; gap: 0.6em; }
.viz-data .v-line svg { flex: 1; width: 100%; min-height: 0; overflow: visible; }
.viz-data .grid line { stroke: rgba(255, 255, 255, 0.08); }
.viz-data .area { fill: rgba(77, 141, 255, 0.16); animation: viz-fade 1s both; animation-delay: 2s; }
.viz-data .stroke {
  fill: none;
  stroke: var(--vb2);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: viz-draw 1.6s var(--ease-out) forwards;
  animation-delay: 1.1s;
}
.viz-data .pt { fill: #fff; stroke: #2f6fed; stroke-width: 1.5; animation: viz-pop 0.4s both; animation-delay: calc(1.2s + var(--k, 0) * 0.18s); }
.viz-data .v-ring { display: flex; align-items: center; gap: 0.7em; }
.viz-data .v-ring svg { width: 44%; flex-shrink: 0; transform: rotate(-90deg); }
.viz-data .v-ring .track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 9; }
.viz-data .v-ring .fill,
.viz-data .v-ring .fill2 { fill: none; stroke-width: 9; animation: viz-draw 1.4s var(--ease-out) forwards; }
.viz-data .v-ring .fill { stroke: var(--vb); stroke-dasharray: 0.68 1; stroke-dashoffset: 0.68; animation-delay: 1.4s; }
.viz-data .v-ring .fill2 { stroke: var(--vg); stroke-dasharray: 0.18 1; stroke-dashoffset: -0.7; animation: viz-fade 0.8s both; animation-delay: 2.4s; }
.viz-data .v-bars { display: flex; flex-direction: column; gap: 0.5em; }
.viz-data .bars { display: flex; align-items: flex-end; gap: 0.3em; flex: 1; min-height: 2.4em; }
.viz-data .bars i {
  flex: 1;
  height: calc(var(--h, 0.5) * 100%);
  border-radius: 0.2em 0.2em 0 0;
  background: linear-gradient(180deg, var(--vb2), var(--vb));
  transform-origin: bottom;
  animation: viz-grow-y 0.8s var(--ease-out) both;
  animation-delay: calc(1.5s + var(--k, 0) * 0.08s);
}
.viz-data .bars i:nth-child(6) { background: linear-gradient(180deg, var(--vg2), var(--vg)); }

/* =========================================================
   7. Digital marketing — campaign in motion
   ========================================================= */
.viz-marketing .v-search,
.viz-marketing .v-social,
.viz-marketing .v-campaign {
  position: absolute;
  display: grid;
  gap: 0.6em;
  padding: 0.8em;
  border-radius: 0.8em;
  background: var(--vpanel);
  border: 1px solid rgba(120, 160, 255, 0.24);
  box-shadow: 0 1.2em 2.4em rgba(0, 0, 0, 0.4);
}
.viz-marketing .v-search { left: 0; top: 0; width: 52%; }
.viz-marketing .v-searchbar { display: flex; align-items: center; gap: 0.5em; height: 2em; padding: 0 0.75em; border-radius: 1em; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--vl); }
.viz-marketing .v-mag { width: 0.8em; height: 0.8em; border: 2px solid var(--vb2); border-radius: 50%; flex-shrink: 0; }
.viz-marketing .v-result { display: flex; align-items: flex-start; gap: 0.6em; padding: 0.45em 0.5em; border-radius: 0.5em; border: 1px solid transparent; }
.viz-marketing .v-result > span:last-child { display: grid; gap: 0.35em; flex: 1; }
.viz-marketing .v-rank { display: grid; place-items: center; width: 1.6em; height: 1.6em; flex-shrink: 0; border-radius: 0.4em; font-size: 0.72em; font-weight: 700; color: #b6c3d6; background: rgba(255, 255, 255, 0.08); }
.viz-marketing .v-result.top { background: rgba(77, 141, 255, 0.14); border-color: rgba(96, 155, 255, 0.45); }
.viz-marketing .v-result.top.b { animation: viz-in 0.8s var(--ease-out) both, mkt-glow 3.2s ease-in-out infinite; animation-delay: calc(0.15s + var(--i, 0) * 0.12s), 2s; }
@keyframes mkt-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(77, 141, 255, 0); }
  50%      { box-shadow: 0 0 0 0.25em rgba(77, 141, 255, 0.22); }
}
.viz-marketing .v-result.top .v-rank { background: var(--vg); color: #0b1f3a; }
.viz-marketing .ln-link { background: var(--vb2); }
.viz-marketing .ln-link.dim { background: rgba(125, 180, 255, 0.45); }
.viz-marketing .v-social { right: 0; top: 3%; width: 40%; }
.viz-marketing .v-post-head { display: flex; align-items: center; gap: 0.5em; }
.viz-marketing .v-post-img { height: 5.4em; border-radius: 0.5em; background: linear-gradient(135deg, #2f6fed, #14336b 60%, #6b5524); }
.viz-marketing .v-post-meta { display: flex; align-items: center; gap: 0.45em; font-size: 0.85em; color: #fff; }
.viz-marketing .v-post-meta b { font-variant-numeric: tabular-nums; }
.viz-marketing .v-post-meta .ln { margin-left: auto; }
.viz-marketing .v-heart {
  width: 1.1em;
  height: 1.1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f87171' d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3.1 4.5 6.8 4.5c2.1 0 3.6 1.1 5.2 3 1.6-1.9 3.1-3 5.2-3 3.7 0 5.9 3.9 4.4 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: mkt-beat 2.6s ease-in-out infinite;
  animation-delay: 2.2s;
}
@keyframes mkt-beat {
  0%, 60%, 100% { transform: scale(1); }
  70%           { transform: scale(1.3); }
  80%           { transform: scale(0.95); }
}
.viz-marketing .v-campaign { left: 6%; bottom: 0; width: 44%; }
.viz-marketing .v-meter { display: grid; gap: 0.3em; }
.viz-marketing .v-meter i {
  display: block;
  width: calc(var(--to, 0.6) * 100%);
  height: 0.55em;
  border-radius: 0.3em;
  background: linear-gradient(90deg, var(--vb), #3b9cff);
  transform-origin: left;
  animation: viz-grow-x 1.2s var(--ease-out) both;
  animation-delay: 1.7s;
}
.viz-marketing .v-meter i.gold { background: linear-gradient(90deg, var(--vg), var(--vg2)); animation-delay: 1.9s; }
.viz-marketing .v-spark { width: 100%; height: 2.2em; overflow: visible; }
.viz-marketing .v-spark path { fill: none; stroke: var(--vgr); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: viz-draw 1.4s var(--ease-out) forwards; animation-delay: 2.1s; }
.viz-marketing .v-audience { position: absolute; right: 3%; bottom: 0; width: 34%; height: auto; aspect-ratio: 1; overflow: visible; }
.viz-marketing .v-audience.b { animation: viz-in 0.8s var(--ease-out) both, mkt-breathe 6s ease-in-out infinite; animation-delay: calc(0.15s + var(--i, 0) * 0.12s), 2.6s; }
@keyframes mkt-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
.viz-marketing .aud-l { stroke: rgba(214, 171, 90, 0.55); stroke-width: 1.2; stroke-dasharray: 44; stroke-dashoffset: 44; animation: viz-draw 0.8s ease forwards; animation-delay: calc(1.6s + var(--k, 0) * 0.12s); }
.viz-marketing .aud-c { fill: var(--vg); }
.viz-marketing .aud-n {
  fill: #2f6fed;
  stroke: var(--vb3);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-pop 0.5s both, mkt-node 3s ease-in-out infinite;
  animation-delay: calc(1.8s + var(--k, 0) * 0.12s), calc(2.8s + var(--k, 0) * 0.3s);
}
@keyframes mkt-node {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

/* =========================================================
   8. SaaS — dashboard assembling, plans sliding, modules syncing
   ========================================================= */
.viz-saas .v-app {
  position: absolute;
  left: 0;
  top: 0;
  width: 74%;
  height: 86%;
  display: grid;
  grid-template-columns: 3em 1fr;
  overflow: hidden;
  border-radius: 0.8em;
  background: var(--vpanel);
  border: 1px solid rgba(120, 160, 255, 0.24);
  box-shadow: 0 1.6em 3em rgba(0, 0, 0, 0.4);
}
.viz-saas .v-side { display: flex; flex-direction: column; align-items: center; gap: 0.8em; padding: 0.8em 0; border-right: 1px solid var(--vl); background: rgba(255, 255, 255, 0.03); }
.viz-saas .v-side i { width: 1.2em; height: 1.2em; border-radius: 0.35em; background: var(--vd); }
.viz-saas .v-side i.on { background: var(--vb); }
.viz-saas .v-app-main { display: grid; grid-template-rows: auto 1fr; gap: 0.8em; min-height: 0; padding: 0.8em; }
.viz-saas .v-top { display: flex; align-items: center; gap: 0.7em; }
.viz-saas .v-sync {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-left: auto;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  border: 1px solid rgba(134, 239, 172, 0.35);
  font-size: 0.72em;
  font-weight: 600;
  color: var(--vgr);
}
.viz-saas .v-sync-dot { width: 0.55em; height: 0.55em; border-radius: 50%; background: #4ade80; animation: saas-sync 2s ease-out infinite; animation-delay: 1.6s; }
@keyframes saas-sync {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  100% { box-shadow: 0 0 0 0.6em rgba(74, 222, 128, 0); }
}
.viz-saas .v-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: 0.7em; min-height: 0; }
.viz-saas .v-panel { display: grid; gap: 0.55em; align-content: start; }
.viz-saas .v-panel:first-child { grid-template-rows: auto 1fr; align-content: stretch; }
.viz-saas .v-panel:first-child .v-mini-chart { height: auto; min-height: 3.4em; }
.viz-saas .v-panel .v-row { padding: 0.35em 0; border-bottom: 1px solid var(--vl); }
.viz-saas .v-modules { grid-column: span 2; display: flex; align-items: center; gap: 0.4em; padding: 0.6em; border-radius: 0.6em; background: var(--vp); border: 1px solid var(--vl); }
.viz-saas .v-mod { padding: 0.35em 0.7em; border-radius: 0.4em; font-size: 0.72em; font-weight: 600; color: #dbe4f1; white-space: nowrap; background: rgba(77, 141, 255, 0.18); border: 1px solid rgba(96, 155, 255, 0.4); }
.viz-saas .v-link { position: relative; flex: 1; height: 2px; overflow: hidden; background: rgba(125, 180, 255, 0.25); }
.viz-saas .v-link i { position: absolute; top: -1px; left: 0; width: 30%; height: 4px; border-radius: 2px; background: var(--vg2); animation: saas-link 1.8s linear infinite; animation-delay: calc(1.6s + var(--d, 0s)); }
@keyframes saas-link { from { transform: translateX(-100%); } to { transform: translateX(350%); } }
.viz-saas .v-plans { position: absolute; right: 0; bottom: 0; width: 44%; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 0.5em; animation: viz-float 8s ease-in-out infinite; animation-delay: 2s; }
.viz-saas .v-plan { display: grid; gap: 0.45em; padding: 0.6em; border-radius: 0.6em; background: var(--vpanel); border: 1px solid rgba(120, 160, 255, 0.3); box-shadow: 0 1em 2em rgba(0, 0, 0, 0.45); }
.viz-saas .v-plan.b { animation-name: saas-plan-in; animation-duration: 0.9s; }
@keyframes saas-plan-in { from { opacity: 0; transform: translateX(3em); } to { opacity: 1; transform: none; } }
.viz-saas .v-plan.pop { position: relative; top: -0.7em; border-color: var(--vg); }
.viz-saas .v-plan .v-btn { width: 100%; height: 1.1em; }
.viz-saas .v-plan.pop .v-btn { background: linear-gradient(90deg, var(--vg), var(--vg2)); }

/* =========================================================
   10. Training & internships — code, stages, projects
   ========================================================= */
.viz-training .v-editor {
  position: absolute;
  left: 0;
  top: 0;
  width: 60%;
  height: 66%;
  overflow: hidden;
  border-radius: 0.8em;
  background: #0b1730;
  border: 1px solid rgba(120, 160, 255, 0.24);
  box-shadow: 0 1.6em 3em rgba(0, 0, 0, 0.4);
}
.viz-training .v-typed {
  margin: 0;
  padding: 0.8em 1em;
  font: 500 0.8em/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #dbe4f1;
  white-space: pre;
  overflow: hidden;
}
.viz-training .v-typed::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--vb2);
  animation: train-caret 1s steps(2) infinite;
}
@keyframes train-caret { 50% { opacity: 0; } }
.viz-training .tok-k { color: var(--vb2); }
.viz-training .tok-f { color: var(--vg2); }
.viz-training .tok-s { color: var(--vgr); }
.viz-training .v-stages {
  position: absolute;
  right: 0;
  top: 0;
  width: 36%;
  display: grid;
  gap: 0.8em;
  padding: 0.9em;
  border-radius: 0.8em;
  background: var(--vpanel);
  border: 1px solid rgba(120, 160, 255, 0.24);
  box-shadow: 0 1.4em 2.6em rgba(0, 0, 0, 0.4);
}
.viz-training .v-progress { display: grid; gap: 0.45em; }
.viz-training .v-progress i { position: relative; display: block; height: 0.5em; overflow: hidden; border-radius: 0.3em; background: rgba(255, 255, 255, 0.1); }
.viz-training .v-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--vb), var(--vg2));
  transform-origin: left;
  animation: train-prog 9s ease-in-out infinite;
  animation-delay: 1.6s;
}
@keyframes train-prog {
  0%       { transform: scaleX(0.04); }
  78%, 95% { transform: scaleX(1); }
  100%     { transform: scaleX(0.04); }
}
.viz-training ol { display: grid; gap: 0.75em; margin: 0; padding: 0; list-style: none; }
.viz-training li { position: relative; display: flex; align-items: center; gap: 0.6em; font-size: 0.8em; font-weight: 600; color: #c9d4e3; }
.viz-training li:not(:last-child)::after { content: ""; position: absolute; left: 0.62em; top: 1.5em; width: 2px; height: 0.95em; background: rgba(255, 255, 255, 0.15); }
.viz-training .v-check {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: transparent center / 70% no-repeat;
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-delay: 1.6s;
}
.viz-training li:nth-child(1) .v-check { animation-name: chk0; }
.viz-training li:nth-child(2) .v-check { animation-name: chk1; }
.viz-training li:nth-child(3) .v-check { animation-name: chk2; }
.viz-training li:nth-child(4) .v-check { animation-name: chk3; }
@keyframes chk0 { 0%, 14% { background-color: transparent; border-color: rgba(255,255,255,.28); background-image: none; } 16%, 95% { background-color: #2f6fed; border-color: #9cc4ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); } 100% { background-color: transparent; border-color: rgba(255,255,255,.28); background-image: none; } }
@keyframes chk1 { 0%, 34% { background-color: transparent; border-color: rgba(255,255,255,.28); background-image: none; } 36%, 95% { background-color: #2f6fed; border-color: #9cc4ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); } 100% { background-color: transparent; border-color: rgba(255,255,255,.28); background-image: none; } }
@keyframes chk2 { 0%, 54% { background-color: transparent; border-color: rgba(255,255,255,.28); background-image: none; } 56%, 95% { background-color: #2f6fed; border-color: #9cc4ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); } 100% { background-color: transparent; border-color: rgba(255,255,255,.28); background-image: none; } }
@keyframes chk3 { 0%, 74% { background-color: transparent; border-color: rgba(255,255,255,.28); background-image: none; } 76%, 95% { background-color: #d6ab5a; border-color: #f1d69a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); } 100% { background-color: transparent; border-color: rgba(255,255,255,.28); background-image: none; } }
.viz-training .v-projects { position: absolute; left: 8%; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; }
.viz-training .v-proj { display: grid; gap: 0.45em; padding: 0.65em; border-radius: 0.6em; background: var(--vpanel); border: 1px solid rgba(120, 160, 255, 0.24); box-shadow: 0 1em 2em rgba(0, 0, 0, 0.4); }

/* =========================================================
   9. MCV Labs studio preview (home) — progressive reveal
   ========================================================= */
.viz-studio .b { animation-duration: 0.7s; animation-delay: calc(0.3s + var(--i, 0) * 0.14s); }

/* Products page: waveform driven by the real sample */
.wave.is-live i { animation: none !important; transition: transform 0.08s linear; }

/* =========================================================
   Training page: featured AI & data tracks
   ========================================================= */
.track-features { display: grid; gap: 56px; margin-top: 72px; }
.track-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.track-feature.reverse .tile { order: 2; }
.track-feature .num { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.track-feature h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: -0.02em; }
.track-feature p { color: var(--muted); max-width: 46ch; }

@media (max-width: 900px) {
  .track-feature { grid-template-columns: 1fr; gap: 28px; }
  .track-feature.reverse .tile { order: 0; }
  .track-feature .tile { max-width: 560px; width: 100%; }
}

@media (max-width: 640px) {
  .tile-viz { padding: 14px; }
  .tile-viz > .viz .stage { inset: 5% 5% 24% 5%; }
  .tile-viz .tile-label { font-size: 0.76rem; padding: 6px 10px; }
  .split-viz > .viz .stage { inset: 19% 5% 6% 5%; }
}

/* Reduced motion: show the finished illustration, no movement */
@media (prefers-reduced-motion: reduce) {
  .viz *, .viz *::before, .viz *::after { animation: none !important; transition: none !important; }
  .viz .v-cursor, .viz .v-click, .viz .v-touch, .viz .pulse, .viz .signal { display: none; }
  .viz .pipe-fill { stroke-dashoffset: 0; }
  .viz-cloud .st circle { fill: #2f6fed; stroke: #9cc4ff; }
  .viz-cloud .st:nth-of-type(5) circle { fill: #d6ab5a; stroke: #f1d69a; }
  .viz-data .stroke, .viz-data .v-ring .fill,
  .viz-marketing .v-spark path, .viz-marketing .aud-l { stroke-dashoffset: 0; }
  .viz-training .v-progress i::after { transform: scaleX(0.75); }
  .viz-training li:nth-child(-n+3) .v-check { background-color: #2f6fed; border-color: #9cc4ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
}
