/* SPINTeQ homepage mockup 3 — "slate studio" direction.
   Tokens, type and component language follow the reference
   (spinteq-dashboard-studio.lovable.app): Manrope Light, a slate-blue studio
   gradient with drifting light beams, and one glass surface used everywhere. */

:root {
  --bg-0: #ffffff;
  --bg-1: #f5f7fb;
  --bg-2: #edf1f7;
  --fg: oklch(28% .045 262);
  --fg-90: oklch(28% .045 262 / .9);
  --fg-80: oklch(28% .045 262 / .8);
  --fg-75: oklch(28% .045 262 / .75);
  --fg-40: oklch(28% .045 262 / .4);
  --fg-20: oklch(28% .045 262 / .2);
  --glass: rgb(255 255 255 / .86);
  --glass-border: rgb(15 27 51 / .11);
  --ink: #ffffff;
  --r: 1.25rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --brand: #2563eb;
  --deep: #dfe7f5;
  --spark: #2563eb;
  --brand-2: #1d4ed8;
  --accent: #2563eb;
  --tone: #2563eb;
  --green: #059669;
  --amber: #d97706;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; background: var(--bg-1); }
body {
  margin: 0; color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  background: radial-gradient(at 70% 0%, rgb(37 99 235 / .1), transparent 55%), linear-gradient(var(--bg-0), var(--bg-1) 60%, var(--bg-2));
  background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--ink); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }

/* drifting studio light */
.beams {
  min-height: 100vh; overflow-x: clip;
  background-image: linear-gradient(115deg, transparent 40%, oklch(100% 0 0 / .07) 50%, transparent 60%), linear-gradient(115deg, transparent 60%, oklch(100% 0 0 / .05) 66%, transparent 72%);
  background-size: 200% 100%, 200% 100%; background-attachment: fixed;
}
.anim .beams { animation: beam-drift 18s ease-in-out infinite alternate; }
@keyframes beam-drift { from { background-position: -40vw 0, -20vw 0; } to { background-position: 40vw 0, 30vw 0; } }

.wrap { width: min(80rem, 100%); margin-inline: auto; padding-inline: 1.25rem; }
.sec { padding-block: 5rem; }
.sec-tight { padding-block: 2rem 0; }
.sec-b { padding-bottom: 5rem; }

/* ---------- type ---------- */
h1 { font-size: clamp(2.25rem, 4.7vw, 3.75rem); font-weight: 300; line-height: 1.25; letter-spacing: 0; max-width: 48rem; margin-inline: auto; text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 2.9vw, 2.25rem); font-weight: 300; line-height: 1.22; margin-bottom: 2rem; text-wrap: balance; }
h2.narrow { max-width: 48rem; }
h3 { font-size: 1.125rem; font-weight: 400; line-height: 1.4; }
.dim { color: var(--fg-75); }
.label { font-size: .75rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-80); margin-bottom: .75rem; line-height: 1.4; }
.label.center { text-align: center; font-size: .875rem; margin-bottom: 1.5rem; }
.lede { color: var(--fg-90); }

/* ---------- surfaces ---------- */
.glass { background-color: var(--glass); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-radius: var(--r); }
.lift { transition: transform .5s var(--ease), background-color .3s, border-color .3s; }
.lift:hover { transform: translateY(-4px); background-color: oklch(80% .008 255 / .45); border-color: oklch(29% .045 262 / .26); }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i.fill { fill: currentColor; stroke: none; }
.round { display: inline-grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 999px; color: var(--fg-80); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.round:hover { background-color: var(--glass-border); color: var(--fg); }
button.round:active { transform: scale(.92); }
.round .i { width: 16px; height: 16px; }
.chip { display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: .75rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; padding: .75rem 1.5rem; font-size: .875rem; line-height: 1.43; white-space: nowrap; transition: transform .4s var(--ease), background-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn-solid { background-color: var(--fg); color: var(--ink); font-weight: 500; }
.btn-glass { border-radius: 999px; }
.btn-glass:hover { background-color: var(--glass-border); }
.btn-sm { padding: .55rem 1.2rem; }
.btn .i { width: 16px; height: 16px; }
.shine { background-image: linear-gradient(110deg, transparent 35%, oklch(100% 0 0 / .8) 50%, transparent 65%); background-repeat: no-repeat; background-size: 200% 100%; background-position: -150% 0; }
.anim .shine { animation: shine-move 3.5s ease-in-out infinite; }
@keyframes shine-move { from { background-position: -150% 0; } to { background-position: 250% 0; } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; width: min(80rem, 100%); margin-inline: auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem 1.25rem; }
/* once the page scrolls, a full-width backdrop keeps the logo and nav readable over the content passing underneath */
.top::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background-color: color-mix(in srgb, var(--bg-1) 88%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--glass-border); opacity: 0; transition: opacity .35s; pointer-events: none; }
.top.is-stuck::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-emblem { width: 34px; height: 34px; }
.brand-word { width: auto; height: 38px; }
.brand-word.lg { height: 48px; }
.seg { display: flex; align-items: center; gap: .25rem; padding: .25rem; border-radius: 1rem; margin-inline: auto; }
.seg-item { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 2.25rem; padding: 0 .9rem; border-radius: .75rem; font-size: .875rem; color: var(--fg-90); transition: background-color .3s, color .3s; }
.seg-item:hover { background-color: oklch(29% .045 262 / .08); color: var(--fg); }
.seg-item.is-active { width: 4.5rem; padding: 0; background-color: var(--glass-border); color: var(--fg); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 1.5rem; }
.hero-copy { text-align: center; position: relative; z-index: 2; }
.hero-copy .lede { margin-top: 1rem; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }

/* full-screen hero: the copy sits on the left, the picture of the current stage fills the screen behind it */
.hero { display: grid; align-content: center; min-height: max(40rem, calc(100svh - 4.5rem)); padding-top: 0; padding-bottom: 8rem; }
.hero-copy { text-align: left; max-width: 35rem; }
.hero-copy h1 { margin-inline: 0; }
.hero-cta { justify-content: flex-start; }
.stage { position: absolute; inset: -4.5rem calc(50% - 50vw) 0; z-index: 0; overflow: hidden; }
.sys { position: absolute; inset: 0; isolation: isolate; }
.shots { position: absolute; inset: 0; background: var(--bg-2); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.shot.is-active { opacity: 1; }
/* each picture drifts slowly closer while it is on screen */
.anim .shot { transform: scale(1.14); transition: opacity 1.4s var(--ease), transform 0s 1.4s; }
.anim .shot.is-active { transform: scale(1.02); transition: opacity 1.4s var(--ease), transform 8s linear; }
/* the page colour washes in from the left and the edges, so the copy and header stay readable */
.sys::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg-1) 0%, var(--bg-1) 22%, color-mix(in srgb, var(--bg-1) 90%, transparent) 38%, color-mix(in srgb, var(--bg-1) 45%, transparent) 54%, transparent 72%),
              linear-gradient(180deg, color-mix(in srgb, var(--bg-1) 88%, transparent) 0, transparent 20%, transparent 70%, var(--bg-1) 100%); }
/* a band of light crosses the screen as the stage changes */
.sys-sweep { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .3) 50%, transparent 62%); background-size: 250% 100%; }
.anim .sys.is-sweeping .sys-sweep { animation: sys-sweep 1.5s var(--ease); }
@keyframes sys-sweep { 0% { opacity: 0; background-position: 120% 0; } 20%, 70% { opacity: 1; } 100% { opacity: 0; background-position: -40% 0; } }
@keyframes sys-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sys-glow { 0%, 100% { opacity: .45; } 50% { opacity: .75; } }
/* which stage is showing, and a way to jump */
.sys-foot { position: absolute; z-index: 2; right: calc(50% - min(40rem, 50%) + 1.25rem); bottom: 5.25rem; display: flex; align-items: center; gap: 1.5rem; padding: .8rem 1.4rem; border-radius: 999px; }
.sys-cap { display: flex; align-items: baseline; gap: 1rem; white-space: nowrap; }
.sys-no { font-size: .75rem; font-weight: 500; letter-spacing: .3em; color: var(--fg-75); }
.sys-no b { font-weight: 500; color: var(--accent); }
.sys-names { display: grid; }
.sys-names li { grid-area: 1 / 1; font-size: 1.05rem; font-weight: 400; line-height: 1.2; text-align: right; opacity: 0; transform: translateY(10px); filter: blur(5px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); }
.sys[data-stage="0"] .sys-names li:nth-child(1), .sys[data-stage="1"] .sys-names li:nth-child(2), .sys[data-stage="2"] .sys-names li:nth-child(3), .sys[data-stage="3"] .sys-names li:nth-child(4), .sys[data-stage="4"] .sys-names li:nth-child(5) { opacity: 1; transform: none; filter: none; }
.stage-list { display: flex; gap: .45rem; width: 15rem; }
.stage-list li { flex: 1; }
.stage-btn { display: block; width: 100%; padding: .6rem 0; }
.stage-btn .bar { display: block; height: 3px; border-radius: 999px; background: var(--fg-20); overflow: hidden; transition: background-color .3s; }
.stage-btn:hover .bar { background: var(--fg-40); }
.stage-btn .bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.stage-btn.is-done .bar i, .stage-btn.is-active .bar i { transform: scaleX(1); }
.sys.is-playing .stage-btn.is-active .bar i { animation: sys-fill var(--dur, 5s) linear both; }
.stage-btn .txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 860px) {
  /* small screens: copy first, then the picture on a screen of its own */
  .hero { display: block; min-height: 0; padding: 1.5rem 1.25rem 0; }
  .hero-copy { text-align: center; max-width: none; }
  .hero-copy h1 { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .stage { position: relative; inset: auto; height: min(30rem, 76svh); margin: 1.5rem calc(50% - 50vw) 0; }
  .sys::after { background: linear-gradient(180deg, var(--bg-1) 0, transparent 22%, transparent 60%, var(--bg-1) 100%); }
  .sys-foot { left: 1rem; right: 1rem; bottom: 4.5rem; flex-direction: column; gap: .4rem; border-radius: 1.25rem; }
  .sys-names li { text-align: center; }
}

.dots { display: flex; align-items: center; gap: .4rem; min-width: 4.5rem; justify-content: center; }
.dots i { width: .4rem; height: .4rem; border-radius: 999px; background: var(--fg-40); transition: width .5s var(--ease), background-color .3s; }
.dots i.on { width: 1.5rem; background: var(--fg); }
.pip { width: .4rem; height: .4rem; border-radius: 999px; background: var(--fg-40); transition: transform .4s var(--ease), background-color .3s; }
.stage-btn.is-active .pip { background: var(--fg); transform: scale(1.5); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 1rem; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.25rem; }
.card-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.card > p { font-size: 15px; color: var(--fg-90); text-wrap: pretty; }
.card-img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: .75rem; filter: saturate(.8); transition: filter .5s, transform 1s var(--ease); }
.card:hover .card-img { filter: saturate(1); }
.g5 .card-head { grid-template-columns: auto minmax(0, 1fr); }
.g5 .card h3 { font-size: 1.05rem; line-height: 1.3; }
.sec-tight h2 { margin-bottom: 1.25rem; }

.meter { display: flex; gap: .25rem; margin-top: auto; }
.meter i { flex: 1; height: .25rem; border-radius: 999px; background: var(--fg-20); }
.meter i.on { background: var(--fg-80); }
.meter.thick i { height: .375rem; }
.bars { display: flex; align-items: flex-end; gap: .5rem; height: 2.5rem; margin-top: auto; }
.bars i { flex: 1; height: var(--h); border-radius: .25rem; background: oklch(28% .045 262 / .6); transform-origin: bottom; transition: transform 1s var(--ease); }
.anim [data-reveal]:not(.in) .bars i { transform: scaleY(.1); }
.bars i:nth-child(2) { transition-delay: .05s; } .bars i:nth-child(3) { transition-delay: .1s; } .bars i:nth-child(4) { transition-delay: .15s; }
.bars i:nth-child(5) { transition-delay: .2s; } .bars i:nth-child(6) { transition-delay: .25s; } .bars i:nth-child(7) { transition-delay: .3s; } .bars i:nth-child(8) { transition-delay: .35s; }

.step { display: block; width: 100%; height: 100%; padding: 1.25rem; transition: background-color .3s, transform .5s var(--ease); }
.step:hover { transform: translateY(-4px); }
.step .meter.mini { width: 3.5rem; margin-top: 0; }
.step .txt { display: block; margin-top: 1rem; font-size: 1.125rem; font-weight: 300; line-height: 1.4; }
.step.is-active { background-color: var(--glass-border); }

/* ---------- banners ---------- */
.banner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 1.5rem; padding: 1.5rem; overflow: hidden; }
.banner-copy { padding-left: clamp(0rem, 1.4vw, 1.25rem); }
.banner h2 { font-size: 1.875rem; margin-bottom: 0; }
.banner p { margin-top: .75rem; color: var(--fg-90); max-width: 30rem; }
.banner .btn { margin-top: 1.5rem; padding: .625rem 1.25rem; }
.banner img { width: 100%; border-radius: 1rem; transition: transform 1.2s var(--ease); }
.banner:hover img { transform: scale(1.02); }

/* ---------- solutions: the live diagram ---------- */
.solcard { padding: clamp(1.25rem, 2.6vw, 2.5rem); overflow: hidden; }
.sol-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sol-head h2 { font-size: clamp(1.875rem, 3.2vw, 2.6rem); margin-bottom: 0; max-width: 22ch; }
.sol-head p { margin-top: .75rem; color: var(--fg-90); max-width: 34rem; }
.sol-head .btn { padding: .625rem 1.25rem; }

.solmap { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem) clamp(4rem, 12%, 9rem); min-height: min(70vh, 640px); }
.sol-node { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 1.5rem 1rem; background-color: oklch(90% .008 255 / .55); }
.sol-node h3 { font-size: 1.05rem; font-weight: 400; color: var(--fg-90); }
.scene { flex: 1; width: 100%; height: auto; min-height: 0; overflow: visible; fill: none; stroke: var(--fg-80); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scene .solid { fill: var(--fg); stroke: none; }
.scene * { transform-box: fill-box; transform-origin: center; }

.sol-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.sol-links path { fill: none; stroke: var(--fg-40); stroke-width: 1.5; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; }
.sol-hub { position: absolute; left: 50%; top: 50%; z-index: 2; width: 4.5rem; height: 4.5rem; margin: -2.25rem; border-radius: 999px; display: grid; place-items: center; background: oklch(96% .008 255); border: 1px solid oklch(29% .045 262 / .3); }
.sol-hub i { position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--fg-40); }

/* resting state (also what reduced-motion visitors see) */
.s-flow .wire path { stroke: var(--fg-40); stroke-dasharray: 4 6; }
.s-flow .gear { stroke-dasharray: 5 5; }
.s-flow .dots circle { fill: var(--fg); stroke: none; }
.s-flow .core rect { fill: oklch(29% .045 262 / .1); }
.s-vision .led { fill: #059669; stroke: none; }
.s-vision .target { stroke: var(--fg-40); }
.s-vision .detect { stroke: #2563eb; stroke-dasharray: 5 4; }
.s-vision .scanline { stroke: #2563eb; stroke-width: 2; }
.s-vision .cam rect:nth-child(2) { fill: oklch(29% .045 262 / .08); }
.s-predict .grid path { stroke: var(--fg-20); stroke-width: 1; stroke-dasharray: 2 6; }
.s-predict .axis, .s-dash .axis { stroke: var(--fg-40); }
.s-predict .area { fill: oklch(28% .045 262 / .1); stroke: none; }
.s-predict .band { fill: rgb(37 99 235 / .12); stroke: none; }
.s-predict .line, .s-dash .spark { stroke: var(--fg); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.s-predict .forecast { stroke: #2563eb; stroke-width: 2; stroke-dasharray: .035 .045; }
.s-predict .pts circle { fill: var(--bg-1); stroke: var(--fg); }
.s-predict .end { fill: #2563eb; }
.s-predict .ring { stroke: #2563eb; opacity: 0; }
.s-dash .bars rect { fill: oklch(28% .045 262 / .62); stroke: none; transform-origin: bottom; }
.s-dash .bars rect:last-child { fill: var(--fg); }
.s-dash .track { stroke: var(--fg-20); stroke-width: 10; }
.s-dash .donut { stroke: var(--fg); stroke-width: 10; stroke-linecap: butt; stroke-dasharray: 72 100; stroke-dashoffset: 0; }
.s-dash .donut, .s-dash .pie { transform: rotate(-90deg); }
.s-dash .pie-bg { fill: oklch(28% .045 262 / .16); stroke: none; }
.s-dash .pie { stroke: oklch(28% .045 262 / .78); stroke-width: 20; stroke-linecap: butt; stroke-dasharray: 22 62.8; }

/* in motion */
.anim .solutions.in .sol-links path { animation: sm-flow 1.4s linear infinite; }
.anim .solutions.in .sol-hub i { animation: sm-ring 2.6s ease-out infinite; }
.anim .solutions.in .s-flow .wire path { animation: sm-flow 1.1s linear infinite; }
.anim .solutions.in .s-flow .gear { animation: sm-spin 6s linear infinite; }
.anim .solutions.in .s-flow .nodes.in circle, .anim .solutions.in .s-flow .dots circle { animation: sm-node 4.5s ease-in-out infinite; }
.anim .solutions.in .s-flow .core { animation: sm-node 4.5s ease-in-out 1.2s infinite; }
.anim .solutions.in .s-flow .nodes.out circle { animation: sm-node 4.5s ease-in-out 2.4s infinite; }
.anim .solutions.in .s-flow .ticks path { animation: sm-tick 4.5s ease-in-out 2.4s infinite; }
.anim .solutions.in .s-vision .led { animation: sm-led 5s steps(1) infinite; }
.anim .solutions.in .s-vision .iris { animation: sm-iris 5s ease-in-out infinite; }
.anim .solutions.in .s-vision .lens { animation: sm-lens 5s steps(1) infinite; }
.anim .solutions.in .s-vision .eye { animation: sm-lid 5s ease-in-out infinite; }
.anim .solutions.in .s-vision .gaze { animation: sm-look 5s ease-in-out infinite; }
.anim .solutions.in .s-vision .scanline { animation: sm-scan 2.5s ease-in-out infinite; }
.anim .solutions.in .s-vision .detect { animation: sm-detect 5s ease-in-out infinite; }
.anim .solutions.in .s-predict .line { animation: sm-draw 7s var(--ease) infinite; }
.anim .solutions.in .s-predict .area { animation: sm-fade 7s ease-out infinite; }
.anim .solutions.in .s-predict .forecast, .anim .solutions.in .s-predict .band, .anim .solutions.in .s-predict .end { animation: sm-late 7s ease-out infinite; }
.anim .solutions.in .s-predict .ring { animation: sm-ping 1.8s ease-out infinite; }
.anim .solutions.in .s-predict .pts circle { animation: sm-pop 7s var(--ease) infinite; }
.anim .solutions.in .s-predict .pts circle:nth-child(2) { animation-delay: .35s; }
.anim .solutions.in .s-predict .pts circle:nth-child(3) { animation-delay: .7s; }
.anim .solutions.in .s-predict .pts circle:nth-child(4) { animation-delay: 1.05s; }
.anim .solutions.in .s-dash .bars rect { animation: sm-grow 6s var(--ease) infinite; }
.anim .solutions.in .s-dash .bars rect:nth-child(2) { animation-delay: .12s; } .anim .solutions.in .s-dash .bars rect:nth-child(3) { animation-delay: .24s; }
.anim .solutions.in .s-dash .bars rect:nth-child(4) { animation-delay: .36s; } .anim .solutions.in .s-dash .bars rect:nth-child(5) { animation-delay: .48s; }
.anim .solutions.in .s-dash .bars rect:nth-child(6) { animation-delay: .6s; }
.anim .solutions.in .s-dash .donut { animation: sm-donut 6s var(--ease) infinite; }
.anim .solutions.in .s-dash .pie { animation: sm-pie 6s var(--ease) infinite; }
.anim .solutions.in .s-dash .spark { animation: sm-draw 6s var(--ease) infinite; }

@keyframes sm-flow { to { stroke-dashoffset: -24; } }
@keyframes sm-spin { to { transform: rotate(360deg); } }
@keyframes sm-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
@keyframes sm-node { 0%, 100% { opacity: .4; } 12%, 34% { opacity: 1; } }
@keyframes sm-tick { 0%, 100% { opacity: 0; transform: scale(.6); } 12%, 60% { opacity: 1; transform: scale(1); } }
/* the camera: off, then on (LED lit, iris opens), then off again */
@keyframes sm-led { 0% { fill: oklch(28% .045 262 / .25); } 18%, 100% { fill: #059669; } 88% { fill: oklch(28% .045 262 / .25); } }
@keyframes sm-lens { 0% { opacity: .2; } 18% { opacity: 1; } 88% { opacity: .2; } }
@keyframes sm-iris { 0%, 14% { transform: scale(.45); } 26%, 80% { transform: scale(1); } 92%, 100% { transform: scale(.45); } }
/* the eye: closed, opens, looks left and right, blinks */
@keyframes sm-lid { 0%, 14% { transform: scaleY(.08); } 22%, 52% { transform: scaleY(1); } 55% { transform: scaleY(.08); } 58%, 86% { transform: scaleY(1); } 92%, 100% { transform: scaleY(.08); } }
@keyframes sm-look { 0%, 24% { transform: translateX(0); } 38% { transform: translateX(-9px); } 62% { transform: translateX(9px); } 80%, 100% { transform: translateX(0); } }
@keyframes sm-scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(58px); } }
@keyframes sm-detect { 0%, 44% { opacity: 0; transform: scale(1.25); } 54%, 84% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(1); } }
@keyframes sm-draw { 0% { stroke-dashoffset: 1; } 30%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes sm-fade { 0%, 18% { opacity: 0; } 40%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sm-late { 0%, 30% { opacity: 0; } 48%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sm-ping { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes sm-pop { 0%, 6% { opacity: 0; transform: scale(0); } 14%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes sm-grow { 0% { transform: scaleY(.06); } 26%, 90% { transform: scaleY(1); } 100% { transform: scaleY(.06); } }
@keyframes sm-donut { 0% { stroke-dashoffset: 72; } 32%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 72; } }
@keyframes sm-pie { 0% { stroke-dasharray: 0 62.8; } 32%, 90% { stroke-dasharray: 22 62.8; } 100% { stroke-dasharray: 0 62.8; } }

/* ---------- seven levels: a staircase you can read ---------- */
.stairs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(.4rem, 1vw, .9rem); align-items: end; }
.lv { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.lv-text { display: flex; flex-direction: column; gap: .2rem; }
.lv-ico { width: 54px; height: 46px; margin-bottom: .5rem; fill: none; stroke: var(--fg-80); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.lv-ico .solid { fill: var(--fg); stroke: none; }
.lv-ico * { transform-box: fill-box; transform-origin: center; }
.lv-ico .lk { stroke: var(--fg-40); }
.lv-ico .nd { fill: var(--bg-1); }
.lv-ico .gr { stroke-dasharray: 4 3.500; }
.lv-ico .ob { stroke: var(--fg-40); stroke-dasharray: 2 4; }
.lv-ico .orb { transform-box: view-box; transform-origin: 27px 23px; }
.lv-ico .dr { stroke: var(--fg); stroke-width: 2; stroke-dasharray: 1; }
.lv-k { font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #1d4ed8; }
.lv h3 { font-size: clamp(.95rem, 1.25vw, 1.15rem); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.25; overflow-wrap: anywhere; }
.lv p { font-size: clamp(.82rem, 1vw, .94rem); color: var(--fg-80); line-height: 1.35; }
.lv-bar { height: calc(1.6rem + var(--n) * clamp(1.5rem, 2.6vw, 2.5rem)); border-radius: .9rem .9rem .35rem .35rem; border: 1px solid var(--glass-border); border-bottom: 0;
  background: linear-gradient(180deg, oklch(28% .045 262 / calc(.12 + var(--n) * .045)), oklch(28% .045 262 / .04)); transform-origin: bottom; position: relative; overflow: hidden; }
.lv-bar i { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--fg-80); opacity: calc(.35 + var(--n) * .09); }

.anim .levels:not(.in) .lv-bar { transform: scaleY(.04); }
.anim .levels .lv-bar { transition: transform 1.2s var(--ease); transition-delay: calc(var(--n) * 110ms); }
.anim .levels.in .lv-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(37 99 235 / .45), transparent 70%); opacity: 0; animation: lv-climb 7.7s ease-in-out infinite; animation-delay: calc(var(--n) * 1.1s); }
.anim .levels.in .lv-k { animation: lv-key 7.7s ease-in-out infinite; animation-delay: calc(var(--n) * 1.1s); }
.anim .levels.in .lv-ico .mv { animation: lv-nudge 1.6s ease-in-out infinite; }
.anim .levels.in .lv-ico .pl { animation: lv-blink 2.2s ease-in-out infinite; }
.anim .levels.in .lv-ico .nd { animation: lv-blink 2.4s ease-in-out infinite; }
.anim .levels.in .lv-ico .nd:nth-of-type(2n) { animation-delay: .6s; } .anim .levels.in .lv-ico .nd:nth-of-type(3n) { animation-delay: 1.2s; }
.anim .levels.in .lv-ico .lk { stroke-dasharray: 3 4; animation: sm-flow 1.4s linear infinite; }
.anim .levels.in .lv-ico .gr { animation: sm-spin 7s linear infinite; }
.anim .levels.in .lv-ico .gr.rv { animation-direction: reverse; animation-duration: 4.5s; }
.anim .levels.in .lv-ico .pu { animation: lg-beat 1.8s ease-in-out infinite; }
.anim .levels.in .lv-ico .dr { animation: sm-draw 5s var(--ease) infinite; }
.anim .levels.in .lv-ico .orb { animation: sm-spin 4s linear infinite; }
@keyframes lv-climb { 0%, 16%, 100% { opacity: 0; } 5%, 10% { opacity: 1; } }
@keyframes lv-key { 0%, 16%, 100% { color: #1d4ed8; } 5%, 10% { color: #0f1b33; } }
@keyframes lv-nudge { 0%, 100% { transform: translateX(-2px); opacity: .5; } 50% { transform: translateX(2px); opacity: 1; } }
@keyframes lv-blink { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* ---------- problem + transformation: live graphics ---------- */
.problem .wire path, .journey .wire path { stroke: var(--fg-40); stroke-dasharray: 4 6; }
.problem .ring, .journey .ring { stroke: #2563eb; opacity: 0; }
.problem .card { gap: 1rem; }
.s-p1 .isl, .s-p2 .nodes > * { fill: oklch(29% .045 262 / .1); }
.s-p1 .brk path { stroke: var(--fg-40); stroke-dasharray: 3 5; }
.s-p1 .gap path { stroke: #d97706; stroke-width: 1.8; }
.s-p1 .clock circle { stroke: var(--fg-40); }
.s-p1 .clock .hand { transform-box: view-box; transform-origin: 286px 34px; }
.s-p2 .hub circle:first-child, .s-t4 .hub circle { fill: oklch(96% .008 255); }
.s-p3 .route { stroke: var(--fg-20); stroke-width: 8; }
.s-p3 .runner { stroke: #2563eb; stroke-width: 10; stroke-dasharray: .001 1; stroke-dashoffset: -1; }
.s-p3 .stops circle { fill: var(--bg-1); stroke: var(--fg); stroke-width: 2; }

.step-scene { display: block; width: 100%; aspect-ratio: 240 / 96; height: auto; margin-bottom: 1.1rem; border-radius: .75rem; background: oklch(96% .008 255 / .5); padding: .6rem; }
.s-t1 .bx, .s-t3 .decide path:first-child { fill: oklch(29% .045 262 / .1); }
.s-t1 .marks path, .journey .axis { stroke: var(--fg-40); }
.s-t2 .gear { stroke-dasharray: 6 4.500; }
.s-t2 .stream { stroke: var(--fg); stroke-width: 5; stroke-dasharray: .1 15; }
.s-t2 .bars rect { fill: oklch(28% .045 262 / .62); stroke: none; transform-origin: bottom; }
.s-t2 .bars rect:last-child { fill: var(--fg); }
.s-t3 .line { stroke: var(--fg); stroke-width: 2; stroke-dasharray: 1; }
.s-t3 .forecast { stroke: #2563eb; stroke-width: 2; stroke-dasharray: .09 .09; }
.s-t3 .end { fill: #2563eb; }
.s-t4 .orbit { stroke: var(--fg-40); stroke-dasharray: 2 5; }
.s-t4 .sat { transform-box: view-box; transform-origin: 120px 48px; }
.s-t4 .s2 { transform: none; }

.anim .problem.in .wire path, .anim .journey.in .wire path { animation: sm-flow 1.1s linear infinite; }
.anim .problem.in .ring, .anim .journey.in .ring { animation: sm-ping 1.8s ease-out infinite; }
/* disconnected */
.anim .problem.in .s-p1 .isl { animation: p1-drift 5s ease-in-out infinite alternate; }
.anim .problem.in .s-p1 .b { animation-name: p1-drift-b; } .anim .problem.in .s-p1 .c { animation-name: p1-drift-c; }
.anim .problem.in .s-p1 .d { animation-name: p1-drift-b; animation-duration: 6.5s; } .anim .problem.in .s-p1 .e { animation-name: p1-drift-c; animation-duration: 4.2s; }
.anim .problem.in .s-p1 .brk path { animation: p1-break 3.2s steps(1) infinite; }
.anim .problem.in .s-p1 .brk path:nth-child(2) { animation-delay: .8s; } .anim .problem.in .s-p1 .brk path:nth-child(3) { animation-delay: 1.6s; } .anim .problem.in .s-p1 .brk path:nth-child(4) { animation-delay: 2.4s; }
.anim .problem.in .s-p1 .gap path { animation: lv-blink 1.6s ease-in-out infinite; }
.anim .problem.in .s-p1 .clock .hand { animation: sm-spin 6s linear infinite; }
@keyframes p1-drift { from { transform: translate(0, 0); } to { transform: translate(-7px, -5px) rotate(-4deg); } }
@keyframes p1-drift-b { from { transform: translate(0, 0); } to { transform: translate(6px, 7px) rotate(5deg); } }
@keyframes p1-drift-c { from { transform: translate(0, 0); } to { transform: translate(5px, -7px); } }
@keyframes p1-break { 0%, 55% { opacity: 1; } 60%, 100% { opacity: .12; } }
/* intelligent */
.anim .problem.in .s-p2 .hub { animation: lg-beat 2.2s ease-in-out infinite; }
.anim .problem.in .s-p2 .nodes > *, .anim .problem.in .s-p2 .ticks path { animation: c2-fire 4.2s ease-in-out infinite; }
.anim .problem.in .s-p2 .nodes > *:nth-child(2n), .anim .problem.in .s-p2 .ticks path:nth-child(2) { animation-delay: .7s; }
.anim .problem.in .s-p2 .nodes > *:nth-child(3n), .anim .problem.in .s-p2 .ticks path:nth-child(3) { animation-delay: 1.4s; }
/* the journey */
.anim .problem.in .s-p3 .runner { animation: p3-run 6s ease-in-out infinite; }
.anim .problem.in .s-p3 .stops circle { animation: p3-stop 6s ease-in-out infinite; }
.anim .problem.in .s-p3 .stops circle:nth-child(2) { animation-delay: 1.5s; } .anim .problem.in .s-p3 .stops circle:nth-child(3) { animation-delay: 3s; } .anim .problem.in .s-p3 .stops circle:nth-child(4) { animation-delay: 4.5s; }
@keyframes p3-run { 0% { stroke-dashoffset: 0; } 75%, 100% { stroke-dashoffset: -1; } }
@keyframes p3-stop { 0%, 30%, 100% { fill: var(--bg-1); transform: scale(1); } 6%, 18% { fill: var(--fg); transform: scale(1.25); } }
/* transformation steps */
.anim .journey.in .s-t1 .bx { animation: t1-in 5s var(--ease) infinite; }
.anim .journey.in .s-t1 .bx:nth-of-type(2) { animation-name: t1-in-b; } .anim .journey.in .s-t1 .bx:nth-of-type(3) { animation-name: t1-in-c; }
.anim .journey.in .s-t1 .marks, .anim .journey.in .s-t1 .wire { animation: c1-show 5s ease-out infinite; }
@keyframes t1-in { 0%, 10% { transform: translate(10px, -14px) rotate(-16deg); } 40%, 100% { transform: none; } }
@keyframes t1-in-b { 0%, 10% { transform: translate(-6px, 16px) rotate(20deg); } 48%, 100% { transform: none; } }
@keyframes t1-in-c { 0%, 10% { transform: translate(-14px, -10px) rotate(-24deg); } 56%, 100% { transform: none; } }
.anim .journey.in .s-t2 .gear { animation: sm-spin 7s linear infinite; }
.anim .journey.in .s-t2 .stream { animation: t2-run .9s linear infinite; }
.anim .journey.in .s-t2 .bars rect { animation: sm-grow 5s var(--ease) infinite; }
.anim .journey.in .s-t2 .bars rect:nth-child(2) { animation-delay: .15s; } .anim .journey.in .s-t2 .bars rect:nth-child(3) { animation-delay: .3s; } .anim .journey.in .s-t2 .bars rect:nth-child(4) { animation-delay: .45s; }
@keyframes t2-run { to { stroke-dashoffset: -15.100; } }
.anim .journey.in .s-t3 .line { animation: sm-draw 6s var(--ease) infinite; }
.anim .journey.in .s-t3 .forecast, .anim .journey.in .s-t3 .end { animation: sm-late 6s ease-out infinite; }
.anim .journey.in .s-t3 .decide { animation: t3-decide 6s var(--ease) infinite; }
@keyframes t3-decide { 0%, 46% { opacity: .25; transform: scale(.85); } 58%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: .25; transform: scale(.85); } }
.anim .journey.in .s-t4 .s1 { animation: sm-spin 5s linear infinite; }
.anim .journey.in .s-t4 .s2 { animation: sm-spin 3.4s linear infinite reverse; }
.anim .journey.in .s-t4 .hub { animation: lg-beat 2.4s ease-in-out infinite; }

/* ---------- industries: live graphics ---------- */
.industries .card-scene { aspect-ratio: 240 / 150; }
.industries .wire path { stroke: var(--fg-40); stroke-dasharray: 4 6; }
.industries .ring { stroke: #2563eb; opacity: 0; }
.industries .scanline { stroke: #2563eb; stroke-width: 2; }
.industries .detect { stroke: #2563eb; stroke-dasharray: 5 4; }
.industries .route, .industries .track { stroke: var(--fg-20); stroke-width: 6; }
.industries .track { stroke-width: 2; }
.industries .runner { stroke: #2563eb; stroke-width: 9; stroke-dasharray: .001 1; stroke-dashoffset: -1; }
.industries .stops circle { fill: var(--bg-1); stroke: var(--fg); stroke-width: 1.8; }
.s-i1 .auto, .s-i2 .parts rect, .s-i3 .part, .s-i5 .truck path { fill: oklch(29% .045 262 / .1); }
.s-i1 .wheel, .s-i5 .truck circle { fill: var(--bg-1); }
.s-i1 .bay, .s-i2 .belt, .s-i3 .grain, .s-i4 .win path, .s-i2 .mount { stroke: var(--fg-40); }
.s-i2 .gear { stroke-dasharray: 5 4; }
.s-i2 .arm { transform-box: view-box; transform-origin: 120px 30px; }
.s-i2 .rollers circle { stroke-dasharray: 3 3; }
.s-i3 .flaw { fill: color-mix(in srgb, #d97706 30%, transparent); stroke: #d97706; }
.s-i3 .ring { stroke: #d97706; }
.s-i3 .lens circle { fill: rgb(37 99 235 / .12); stroke: #2563eb; }
.s-i3 .lens path { stroke: #2563eb; stroke-width: 2.4; }
.s-i4 .bld { fill: oklch(29% .045 262 / .08); }
.s-i4 .waves path { stroke: #2563eb; }
.s-i5 .pin path { fill: oklch(29% .045 262 / .12); }
.s-i5 .pin.b path { fill: rgb(37 99 235 / .2); stroke: #2563eb; }

.anim .industries.in .wire path { animation: sm-flow 1.1s linear infinite; }
.anim .industries.in .ring { animation: sm-ping 1.8s ease-out infinite; }
/* automobile */
.anim .industries.in .s-i1 .scanline { animation: i1-scan 5s ease-in-out infinite; }
.anim .industries.in .s-i1 .detect { animation: sm-detect 5s ease-in-out infinite; }
.anim .industries.in .s-i1 .stops circle { animation: p3-stop 6s ease-in-out infinite; }
.anim .industries.in .s-i1 .stops circle:nth-child(2) { animation-delay: 1.5s; } .anim .industries.in .s-i1 .stops circle:nth-child(3) { animation-delay: 3s; } .anim .industries.in .s-i1 .stops circle:nth-child(4) { animation-delay: 4.5s; }
@keyframes i1-scan { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(80px); } 50%, 90% { transform: translateY(80px); opacity: 0; } 95% { transform: translateY(0); opacity: 0; } }
/* manufacturing */
.anim .industries.in .s-i2 .parts { animation: i2-line 2.4s linear infinite; }
.anim .industries.in .s-i2 .rollers circle { animation: sm-spin 2.4s linear infinite; }
.anim .industries.in .s-i2 .gear { animation: sm-spin 7s linear infinite; }
.anim .industries.in .s-i2 .arm { animation: i2-arm 2.4s ease-in-out infinite; }
@keyframes i2-line { from { transform: translateX(0); } to { transform: translateX(72px); } }
@keyframes i2-arm { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(-10deg); } }
/* inspection */
.anim .industries.in .s-i3 .scanline { animation: i3-scan 5s ease-in-out infinite; }
.anim .industries.in .s-i3 .flaw { animation: i3-flaw 5s ease-in-out infinite; }
.anim .industries.in .s-i3 .ring { animation: i3-ping 5s ease-out infinite; }
.anim .industries.in .s-i3 .pass { animation: t3-decide 5s var(--ease) infinite; }
.anim .industries.in .s-i3 .lens { animation: lg-beat 2.4s ease-in-out infinite; }
@keyframes i3-scan { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(128px); } }
@keyframes i3-flaw { 0%, 36% { opacity: 0; transform: scale(.4); } 44%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes i3-ping { 0%, 40% { opacity: 0; transform: scale(.8); } 44% { opacity: .9; transform: scale(.8); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
/* infrastructure */
.anim .industries.in .s-i4 .waves path { animation: i4-wave 2.4s ease-out infinite; }
.anim .industries.in .s-i4 .waves path:nth-child(2) { animation-delay: .3s; } .anim .industries.in .s-i4 .waves path:nth-child(3) { animation-delay: .6s; }
.anim .industries.in .s-i4 .win path { animation: lv-blink 3s ease-in-out infinite; }
.anim .industries.in .s-i4 .win path:nth-child(2) { animation-delay: 1s; } .anim .industries.in .s-i4 .win path:nth-child(3) { animation-delay: 2s; }
.anim .industries.in .s-i4 .sens circle { animation: lv-blink 1.6s ease-in-out infinite; }
.anim .industries.in .s-i4 .sens circle:nth-child(2) { animation-delay: .5s; } .anim .industries.in .s-i4 .sens circle:nth-child(3) { animation-delay: 1s; }
@keyframes i4-wave { 0%, 100% { opacity: .15; } 30%, 50% { opacity: 1; } }
/* logistics */
.anim .industries.in .s-i5 .runner { animation: p3-run 6s ease-in-out infinite; }
.anim .industries.in .s-i5 .stops circle { animation: p3-stop 6s ease-in-out 1.6s infinite; }
.anim .industries.in .s-i5 .stops circle:nth-child(2) { animation-delay: 3s; }
.anim .industries.in .s-i5 .truck { animation: i5-truck 3s ease-in-out infinite; }
@keyframes i5-truck { 0%, 100% { transform: translateX(-10px); } 50% { transform: translateX(14px); } }

/* ---------- how SPINTeQ works: three live graphics ---------- */
.card-scene { flex: none; width: 100%; aspect-ratio: 320 / 150; height: auto; border-radius: .75rem; background: oklch(96% .008 255 / .5); padding: .75rem; }
.core .card { gap: 1rem; }
.core .wire path { stroke: var(--fg-40); stroke-dasharray: 4 6; }
.core .ring { stroke: #2563eb; opacity: 0; }
.s-c1 .blk, .s-c2 .chip rect { fill: oklch(29% .045 262 / .1); }
.s-c1 .b1 { fill: oklch(28% .045 262 / .28); }
.s-c1 .tree path, .s-c1 .marks path { stroke: var(--fg-40); }
.s-c1 .lens circle { fill: rgb(37 99 235 / .12); stroke: #2563eb; }
.s-c1 .lens path { stroke: #2563eb; stroke-width: 2.4; }
.s-c1 .lens { transform-box: view-box; transform-origin: 262px 34px; }
.s-c2 .gear { stroke-dasharray: 6 4.500; }
.s-c2 .pins { stroke: var(--fg-40); }
.s-c2 .outs circle { fill: oklch(29% .045 262 / .1); }
.s-c3 .lanes path { stroke: var(--fg-20); stroke-width: 10; }
.s-c3 .runners path { stroke: var(--fg); stroke-width: 6; stroke-dasharray: .1 46; }
.s-c3 .gate circle { fill: oklch(96% .008 255); stroke: var(--fg-80); }

.anim .core.in .wire path { animation: sm-flow 1.1s linear infinite; }
.anim .core.in .ring { animation: sm-ping 1.8s ease-out infinite; }
/* clarity */
.anim .core.in .s-c1 .b1 { animation: c1-a 7s var(--ease) infinite; }
.anim .core.in .s-c1 .b2 { animation: c1-b 7s var(--ease) infinite; }
.anim .core.in .s-c1 .b3 { animation: c1-c 7s var(--ease) infinite; }
.anim .core.in .s-c1 .b4 { animation: c1-d 7s var(--ease) infinite; }
.anim .core.in .s-c1 .tree, .anim .core.in .s-c1 .marks { animation: c1-show 7s ease-out infinite; }
.anim .core.in .s-c1 .lens { animation: c1-lens 7s ease-in-out infinite; }
@keyframes c1-a { 0%, 12% { transform: translate(-64px, 44px) rotate(-18deg); } 42%, 100% { transform: none; } }
@keyframes c1-b { 0%, 12% { transform: translate(70px, -52px) rotate(24deg); } 48%, 100% { transform: none; } }
@keyframes c1-c { 0%, 12% { transform: translate(-30px, 14px) rotate(-32deg); } 54%, 100% { transform: none; } }
@keyframes c1-d { 0%, 12% { transform: translate(-56px, -40px) rotate(14deg); } 60%, 100% { transform: none; } }
@keyframes c1-show { 0%, 58% { opacity: 0; } 72%, 100% { opacity: 1; } }
@keyframes c1-lens { 0% { transform: translate(-190px, 40px); opacity: 0; } 8% { opacity: 1; } 30% { transform: translate(-70px, 10px); } 46% { transform: translate(-130px, 62px); } 62%, 90% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
/* intelligent */
.anim .core.in .s-c2 .gear { animation: sm-spin 8s linear infinite; }
.anim .core.in .s-c2 .gear.rv { animation-duration: 4.8s; animation-direction: reverse; }
.anim .core.in .s-c2 .chip { animation: lg-beat 2.2s ease-in-out infinite; }
.anim .core.in .s-c2 .pins { animation: lv-blink 1.4s ease-in-out infinite; }
.anim .core.in .s-c2 .outs circle, .anim .core.in .s-c2 .ticks path { animation: c2-fire 4.2s ease-in-out infinite; }
.anim .core.in .s-c2 .outs circle:nth-child(2), .anim .core.in .s-c2 .ticks path:nth-child(2) { animation-delay: .7s; }
.anim .core.in .s-c2 .outs circle:nth-child(3), .anim .core.in .s-c2 .ticks path:nth-child(3) { animation-delay: 1.4s; }
@keyframes c2-fire { 0%, 100% { opacity: .3; } 14%, 46% { opacity: 1; } }
/* flow */
.anim .core.in .s-c3 .runners path { animation: c3-run 2.6s linear infinite; }
.anim .core.in .s-c3 .runners path:nth-child(2) { animation-duration: 2.1s; }
.anim .core.in .s-c3 .runners path:nth-child(3) { animation-duration: 3.1s; }
.anim .core.in .s-c3 .gate { animation: lg-beat 2.6s ease-in-out infinite; }
@keyframes c3-run { to { stroke-dashoffset: -46.100; } }

/* ---------- system logic ---------- */
.logic { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem; }
.logic-tabs { display: flex; flex-direction: column; gap: .5rem; grid-row: 1 / span 2; }
.logic-tab { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem; border-radius: .75rem; color: var(--fg-80); transition: background-color .3s, color .3s; }
.logic-tab:hover { background-color: oklch(29% .045 262 / .07); color: var(--fg); }
.logic-tab .n { font-size: .75rem; font-variant-numeric: tabular-nums; }
.logic-tab .t { font-size: .875rem; transition: font-size .4s var(--ease); }
.logic-tab.is-active { background-color: var(--glass-border); color: var(--fg); }
.logic-tab.is-active .t { font-size: 1.25rem; font-weight: 300; }
.logic-panes { display: grid; align-items: center; min-height: 13rem; }
.logic-pane .big { display: block; font-size: 3.75rem; font-weight: 300; line-height: 1; color: var(--fg-40); font-variant-numeric: tabular-nums; }
.logic-pane h3 { margin-top: .5rem; font-size: 1.875rem; font-weight: 300; line-height: 1.2; }
.logic-pane p { margin-top: .75rem; max-width: 32rem; color: var(--fg-90); }
.logic-pane + .logic-pane { margin-top: 2rem; }
.logic-pane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.logic-pane .scene { max-height: 260px; }
.logic-bar { grid-column: 2; height: 2px; border-radius: 2px; background: var(--fg-20); overflow: hidden; }
.logic-bar i { display: block; height: 100%; width: 100%; background: var(--fg-80); transform: scaleX(0); transform-origin: left; }
.logic.is-playing .logic-bar i { animation: lg-bar var(--dur, 6s) linear forwards; }
@keyframes lg-bar { to { transform: scaleX(1); } }

/* system logic scenes: resting state */
.logic .wire path, .logic path.wire { stroke: var(--fg-40); stroke-dasharray: 4 6; }
.logic .core rect, .logic .agent path, .logic .funnel path { fill: oklch(29% .045 262 / .1); }
.logic .ring { stroke: #2563eb; opacity: 0; }
.logic .end { fill: #2563eb; }
.logic .line { stroke: var(--fg); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.logic .axis, .s-l3 .insight > path:first-child { stroke: var(--fg-40); }
.s-l2 .mess circle { fill: var(--fg-80); stroke: none; }
.s-l2 .cells rect { fill: oklch(28% .045 262 / .62); stroke: none; }
.s-l2 .cells rect:nth-child(5) { fill: var(--fg); }
.s-l4 .loop path { stroke: var(--fg-80); }
.s-l4 .loop { transform-origin: 110px 85px; transform-box: view-box; }
.s-l3 .bell { transform-origin: 280px 80px; transform-box: view-box; }

/* in motion, restarted whenever a step becomes active */
.anim .logic-pane.is-active .wire path, .anim .logic-pane.is-active path.wire { animation: sm-flow 1.1s linear infinite; }
.anim .logic-pane.is-active .ring { animation: sm-ping 1.8s ease-out infinite; }
.anim .logic-pane.is-active .line { animation: lg-draw 2.2s var(--ease) .3s both; }
.anim .logic-pane.is-active .item { animation: lg-pop .8s var(--ease) both; }
.anim .logic-pane.is-active .i2 { animation-delay: .25s; } .anim .logic-pane.is-active .i3 { animation-delay: .5s; } .anim .logic-pane.is-active .i4 { animation-delay: .75s; }
.anim .logic-pane.is-active .core, .anim .logic-pane.is-active .agent { animation: lg-pop .8s var(--ease) 1s both, lg-beat 2.4s ease-in-out 2s infinite; }
.anim .logic-pane.is-active .mess circle { animation: lg-drift 2.6s ease-in infinite; }
.anim .logic-pane.is-active .mess circle:nth-child(2n) { animation-delay: .9s; } .anim .logic-pane.is-active .mess circle:nth-child(3n) { animation-delay: 1.7s; }
.anim .logic-pane.is-active .cells rect { animation: lg-cell .6s var(--ease) both; }
.anim .logic-pane.is-active .cells rect:nth-child(1) { animation-delay: .5s; } .anim .logic-pane.is-active .cells rect:nth-child(2) { animation-delay: .75s; }
.anim .logic-pane.is-active .cells rect:nth-child(3) { animation-delay: 1s; } .anim .logic-pane.is-active .cells rect:nth-child(4) { animation-delay: 1.25s; }
.anim .logic-pane.is-active .cells rect:nth-child(5) { animation-delay: 1.5s; } .anim .logic-pane.is-active .cells rect:nth-child(6) { animation-delay: 1.75s; }
.anim .logic-pane.is-active .cells rect:nth-child(7) { animation-delay: 2s; } .anim .logic-pane.is-active .cells rect:nth-child(8) { animation-delay: 2.25s; }
.anim .logic-pane.is-active .cells rect:nth-child(9) { animation-delay: 2.5s; }
.anim .logic-pane.is-active .out { animation: lg-fire 3.6s ease-in-out infinite; }
.anim .logic-pane.is-active .o2 { animation-delay: .9s; } .anim .logic-pane.is-active .o3 { animation-delay: 1.8s; }
.anim .logic-pane.is-active .bell { animation: lg-bell 3.6s ease-in-out .9s infinite; }
.anim .logic-pane.is-active .loop { animation: sm-spin 9s linear infinite; }
.anim .logic-pane.is-active .model { animation: lg-beat 2.4s ease-in-out infinite; }
@keyframes lg-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lg-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes lg-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes lg-drift { 0% { opacity: 0; transform: translateX(-14px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(46px) scale(.5); } }
@keyframes lg-cell { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes lg-fire { 0%, 100% { opacity: .35; transform: scale(1); } 12%, 34% { opacity: 1; transform: scale(1.1); } }
@keyframes lg-bell { 0%, 12%, 34%, 100% { transform: rotate(0); } 16%, 24% { transform: rotate(-12deg); } 20%, 28% { transform: rotate(12deg); } }

.js .logic-pane { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s; }
.js .logic-pane.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(5rem, 9vw, 8rem) 1.5rem; text-align: center; border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; fill: none; }
.cta-bg .glow { fill: var(--brand); opacity: .55; filter: blur(50px); }
.cta-bg .floor { stroke: color-mix(in srgb, var(--accent) 28%, transparent); stroke-width: 1; }
.cta-bg .orbit { stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1.4; stroke-dasharray: 2 7; }
.cta-bg .sat { fill: var(--spark); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 95%, transparent)); }
.anim .cta-bg .glow { animation: sys-glow 5s ease-in-out infinite; }
.cta-in { position: relative; }
.cta h2 { font-size: clamp(1.875rem, 4vw, 3rem); margin-bottom: 0; }
.cta p { max-width: 36rem; margin: 1rem auto 0; color: var(--fg-90); }
.cta .btn { margin-top: 2rem; }

/* ---------- clients ---------- */
.proof { position: relative; z-index: 3; margin-top: -3.5rem; padding-bottom: 3.5rem; }
.proof .label { display: flex; align-items: center; gap: 1.25rem; margin: 0 0 1rem; color: var(--fg-75); }
.proof .label::before, .proof .label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--glass-border)); }
.proof .label::after { transform: scaleX(-1); }
.clients { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: 1.5rem; overflow: hidden; border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow: 0 40px 70px -50px color-mix(in srgb, var(--brand) 80%, transparent), inset 0 1px 0 rgb(255 255 255 / .07); }
.clients li { display: grid; place-items: center; height: 6.5rem; padding: 0 1rem; transition: background-color .4s; }
.clients li + li { border-left: 1px solid var(--glass-border); }
.clients li:hover { background-color: color-mix(in srgb, var(--brand-2) 10%, transparent); }
.clients img { width: 116px; opacity: .82; transition: opacity .3s, transform .6s var(--ease); }
.clients .c-toyota img { width: 104px; }
.clients .c-hyundai img, .clients .c-tata-motors img { width: 148px; }
.clients li:hover img { opacity: 1; transform: scale(1.06); }

/* ---------- testimonials ---------- */
.voices { padding-bottom: 4rem; }

/* ---------- footer ---------- */
.foot { padding-bottom: 2rem; }
.foot-in { padding: 1.75rem 1.5rem 1.25rem; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; padding-bottom: 1.5rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .9rem; color: var(--fg-80); }
.foot-nav a { transition: color .3s; }
.foot-nav a:hover, .foot-bar a:hover { color: var(--fg); }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--glass-border); font-size: .75rem; color: var(--fg-75); }
.social { display: flex; gap: .5rem; }

/* ---------- motion (only when allowed) ---------- */
.anim [data-reveal] { opacity: 0; filter: blur(6px); transform: translateY(40px) scale(.98); transition: opacity .9s var(--ease), filter .9s var(--ease), transform 1.1s var(--ease); }
.anim [data-reveal].in { opacity: 1; filter: none; transform: none; }
.anim [data-in] { opacity: 0; filter: blur(6px); transform: translateY(24px); transition: opacity .9s var(--ease), filter .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 80ms); }
.anim.ready [data-in] { opacity: 1; filter: none; transform: none; }
.anim .stage { opacity: 0; filter: blur(6px); transform: translateY(40px) scale(.98); transition: opacity 1.4s var(--ease) .3s, filter 1.4s var(--ease) .3s, transform 1.4s var(--ease) .3s; }
.anim.ready .stage { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg-item { padding: 0 .7rem; }
}
@media (max-width: 860px) {
  .seg-item span { display: none; }
  .seg-item { width: 2.5rem; padding: 0; }
  .seg-item.is-active { width: 3.25rem; }
  .brand-word { height: 30px; } .brand-emblem { width: 30px; height: 30px; }
  .g3, .g4, .banner, .logic, .versus, .ind { grid-template-columns: minmax(0, 1fr); }
  .solmap { grid-template-columns: minmax(0, 1fr); gap: 1rem; min-height: 0; }
  .sol-links, .sol-hub { display: none; }
  .stairs { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .lv { gap: .6rem; }
  .lv-text { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 1rem; row-gap: .1rem; align-items: center; }
  .lv-ico { grid-row: 1 / span 3; margin: 0; }
  .lv h3 { font-size: 1.05rem; } .lv p { font-size: .95rem; }
  .lv-bar { height: .6rem; width: calc(var(--n) / 7 * 100%); border-radius: 999px; border-bottom: 1px solid var(--glass-border); transform-origin: left; }
  .lv-bar i { height: 100%; }
  .anim .levels:not(.in) .lv-bar { transform: scaleX(.04); }
  .scene { max-height: 170px; }
  .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logic-tabs { flex-direction: row; flex-wrap: wrap; }
  .logic-panes { min-height: 0; align-items: start; }
  .logic-pane { grid-template-columns: minmax(0, 1fr); }
  .logic-tabs { grid-row: auto; }
  .logic-bar { grid-column: 1; }
  .logic-pane .scene { max-height: 200px; }
  .sec { padding-block: 3.5rem; } .sec-b { padding-bottom: 3.5rem; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .top { gap: .5rem; padding-inline: .9rem; }
  .brand-word { display: none; }
  .btn-sm { padding: .5rem .9rem; }
  .g5 { grid-template-columns: minmax(0, 1fr); }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- colour roles for this variant ---------- */
.dim { color: var(--tone); }
.btn-solid { background-color: var(--brand); color: #fff; }
.btn-solid:hover { background-color: var(--brand-2); }
.shine { background-image: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .35) 50%, transparent 65%); }
.seg-item.is-active, .logic-tab.is-active, .step.is-active, .stage-btn.is-active .num { background-color: var(--brand); color: #fff; }
.stage-btn.is-active .pip { background: #fff; }
.dots i.on, .meter i.on, .logic-bar i, .lv-bar i { background: var(--accent); }
.step.is-active .meter i.on { background: #fff; }
.step.is-active .meter i { background: rgb(255 255 255 / .35); }
.dial line.major { stroke: var(--accent); }
.bars i { background: var(--accent); }
.bars i:nth-child(n+6) { background: var(--amber); }
.logic-pane .big { color: color-mix(in srgb, var(--accent) 60%, transparent); }
.s-dash .bars rect, .s-t2 .bars rect { fill: color-mix(in srgb, var(--accent) 80%, transparent); }
.s-dash .bars rect:nth-child(n+5), .s-t2 .bars rect:last-child { fill: var(--amber); }
.s-dash .donut { stroke: var(--accent); }
.s-dash .pie { stroke: var(--amber); }
.s-dash .spark, .s-predict .line, .s-t3 .line, .logic .line { stroke: var(--green); }
.s-predict .area { fill: color-mix(in srgb, var(--green) 16%, transparent); }
.s-flow .ticks path, .s-c2 .ticks path, .s-p2 .ticks path, .s-i3 .pass path, .s-t3 .decide path:last-child, .s-l3 .o3 path { stroke: var(--green); }
.s-flow .gear, .s-c2 .gear, .s-t2 .gear, .s-i2 .gear, .lv-ico .gr { stroke: var(--accent); }
.s-flow .core rect, .s-c2 .chip rect, .logic .core rect, .logic .agent path, .s-p2 .hub circle:first-child, .s-t4 .hub circle { stroke: var(--accent); }
.s-l2 .cells rect { fill: color-mix(in srgb, var(--accent) 65%, transparent); }
.s-l2 .cells rect:nth-child(5) { fill: var(--amber); }
.s-c3 .runners path { stroke: var(--accent); }
.s-c1 .b1 { fill: color-mix(in srgb, var(--brand) 55%, transparent); stroke: var(--accent); }
.sol-hub { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.sol-links path { stroke: color-mix(in srgb, var(--accent) 55%, transparent); }
.lv-bar { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) calc(16% + var(--n) * 10%), transparent), color-mix(in srgb, var(--brand) 5%, transparent)); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.lv:nth-child(7) .lv-bar i { background: var(--amber); }
.lift:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }

/* light theme specifics */
.glass { box-shadow: 0 1px 2px rgb(15 27 51 / .04), 0 10px 30px -18px rgb(15 27 51 / .22); }
.glass.round, .glass.chip, .btn-glass, .seg { box-shadow: none; }
.seg-item:hover, .logic-tab:hover { background-color: rgb(37 99 235 / .08); }
.round:hover, .btn-glass:hover, .clients li:hover { background-color: rgb(37 99 235 / .1); }
.lift:hover { background-color: #fff; }
.step.is-active .txt { color: #fff; }
.step.is-active .step-scene { background: rgb(255 255 255 / .92); }
.stage-btn { background: rgb(255 255 255 / .86); border: 1px solid var(--glass-border); border-radius: .85rem; padding: .3rem .8rem .3rem .3rem; }
.stage-btn .num { background-color: var(--bg-2); }
.car-wrap { background: #dfe6f0; }
.card-scene, .step-scene { background: #f1f4f9; }
.sol-node { background-color: #f8fafd; }
.sol-hub { background: #fff; }
.clients img { opacity: .82; }
.beams { background-image: linear-gradient(115deg, transparent 40%, rgb(37 99 235 / .05) 50%, transparent 60%), linear-gradient(115deg, transparent 60%, rgb(37 99 235 / .035) 66%, transparent 72%); }

/* ---------- page pass: one story, proof up top, and the hero's depth carried down the page ---------- */
.anim { scroll-behavior: smooth; }
h1 .dim, h2 .dim { font-weight: 400; }
.hero-copy .lede { max-width: 25rem; text-wrap: balance; }

/* problem: before and after, side by side */
.versus { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: .6rem; }
.versus-arrow { width: 2.25rem !important; height: 2.25rem !important; }
.s-p4 .trk { stroke: var(--fg-20); stroke-width: 8; }
.s-p4 .run { stroke: var(--accent); stroke-width: 8; stroke-dasharray: 1; }
.s-p4 .node { fill: oklch(95% .012 255 / .1); }
.s-p4 .tk { stroke: var(--green); stroke-width: 2.2; }
.anim .problem.in .s-p4 .run { animation: sm-draw 6s var(--ease) infinite; }
.anim .problem.in .s-p4 .tk { animation: sm-late 6s ease-out infinite; }
.anim .problem.in .s-p4 .run:nth-of-type(5n), .anim .problem.in .s-p4 .tk:nth-of-type(6n) { animation-delay: .5s; }
.outs { display: grid; gap: .55rem; font-size: 15px; color: var(--fg-90); }
.outs li { display: flex; gap: .6rem; align-items: flex-start; }
.outs .i { margin-top: .15rem; stroke: var(--green); stroke-width: 2.2; }
.versus-arrow { align-self: center; }
.versus-arrow { width: 2.75rem; height: 2.75rem; color: var(--accent); }
.versus .card:last-of-type { border-color: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: 0 40px 70px -50px color-mix(in srgb, var(--brand) 90%, transparent); }

/* industries: the list drives one large visual */
.ind { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
.ind-list { display: flex; flex-direction: column; justify-content: center; }
.ind-item { border-top: 1px solid var(--glass-border); }
.ind-item:last-child { border-bottom: 1px solid var(--glass-border); }
.ind-btn { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.05rem .25rem; }
.ind-name { flex: 1; font-size: clamp(1.2rem, 1.9vw, 1.6rem); font-weight: 300; color: var(--fg-75); transition: color .3s; }
.ind-go { color: var(--fg-40); transition: transform .5s var(--ease), color .3s; }
.ind-item .chip { transition: background-color .3s, border-color .3s; }
.ind-item.is-active .ind-name, .ind-btn:hover .ind-name { color: var(--fg); }
.ind-item.is-active .ind-go { transform: rotate(90deg); color: var(--accent); }
.ind-item.is-active .chip { background-color: var(--brand); border-color: transparent; color: #fff; }
.ind-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.ind-more p { min-height: 0; overflow: hidden; padding-left: 3.75rem; max-width: 30rem; color: var(--fg-90); font-size: 15px; }
.ind-item.is-active .ind-more { grid-template-rows: 1fr; }
.ind-item.is-active .ind-more p { padding-bottom: 1.1rem; }
.ind-stage { position: relative; display: grid; place-items: center; min-height: 27rem; padding: clamp(1.5rem, 4vw, 3.5rem); overflow: hidden;
  background: radial-gradient(60% 55% at 50% 55%, color-mix(in srgb, var(--brand) 38%, transparent), transparent), color-mix(in srgb, var(--deep) 75%, transparent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.ind-stage::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(var(--fg-20) 1px, transparent 1px), linear-gradient(90deg, var(--fg-20) 1px, transparent 1px); background-size: 44px 44px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent); }
.ind .ind-scene { grid-area: 1 / 1; position: relative; flex: none; width: min(100%, 34rem); max-height: none; stroke-width: 1.25; opacity: 0; transform: scale(.92) translateY(14px); filter: blur(6px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); }
.ind .ind-scene.is-active { opacity: 1; transform: none; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 25%, transparent)); }

/* solutions: an isometric core, live connectors, lit cards */
.sol-hub { width: 9rem; height: 9rem; margin: -4.5rem; border: 0; border-radius: 0; background: none; }
.sol-hub svg { grid-area: 1 / 1; width: 100%; height: 100%; overflow: visible; fill: none; }
.sol-hub .glow { fill: var(--brand); opacity: .7; filter: blur(16px); }
.sol-hub .pl { fill: color-mix(in srgb, var(--brand) 22%, transparent); stroke: var(--accent); stroke-width: 1.4; }
.sol-hub .f1 .pl { fill: color-mix(in srgb, var(--deep) 90%, transparent); stroke: color-mix(in srgb, var(--accent) 45%, transparent); }
.sol-hub .f3 .pl { fill: color-mix(in srgb, var(--brand-2) 45%, transparent); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 80%, transparent)); }
.sol-hub .ring { stroke: var(--spark); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sol-hub img { grid-area: 1 / 1; position: relative; width: 2.1rem; height: 2.1rem; margin-top: -3.4rem; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .6)); }
.anim .solutions.in .sol-hub .f2 { animation: hub-float 4s ease-in-out infinite; }
.anim .solutions.in .sol-hub .f3, .anim .solutions.in .sol-hub img { animation: hub-float 4s ease-in-out -1.2s infinite; --lift: -9px; }
.anim .solutions.in .sol-hub .ring { animation: sm-ping 2.2s ease-out infinite; }
@keyframes hub-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(var(--lift, -5px)); } }
.sol-links path { stroke: var(--accent); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--accent) 80%, transparent)); }
.anim .solutions.in .sol-links path { animation: sm-flow 1s linear infinite; }
.sol-node { border-color: color-mix(in srgb, var(--accent) 28%, transparent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), 0 40px 70px -50px color-mix(in srgb, var(--brand) 80%, transparent); transition: transform .5s var(--ease), border-color .3s; }
.sol-node:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 65%, transparent); }

/* seven levels: real steps, with the top one lit */
.lv-bar { --d: clamp(7px, 1vw, 14px); overflow: visible; border-radius: 0; margin-right: var(--d); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.lv-bar i { display: none; }
.lv-bar::before { content: ""; position: absolute; left: -1px; right: -1px; bottom: 100%; height: var(--d); transform: skewX(-45deg); transform-origin: bottom left;
  background: color-mix(in srgb, var(--accent) calc(18% + var(--n) * 9%), var(--deep)); border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.lv-bar::after { content: ""; position: absolute; top: -1px; bottom: 0; left: 100%; width: var(--d); transform: skewY(-45deg); transform-origin: top left;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) calc(10% + var(--n) * 5%), var(--deep)), var(--deep)); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-left: 0; border-bottom: 0; }
.lv:nth-child(7) .lv-bar::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 28px color-mix(in srgb, var(--amber) 70%, transparent); }
.lv:nth-child(7) .lv-bar { box-shadow: 0 -30px 60px -20px color-mix(in srgb, var(--amber) 25%, transparent); }

/* testimonials: one voice at a time */
.says { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem); }
.says::before { content: "\201C"; position: absolute; right: clamp(1rem, 4vw, 4rem); top: -2.5rem; font-size: clamp(12rem, 24vw, 22rem); line-height: 1; font-weight: 600; color: color-mix(in srgb, var(--accent) 14%, transparent); pointer-events: none; }
.says-stack { display: grid; position: relative; }
.say { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease), visibility 0s .8s; }
.say.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.say blockquote { max-width: 52rem; font-size: clamp(1.5rem, 3.1vw, 2.6rem); font-weight: 300; line-height: 1.25; text-wrap: balance; }
.say figcaption { margin-top: 1.5rem; font-size: .9rem; letter-spacing: .04em; color: var(--tone); }
.says-nav { display: flex; gap: .5rem; margin-top: 2.5rem; position: relative; }
.say-dot { width: 3.5rem; padding: .6rem 0; }
.say-dot i { display: block; height: 3px; border-radius: 999px; background: var(--fg-20); transition: background-color .3s; }
.say-dot:hover i { background: var(--fg-40); }
.say-dot.is-active i { background: var(--accent); }

@media (max-width: 860px) {
  .proof { margin-top: 1.5rem; }
  .clients { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .clients li { grid-column: span 2; height: 5rem; }
  .clients li:nth-child(n+4) { grid-column: span 3; border-top: 1px solid var(--glass-border); }
  .clients li:nth-child(4) { border-left: 0; }
  .clients img, .clients .c-toyota img { width: 84px; }
  .clients .c-hyundai img, .clients .c-tata-motors img { width: 112px; }
  .versus, .ind { grid-template-columns: minmax(0, 1fr); }
  .versus-arrow { justify-self: center; transform: rotate(90deg); }
  .ind-stage { order: -1; min-height: 15rem; }
  .lv-bar { margin-right: 0; border-radius: 999px; }
  .lv-bar i { display: block; }
  .lv-bar::before, .lv-bar::after { display: none; }
  .lv:nth-child(7) .lv-bar { box-shadow: none; }
}

/* light theme: softer glows and readable faces */
.cta-bg .glow { opacity: .22; }
.sol-hub .glow { opacity: .3; }
.sol-hub .f1 .pl { fill: var(--deep); }
.ind-stage { background: radial-gradient(60% 55% at 50% 55%, color-mix(in srgb, var(--brand) 16%, transparent), transparent), #f1f4f9; }
.lv-bar::before { background: color-mix(in srgb, var(--brand) calc(22% + var(--n) * 9%), #fff); }
.lv-bar::after { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) calc(30% + var(--n) * 8%), var(--deep)), var(--deep)); }

.anim .levels.in .lv-bar::after { opacity: 1; animation: none; }

/* ---------- glass pass: liquid glass. Each box is a clear, thick pane: almost no tint, light caught on its rim,
   a soft bloom inside the top edge, and the colour drifting behind the page bending through it. ---------- */
body::before { content: ""; position: fixed; inset: -12%; z-index: -1; pointer-events: none; background: radial-gradient(30rem 26rem at 8% 18%, rgb(37 99 235 / .22), transparent 68%), radial-gradient(28rem 24rem at 88% 12%, rgb(96 165 250 / .24), transparent 68%), radial-gradient(34rem 28rem at 56% 52%, rgb(56 189 248 / .16), transparent 68%), radial-gradient(28rem 24rem at 12% 86%, rgb(59 130 246 / .18), transparent 68%), radial-gradient(30rem 26rem at 92% 82%, rgb(125 211 252 / .22), transparent 68%); }
.anim body::before { animation: glass-drift 24s ease-in-out infinite alternate; }
@keyframes glass-drift { to { transform: translate3d(-5%, 6%, 0) rotate(8deg) scale(1.12); } }
.glass, .sol-node {
  background-color: rgb(255 255 255 / .5);
  background-image: radial-gradient(120% 85% at 0% 0%, rgb(255 255 255 / .85), transparent 46%), radial-gradient(90% 70% at 100% 100%, rgb(255 255 255 / .4), transparent 52%);
  border: 1px solid rgb(255 255 255 / .9);
  -webkit-backdrop-filter: blur(12px) saturate(1.25) brightness(1.04); backdrop-filter: blur(12px) saturate(1.25) brightness(1.04);
  box-shadow: inset 1.5px 1.5px 0 -.5px rgb(255 255 255 / 1), inset -1.5px -1.5px 0 -.5px rgb(255 255 255 / .75), inset 0 22px 32px -22px rgb(255 255 255 / .9), inset 0 -22px 32px -24px rgb(255 255 255 / .45), 0 0 0 1px rgb(15 27 51 / .07), 0 24px 48px -30px rgb(37 99 235 / .28); }
/* where the browser can do it, the pane also bends what is behind it, like a lens */
.liquid .seg, .liquid .sys-foot, .liquid .btn-glass, .liquid .clients, .liquid .sol-node, .liquid .card { -webkit-backdrop-filter: url(#liquid-lens) blur(7px) saturate(1.25) brightness(1.04); backdrop-filter: url(#liquid-lens) blur(7px) saturate(1.25) brightness(1.04); }
.glass.round, .glass.chip, .glass.num, .btn-glass, .seg { box-shadow: inset 1px 1px 0 -.25px rgb(255 255 255 / 1), inset -1px -1px 0 -.25px rgb(255 255 255 / .75), inset 0 8px 12px -8px rgb(255 255 255 / .9), 0 0 0 1px rgb(15 27 51 / .07); }
/* the wells that hold each drawing are sunk into the glass rather than painted on it */
.card-scene, .step-scene { background: color-mix(in srgb, var(--fg) 4%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); box-shadow: inset 0 2px 12px rgb(0 0 0 / .16); }
.lift:hover { background-color: rgb(255 255 255 / .42); }
.ind-stage { background-image: radial-gradient(60% 55% at 50% 55%, color-mix(in srgb, var(--brand) 14%, transparent), transparent), radial-gradient(120% 85% at 0% 0%, rgb(255 255 255 / .85), transparent 46%); }

/* the page background moves up to the root, so the drifting colour can sit above it and behind every pane */
html { background: radial-gradient(at 70% 0%, rgb(37 99 235 / .1), transparent 55%), linear-gradient(var(--bg-0), var(--bg-1) 60%, var(--bg-2)); background-attachment: fixed; }
body { background: none; }

/* ---------- polish pass ---------- */
/* type: a clearer step between section headings, card titles and body text */
h2 { font-size: clamp(2.1rem, 3.7vw, 3.1rem); line-height: 1.12; letter-spacing: -.012em; margin-bottom: 2.25rem; }
.sol-head h2 { font-size: clamp(2.1rem, 3.9vw, 3.25rem); }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2.label { font-size: .75rem; line-height: 1.4; letter-spacing: .3em; }
.card-head h3, .sol-node h3 { font-size: 1.2rem; font-weight: 500; }
.card > p, .sol-head p, .cta p, .ind-more p, .pane-copy p { max-width: 58ch; }

/* motion: each drawing plays as its section arrives, then rests in its finished state.
   Only the hero, the industry on show and whatever is under the pointer keep moving. */
.anim main > section:not(.hero) *:not(.shine) { animation-iteration-count: 1.6 !important; animation-fill-mode: forwards !important; }
.anim main > section:not(.hero) :is(.ring, .ping, .sol-hub i) { animation-iteration-count: 3 !important; }
.anim main > section:not(.hero) :is(.card, .sol-node, .lv):hover *, .anim main > section .ind-scene.is-active * { animation-iteration-count: infinite !important; }
.ind-scene:not(.is-active) *, .logic-pane:not(.is-active) * { animation: none !important; }

/* header: the item for the section in view is the lit one, whatever its width */
.seg-item.is-active { width: auto; padding: 0 1.1rem; }

/* system logic: the drawing gets a lit stage of its own, and the steps read as steps */
.logic { gap: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1.25rem, 2.4vw, 2rem); }
.logic-tab { padding: .8rem 1rem; }
.logic-tab .t { font-size: 1.05rem; }
.logic-pane h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; }
.logic-pane .scene { border-radius: 1.25rem; padding: clamp(1rem, 2vw, 1.75rem); border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent);
  background: radial-gradient(60% 60% at 50% 55%, color-mix(in srgb, var(--brand) 24%, transparent), transparent), color-mix(in srgb, var(--fg) 4%, transparent); box-shadow: inset 0 2px 14px rgb(0 0 0 / .14); }

/* ---------- testimonials: a deck of glass cards. The one in front is read; the others wait behind it. ---------- */
.vz { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.vz-head h2 { margin-bottom: 1.75rem; }
.vz-ctrl { display: flex; align-items: center; gap: 1rem; }
.vz-ctrl .round { width: 3rem; height: 3rem; }
.vz-count { font-size: .8rem; font-weight: 500; letter-spacing: .28em; color: var(--fg-75); min-width: 5.5rem; text-align: center; }
.vz-count b { font-weight: 500; color: var(--accent); }
.vz-deck { display: grid; padding: clamp(2.5rem, 5vw, 4.5rem) 13% 0 0; }
.vcard { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(1.75rem, 3.4vw, 3rem); border-radius: 1.75rem; cursor: pointer;
  transform-origin: 50% 60%; transition: transform 1s var(--ease), opacity .8s var(--ease), filter .8s var(--ease); }
.vcard::before { content: "\201C"; display: block; height: 2.6rem; font-size: 6.5rem; line-height: .9; font-weight: 600; color: var(--accent); }
.vcard::after { content: ""; position: absolute; left: clamp(1.75rem, 3.4vw, 3rem); top: -1px; width: 4.5rem; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--brand)); }
.vcard blockquote { font-size: clamp(1.3rem, 2.15vw, 1.95rem); font-weight: 300; line-height: 1.32; text-wrap: balance; }
.vcard figcaption { display: flex; align-items: center; gap: .9rem; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); }
.vcard figcaption b { display: block; font-weight: 500; }
.vcard figcaption i { display: block; font-style: normal; font-size: .875rem; color: var(--fg-75); }
.vcard[data-pos="0"] { z-index: 3; cursor: default; box-shadow: inset 1.5px 1.5px 0 -.5px color-mix(in srgb, #fff 60%, transparent), 0 50px 90px -40px color-mix(in srgb, var(--brand) 75%, transparent); }
.vcard[data-pos="1"] { z-index: 2; opacity: .6; filter: blur(1px); transform: translate(8%, -8%) scale(.94) rotate(2.5deg); }
.vcard[data-pos="2"] { z-index: 1; opacity: .32; filter: blur(2px); transform: translate(16%, -16%) scale(.88) rotate(5deg); }
/* the waiting cards show as blank panes, and the front one is solid enough that nothing reads through it */
.vcard > *, .vcard::before { transition: opacity .6s var(--ease); }
.vcard:not([data-pos="0"]) > *, .vcard:not([data-pos="0"])::before { opacity: 0; }
.vcard[data-pos="0"] { background-color: color-mix(in srgb, var(--bg-1) 82%, transparent); }
.vcard:not([data-pos="0"]):hover { opacity: .85; }
@media (max-width: 860px) {
  .vz { grid-template-columns: minmax(0, 1fr); }
  .vz-deck { padding: 2rem 7% 0 0; }
  .vcard[data-pos="1"] { transform: translate(4%, -5%) scale(.95) rotate(1.5deg); }
  .vcard[data-pos="2"] { transform: translate(8%, -10%) scale(.9) rotate(3deg); }
}

/* Mobile header: the icon nav shrinks to the space between the logo and Contact instead of sliding under the button */
@media (max-width: 520px) {
  .top .seg { width: 100%; max-width: 15rem; min-width: 0; gap: .125rem; }
  .top .seg-item, .top .seg-item.is-active { flex: 1 1 0; min-width: 0; width: auto; padding: 0; }
  .top .btn-sm { white-space: nowrap; }
}
