/* Services: animated "glass layers" visuals inside the service cards (.pkg .thumb).
   Every card is the same tilted stage: a stack of glass sheets with a soft blue
   glow underneath. Each service arranges and animates the sheets differently.
   CSS only. Sizes use cqw so a scene scales with its card. */

/* ---------- The stage ---------- */
.viz { position: relative; overflow: hidden; container-type: size; perspective: 1100px; }
.viz::before {
  content: "";
  position: absolute;
  left: 20%; right: 20%; bottom: 4%; height: 34%;
  background: radial-gradient(closest-side, rgba(79, 143, 255, 0.3), rgba(79, 143, 255, 0));
  filter: blur(18px);
}
.viz .stack {
  --gap: 9cqw;
  position: absolute;
  left: 50%; top: 52%;
  width: 44cqw; aspect-ratio: 4 / 3;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(56deg) rotateZ(-40deg);
  animation: v-drift 16s ease-in-out infinite alternate;
}
@keyframes v-drift { to { transform: translate(-50%, -50%) rotateX(56deg) rotateZ(-32deg); } }

/* A sheet. --z is its level in the stack: -1 below, 0 middle, 1 above */
.viz .layer {
  position: absolute; inset: 0;
  border-radius: 2.4cqw;
  transform: translateZ(calc(var(--z) * var(--gap)));
}
.viz .deep { transform-style: preserve-3d; }
/* Sheet finishes */
.viz .l-grid {
  border: 1px solid rgba(157, 176, 204, 0.28);
  background:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px) 0 0 / 100% 16.66%,
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px) 0 0 / 12.5% 100%,
    rgba(127, 177, 236, 0.05);
  box-shadow: 0 0 7cqw rgba(79, 143, 255, 0.3);
}
.viz .l-glass {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, rgba(194, 221, 250, 0.14), rgba(79, 143, 255, 0.07));
}
.viz .l-mint { border: 1px solid rgba(143, 227, 198, 0.4); background: rgba(143, 227, 198, 0.04); }
.viz .l-clear { border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.02); }

/* Blocks on a sheet, placed in percentages: --x --y --w --h */
.viz i, .viz b, .viz u {
  position: absolute;
  left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
}
.viz i {
  width: calc(var(--w) * 1%); height: calc(var(--h) * 1%);
  border-radius: 1cqw;
  background: linear-gradient(135deg, rgba(244, 250, 255, 0.6), rgba(127, 177, 236, 0.32));
}
.viz i.m { background: linear-gradient(135deg, rgba(190, 245, 225, 0.9), rgba(143, 227, 198, 0.55)); }
/* A glowing mint point */
.viz b {
  width: 3cqw; height: 3cqw;
  margin: -1.5cqw 0 0 -1.5cqw;
  border-radius: 50%;
  background: #8fe3c6;
  box-shadow: 0 0 3cqw rgba(143, 227, 198, 0.8);
}
.viz b.ping::after {
  content: "";
  position: absolute; inset: -1.6cqw;
  border-radius: 50%;
  border: 1px solid rgba(143, 227, 198, 0.7);
  animation: v-ring 2s ease-out infinite;
}
@keyframes v-ring { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- Shared motion (every loop is 8s) ---------- */
/* Sheets lift apart, hold, then close */
.viz .lift .layer { animation: v-lift 8s cubic-bezier(0.65, 0, 0.2, 1) infinite; }
@keyframes v-lift {
  0%, 10% { transform: translateZ(calc(var(--z) * 0.5cqw)); }
  30%, 84% { transform: translateZ(calc(var(--z) * var(--gap))); }
  100% { transform: translateZ(calc(var(--z) * 0.5cqw)); }
}
/* The reverse: sheets start apart and come together */
.viz .build .layer { animation: v-build 8s cubic-bezier(0.65, 0, 0.2, 1) infinite; }
@keyframes v-build {
  0%, 10% { transform: translateZ(calc(var(--z) * var(--gap))); }
  34%, 82% { transform: translateZ(calc(var(--z) * 0.6cqw)); }
  100% { transform: translateZ(calc(var(--z) * var(--gap))); }
}
/* Sheets stay apart and breathe a little */
.viz .bob .layer { animation: v-bob 4s ease-in-out infinite alternate; }
@keyframes v-bob { to { transform: translateZ(calc(var(--z) * var(--gap) * 1.12)); } }

/* Things arriving one after another: --d is when the first starts, --n its place in line */
.viz .pop, .viz .grow-x, .viz .grow-y, .viz .fade, .viz .slide {
  animation: 8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  animation-delay: calc(var(--d, 0s) + var(--n, 0) * var(--step, 0.25s));
}
.viz .pop { animation-name: v-pop; }
.viz .grow-x { animation-name: v-grow-x; transform-origin: 0 50%; }
.viz .grow-y { animation-name: v-grow-y; transform-origin: 50% 100%; }
.viz .fade { animation-name: v-fade; }
.viz .slide { animation-name: v-slide; }
/* "early": leaves sooner, for things that start late in the loop, so they are gone before it restarts */
.viz .pop.early { animation-name: v-pop-e; }
.viz .grow-y.early { animation-name: v-grow-y-e; }
.viz .fade.early { animation-name: v-fade-e; }
@keyframes v-pop-e { 0%, 4% { transform: scale(0); } 9% { transform: scale(1.3); } 13%, 58% { transform: scale(1); } 66%, 100% { transform: scale(0); } }
@keyframes v-grow-y-e { 0%, 4% { transform: scaleY(0); } 16%, 58% { transform: scaleY(1); } 66%, 100% { transform: scaleY(0); } }
@keyframes v-fade-e { 0%, 4% { opacity: 0.12; } 9% { opacity: 1; filter: brightness(1.7); } 16%, 58% { opacity: 1; filter: none; } 66%, 100% { opacity: 0.12; } }
@keyframes v-slide { 0%, 3% { opacity: 0; transform: translateY(2.4cqw); } 11%, 58% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: translateY(2.4cqw); } }
@keyframes v-pop { 0%, 4% { transform: scale(0); } 9% { transform: scale(1.3); } 13%, 80% { transform: scale(1); } 88%, 100% { transform: scale(0); } }
@keyframes v-grow-x { 0%, 4% { transform: scaleX(0); } 14%, 80% { transform: scaleX(1); } 88%, 100% { transform: scaleX(0); } }
@keyframes v-grow-y { 0%, 4% { transform: scaleY(0); } 16%, 80% { transform: scaleY(1); } 88%, 100% { transform: scaleY(0); } }
@keyframes v-fade { 0%, 4% { opacity: 0.12; } 9% { opacity: 1; filter: brightness(1.7); } 16%, 80% { opacity: 1; filter: none; } 88%, 100% { opacity: 0.12; } }

/* A band of light crossing a sheet */
.viz .sweep { overflow: hidden; }
.viz .sweep::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, var(--shine, 0.45)) 50%, rgba(255, 255, 255, 0) 58%) 130% 0 / 300% 100% no-repeat;
  animation: v-sweep 8s linear infinite;
  animation-delay: var(--d, 0s);
}
@keyframes v-sweep { 0%, 32% { background-position: 130% 0; } 52%, 100% { background-position: -30% 0; } }

/* ---------- 02 AI enablement: sparks set off a conversation ---------- */
/* The conversation lines are quieter than other blocks, so the sparks lead */
.v-ai .chat i { border-radius: 2.2cqw; background: linear-gradient(135deg, rgba(244, 250, 255, 0.3), rgba(127, 177, 236, 0.16)); }
.v-ai .spark {
  position: absolute;
  left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: calc(var(--s) * 1cqw); height: calc(var(--s) * 1cqw);
  margin: calc(var(--s) * -0.5cqw) 0 0 calc(var(--s) * -0.5cqw);
  filter: drop-shadow(0 0 2cqw rgba(143, 227, 198, 0.95));
  animation: ai-spark 8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  animation-delay: calc(2.2s + var(--n, 0) * 0.3s);
}
.v-ai .spark::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #eafff7, #8fe3c6);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
@keyframes ai-spark {
  0%, 3% { transform: scale(0) rotate(-90deg); }
  10% { transform: scale(1.3) rotate(0deg); }
  15%, 40% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.18) rotate(0deg); }
  60%, 68% { transform: scale(1) rotate(0deg); }
  76%, 100% { transform: scale(0) rotate(90deg); }
}

/* ---------- 03 Feature and flow design: a path through three screens ---------- */
.v-flow .tile {
  position: absolute;
  left: calc(var(--x) * 1%); top: 24%;
  width: 26%; height: 52%;
  border-radius: 1.6cqw;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(194, 221, 250, 0.2), rgba(79, 143, 255, 0.1));
  animation: 8s cubic-bezier(0.5, 0, 0.2, 1) infinite;
}
/* Each screen holds a different shape: circle, square, triangle */
.v-flow .tile::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 50%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: rgba(214, 232, 252, 0.6);
}
.v-flow .t1::before { border-radius: 50%; }
.v-flow .t2::before { border-radius: 22%; }
.v-flow .t3::before { clip-path: polygon(50% 6%, 98% 92%, 2% 92%); }
/* The tick stands up to face you, so it undoes the stage's tilt */
.v-flow .tick {
  position: absolute; left: 58%; top: 158%;
  width: 9cqw; height: 9cqw;
  margin: -4.5cqw 0 0 -4.5cqw;
  overflow: visible;
  transform: rotateZ(36deg) rotateX(-56deg);
  filter: drop-shadow(0 0 1.4cqw rgba(143, 227, 198, 0.8));
}
.v-flow .tick path { fill: none; stroke: #8fe3c6; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: flow-tick 8s cubic-bezier(0.6, 0, 0.2, 1) infinite; }
@keyframes flow-tick {
  0%, 66% { stroke-dashoffset: 1; opacity: 0; }
  67% { stroke-dashoffset: 1; opacity: 1; }
  76%, 90% { stroke-dashoffset: 0; opacity: 1; }
  96%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
.v-flow .t1 { animation-name: flow-t1; }
.v-flow .t2 { animation-name: flow-t2; }
.v-flow .t3 { animation-name: flow-t3; }
.v-flow .link {
  position: absolute;
  left: calc(var(--x) * 1%); top: 50%;
  width: 6%; height: 0;
  border-top: 1.5px dashed rgba(194, 221, 250, 0.9);
  transform-origin: 0 50%;
  animation: 8s cubic-bezier(0.6, 0, 0.2, 1) infinite;
}
.v-flow .k1 { animation-name: flow-k1; }
.v-flow .k2 { animation-name: flow-k2; }
.v-flow u { --x: 85; --y: 50; width: 3cqw; height: 3cqw; margin: -1.5cqw 0 0 -1.5cqw; border-radius: 50%; background: #8fe3c6; box-shadow: 0 0 3cqw rgba(143, 227, 198, 0.9); animation: flow-run 8s cubic-bezier(0.6, 0, 0.2, 1) infinite; }
@keyframes flow-run {
  0%, 6% { left: 17%; opacity: 0; }
  11%, 24% { left: 17%; opacity: 1; }
  36%, 50% { left: 51%; opacity: 1; }
  62%, 84% { left: 85%; opacity: 1; }
  92%, 100% { left: 85%; opacity: 0; }
}
/* Each screen waits down on the grid, then rises to meet the dot as it arrives */
@keyframes flow-t1 {
  0%, 2% { transform: translateZ(-8cqw); border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
  11% { transform: none; border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
  14%, 88% { transform: none; border-color: #8fe3c6; box-shadow: 0 0 3cqw rgba(143, 227, 198, 0.35); }
  97%, 100% { transform: translateZ(-8cqw); border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
}
@keyframes flow-t2 {
  0%, 24% { transform: translateZ(-8cqw); border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
  36% { transform: none; border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
  39%, 88% { transform: none; border-color: #8fe3c6; box-shadow: 0 0 3cqw rgba(143, 227, 198, 0.35); }
  97%, 100% { transform: translateZ(-8cqw); border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
}
@keyframes flow-t3 {
  0%, 50% { transform: translateZ(-8cqw); border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
  62% { transform: none; border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
  65%, 88% { transform: none; border-color: #8fe3c6; box-shadow: 0 0 3cqw rgba(143, 227, 198, 0.35); }
  97%, 100% { transform: translateZ(-8cqw); border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
}
@keyframes flow-k1 { 0%, 24% { transform: scaleX(0); } 36%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes flow-k2 { 0%, 50% { transform: scaleX(0); } 62%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }

/* ---------- 04 App development: a phone, assembled sheet by sheet ---------- */
/* The sheets stand upright on the same ground, side by side, then slide together into one phone */
.v-app .stack { --gap: 16cqw; width: 20cqw; aspect-ratio: 9 / 16; top: 50%; transform: translate(-50%, -50%) rotateY(-20deg) rotateX(4deg); animation-name: app-drift; }
@keyframes app-drift { to { transform: translate(-50%, -50%) rotateY(-12deg) rotateX(3deg); } }
.v-app .layer { border-radius: 2.8cqw; transform: translateX(calc(var(--z) * var(--gap))) translateZ(calc(var(--z) * 3cqw)); }
.v-app .build .layer { animation-name: app-build; }
/* A softer band of light than the other cards */
.v-app .sweep { --shine: 0.16; }
@keyframes app-build {
  0%, 10% { transform: translateX(calc(var(--z) * var(--gap))) translateZ(calc(var(--z) * 3cqw)); }
  34%, 82% { transform: translateX(0) translateZ(calc(var(--z) * 0.6cqw)); }
  100% { transform: translateX(calc(var(--z) * var(--gap))) translateZ(calc(var(--z) * 3cqw)); }
}

/* ---------- 05 Web design and development: code below, the page above ---------- */
.v-web .stack { --gap: 8cqw; width: 37cqw; top: 50%; transform: translate(-50%, -50%) rotateY(28deg) rotateX(6deg); animation-name: web-drift; }
@keyframes web-drift { to { transform: translate(-50%, -50%) rotateY(18deg) rotateX(4deg); } }
/* Standing sheets would hide each other, so they step down and forward: structure, code, page */
.v-web .back { inset: -22% 20% 22% -20%; }
.v-web .code { background: linear-gradient(135deg, rgba(194, 221, 250, 0.14), rgba(79, 143, 255, 0.07)), rgba(14, 19, 30, 0.8); }
.v-web .front { inset: 22% -20% -22% 20%; border-color: rgba(255, 255, 255, 0.34); background: linear-gradient(135deg, rgba(194, 221, 250, 0.2), rgba(79, 143, 255, 0.12)), rgba(14, 19, 30, 0.9); }
.v-web .code i { height: 4.5%; border-radius: 99px; background: rgba(157, 196, 255, 0.75); }
.v-web .code i.m { background: rgba(143, 227, 198, 0.85); }

/* ---------- 06 Fractional design lead: a few days each month ---------- */
.v-cal .day { border-radius: 0.7cqw; background: rgba(214, 232, 252, 0.2); }
.v-cal .on {
  background: #8fe3c6;
  box-shadow: 0 0 3cqw rgba(143, 227, 198, 0.7);
  transform: translateZ(1.6cqw);
  animation: cal-on 8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  animation-delay: calc(1s + var(--n) * 0.35s);
}
@keyframes cal-on {
  0%, 4% { background-color: rgba(214, 232, 252, 0.2); box-shadow: none; transform: translateZ(0); }
  10% { background-color: #8fe3c6; transform: translateZ(3.6cqw); }
  15%, 66% { background-color: #8fe3c6; box-shadow: 0 0 3cqw rgba(143, 227, 198, 0.7); transform: translateZ(1.6cqw); }
  74%, 100% { background-color: rgba(214, 232, 252, 0.2); box-shadow: none; transform: translateZ(0); }
}

/* ---------- 07 Mentoring and coaching: one circle helps another grow ---------- */
.v-mentor .stack { --gap: 8cqw; width: 34cqw; aspect-ratio: 1; }
.v-mentor .layer { border-radius: 50%; }
.v-mentor .guide { border-color: rgba(255, 255, 255, 0.6); background: radial-gradient(closest-side, rgba(244, 250, 255, 0.5), rgba(127, 177, 236, 0.2)); box-shadow: 0 0 5cqw rgba(127, 177, 236, 0.35); }
.v-mentor .grows { border-color: rgba(143, 227, 198, 0.75); background: radial-gradient(closest-side, rgba(143, 227, 198, 0.3), rgba(143, 227, 198, 0.08)); animation: mentor-grow 8s cubic-bezier(0.4, 0, 0.2, 1) infinite; box-shadow: 0 0 5cqw rgba(143, 227, 198, 0.3); }
.v-mentor .wave { border: 1px solid rgba(194, 221, 250, 0.9); animation: mentor-wave 2s linear infinite; animation-delay: calc(var(--n) * 1s); }
@keyframes mentor-grow {
  0%, 6% { transform: translateZ(calc(-1 * var(--gap))) scale(0.4); opacity: 0.5; }
  72%, 86% { transform: translateZ(calc(-1 * var(--gap))) scale(1); opacity: 1; }
  96%, 100% { transform: translateZ(calc(-1 * var(--gap))) scale(0.4); opacity: 0.5; }
}
@keyframes mentor-wave {
  0% { transform: translateZ(var(--gap)) scale(0.95); opacity: 0; }
  20% { opacity: 0.8; }
  100% { transform: translateZ(calc(-1 * var(--gap))) scale(0.7); opacity: 0; }
}

/* ---------- 08 Branding: a mark, a palette and a typeface ---------- */
.v-brand .type span {
  position: absolute; left: 9%; top: 4%;
  font: 600 14cqw/1 Urbanist, Figtree, sans-serif;
  letter-spacing: -0.03em;
  background: var(--sky); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Closed, the sheets read as one card: Aa with the colour dots under it.
   The two lines share the dots' spot, so they only fade in once the sheets part. */
.v-brand .type .line { animation: brand-lines 8s ease infinite; }
@keyframes brand-lines { 0%, 26% { opacity: 0; } 38%, 80% { opacity: 1; } 88%, 100% { opacity: 0; } }
.v-brand .swatch i { border-radius: 50%; box-shadow: 0 0 2cqw rgba(127, 177, 236, 0.35); }
.v-brand .mark {
  position: absolute; left: 50%; top: 50%;
  width: 17cqw; height: 17cqw;
  margin: -8.5cqw 0 0 -8.5cqw;
  --d: 2.2s;
}
.v-brand .mark::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2.2cqw solid #f2f5f9; box-shadow: 0 0 4cqw rgba(156, 196, 255, 0.6); }
.v-brand .mark::after { content: ""; position: absolute; right: -1cqw; top: -1cqw; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: #8fe3c6; box-shadow: 0 0 3cqw rgba(143, 227, 198, 0.8); }

/* ---------- 09 Marketing: reach goes out, results go up ---------- */
.v-market .bars i { border-radius: 0.8cqw 0.8cqw 0 0; }
.v-market .wave {
  position: absolute; left: 72%; top: 30%;
  width: 16cqw; height: 16cqw;
  margin: -8cqw 0 0 -8cqw;
  border-radius: 50%;
  border: 1px solid rgba(143, 227, 198, 0.8);
  animation: market-wave 2.4s ease-out infinite;
  animation-delay: calc(var(--n) * 0.8s);
}
@keyframes market-wave { from { transform: scale(0.15); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* Reduced motion: every scene rests on its finished picture */
@media (prefers-reduced-motion: reduce) {
  .viz *, .viz *::before, .viz *::after { animation: none !important; }
  .v-mentor .wave, .v-market .wave { opacity: 0.4; }
}

/* Design systems: a sitemap builds, page by page, with the lines joining them */
.v-system .down { transform-origin: 50% 0; }
.v-system .mid { transform-origin: 50% 50%; }
.v-system .down, .v-system .mid { border-radius: 1px; background: rgba(194, 221, 250, 0.55); }

/* ---------- App and web development: code on the bottom sheet, the same
   components on a glass desktop above it, and on a glass phone floating on top.
   Same tilt and finishes as the other services ---------- */
/* The code lines step back once the cards arrive on the desktop and phone
   (the same cards land on both at the same moment), so the eye goes to them */
@property --line { syntax: "<number>"; inherits: true; initial-value: 1; }
.v-dev { animation: dev-dim 8s ease-in-out infinite; } /* on the whole scene: its layers have their own motion */
@keyframes dev-dim { 0%, 22% { --line: 1; } 30%, 84% { --line: 0.35; } 92%, 100% { --line: 1; } }
.v-dev .code i { height: 4%; border-radius: 99px; background: rgba(157, 196, 255, calc(0.42 * var(--line))); }
.v-dev .code i.m { background: rgba(143, 227, 198, calc(0.55 * var(--line))); }
.v-dev .desk, .v-dev .phone {
  -webkit-backdrop-filter: blur(0.8cqw);
  backdrop-filter: blur(0.8cqw);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.v-dev .desk { inset: -4% 30% 22% 0; } /* left edge in line with the code sheet */
/* Phone beside the desktop on the same level, tops in line */
.v-dev .phone { inset: -4% 2% 26% 76%; border-radius: 1.8cqw; }
.v-dev .desk i, .v-dev .phone i { border-radius: 0.7cqw; }
/* Outline-only glass parts */
.v-dev i.g { border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(194, 221, 250, 0.06); }

/* Services page: each illustration nudged so its visible shape sits in the
   middle of its card (the tilt leaves most of them a little low) */
.pkg .v-ai .stack, .pkg .v-audit .stack, .pkg .v-brand .stack, .pkg .v-market .stack { top: 47.4%; }
.pkg .v-system .stack { top: 41.4%; }
.pkg .v-cal .stack { top: 43.8%; }
.pkg .v-flow .stack { top: 46.9%; left: 47.1%; }
.pkg .v-mentor .stack { top: 48.6%; }
.pkg .v-web .stack { top: 49.2%; }
.pkg .v-dev .stack { top: 41%; left: 50.7%; }

/* Centred in the card: visuals.js measures each scene and sets --cx and --cy
   (in cqw and cqh), and the stack and its glow move by that much */
.viz .stack { margin-left: calc(var(--cx, 0) * 1cqw); margin-top: calc(var(--cy, 0) * 1cqh); }
.viz::before { translate: calc(var(--cx, 0) * 1cqw) calc(var(--cy, 0) * 1cqh); }

/* ---------- Design audits: the screen being reviewed is quiet (soft blocks and a
   faint sweep), so it sits level with the other illustrations and the mint
   findings stand out ---------- */
.v-audit .sweep { --shine: 0.18; }
.v-audit .sweep i { background: linear-gradient(135deg, rgba(244, 250, 255, 0.22), rgba(127, 177, 236, 0.1)); }
@media (prefers-reduced-motion: reduce) { .v-dev { animation: none; } }
