/* v13 · isometric micro-visuals (js/glyphs.js): every list item a picture can explain gets one. */
.gl { display: block; width: 124px; height: 93px; margin: -6px 0 12px -10px; pointer-events: none; }
.gl svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* faces: lit top, mid left, shaded right */
.gl { --gt: color-mix(in srgb, var(--green) 58%, #fff); --gl: var(--green); --gr: color-mix(in srgb, var(--green) 78%, #000);
      --lt: color-mix(in srgb, var(--green) 20%, var(--bg)); --ll: color-mix(in srgb, var(--green) 34%, var(--bg)); --lr: color-mix(in srgb, var(--green) 46%, var(--bg));
      --nt: color-mix(in srgb, var(--text) 8%, var(--bg)); --nl: color-mix(in srgb, var(--text) 18%, var(--bg)); --nr: color-mix(in srgb, var(--text) 28%, var(--bg));
      --bt: color-mix(in srgb, var(--bad) 45%, #fff); --bl: var(--bad); --br: color-mix(in srgb, var(--bad) 75%, #000);
      --ink-a: color-mix(in srgb, var(--text) 30%, transparent); }
:root[data-theme="night"] .gl { --gt: color-mix(in srgb, var(--green) 85%, #fff); --gl: color-mix(in srgb, var(--green) 70%, #000); --gr: color-mix(in srgb, var(--green) 45%, #000); }
.g-pt { fill: color-mix(in srgb, var(--text) 6%, var(--bg)); stroke: color-mix(in srgb, var(--text) 12%, transparent); stroke-width: 1; }
.g-pl { fill: color-mix(in srgb, var(--text) 14%, var(--bg)); } .g-pr { fill: color-mix(in srgb, var(--text) 21%, var(--bg)); }
.g-t.g { fill: var(--gt); } .g-l.g { fill: var(--gl); } .g-r.g { fill: var(--gr); }
.g-t.l { fill: var(--lt); } .g-l.l { fill: var(--ll); } .g-r.l { fill: var(--lr); }
.g-t.n { fill: var(--nt); } .g-l.n { fill: var(--nl); } .g-r.n { fill: var(--nr); }
.g-t.b { fill: var(--bt); } .g-l.b { fill: var(--bl); } .g-r.b { fill: var(--br); }
.g-t, .g-l, .g-r { stroke: color-mix(in srgb, var(--text) 8%, transparent); stroke-width: .6; stroke-linejoin: round; }
.g-ball { fill: var(--green); } .g-ball.n { fill: var(--nr); }
.g-ln { stroke: var(--ink-a); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.g-ln--g { stroke: var(--green); } .g-ln--dash { stroke-dasharray: 3 5; }
.g-badge circle { fill: var(--green); } .g-badge path { fill: none; stroke: var(--on-green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.g-ring { fill: none; stroke: color-mix(in srgb, var(--green) 45%, transparent); stroke-width: 1.4; } .g-ring--g { stroke: var(--green); stroke-width: 2.4; }
.g-wedge { fill: color-mix(in srgb, var(--green) 30%, transparent); }
.g-lens { fill: color-mix(in srgb, var(--bg) 55%, transparent); stroke: var(--text); stroke-width: 2.6; } .g-handle { stroke: var(--text); stroke-width: 4.5; stroke-linecap: round; }
.g-pole { stroke: var(--text); stroke-width: 2.2; } .g-flag { fill: var(--green); }
.g-trail line { stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 4; }
.g-arc { fill: none; stroke: color-mix(in srgb, var(--text) 10%, transparent); stroke-width: 7; stroke-linecap: round; }
.g-arc--fill { stroke: var(--green); stroke-dasharray: 0 100; }
.g-arc--bad { stroke: color-mix(in srgb, var(--bad) 55%, transparent); } .g-arc--mid { stroke: color-mix(in srgb, var(--text) 18%, transparent); } .g-arc--good { stroke: var(--green); }
.g-needle line { stroke: var(--text); stroke-width: 3; stroke-linecap: round; } .g-needle circle { fill: var(--text); }
.g-t1 { fill: var(--green); } .g-t2 { fill: color-mix(in srgb, var(--green) 35%, var(--bg)); } .g-t3 { fill: color-mix(in srgb, var(--green) 14%, var(--bg)); }
.g-arrow { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.g-bub rect, .g-bub path { fill: var(--bg); stroke: color-mix(in srgb, var(--text) 16%, transparent); stroke-width: 1.2; }
.g-bub line { stroke: color-mix(in srgb, var(--text) 22%, transparent); stroke-width: 3; stroke-linecap: round; }
.g-bub.g rect, .g-bub.g path { fill: color-mix(in srgb, var(--green) 18%, var(--bg)); stroke: color-mix(in srgb, var(--green) 50%, transparent); } .g-bub.g line { stroke: var(--green); }
.g-upv, .g-star, .g-play, .g-spark, .g-key-h, .g-dot { fill: var(--green); }
.g-flash line { stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; }
.g-code { font: 700 18px ui-monospace, Menlo, monospace; fill: var(--green); }
.g-tb { fill: color-mix(in srgb, var(--text) 14%, var(--bg)); }
.g-chain rect { fill: none; stroke: var(--green); stroke-width: 4.5; } .g-chain rect + rect { stroke: var(--text); }
.g-pie-bg { fill: color-mix(in srgb, var(--text) 13%, var(--bg)); } .g-pie-top { fill: color-mix(in srgb, var(--text) 5%, var(--bg)); stroke: color-mix(in srgb, var(--text) 10%, transparent); }
.g-pie { fill: none; stroke: var(--green); stroke-width: 26; stroke-dasharray: 0 100; transform: rotate(-90deg); }
.g-spk { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.g-shield { fill: color-mix(in srgb, var(--green) 16%, var(--bg)); stroke: var(--green); stroke-width: 2.6; stroke-linejoin: round; }
.g-tick { fill: none; stroke: var(--green); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.g-cell { fill: color-mix(in srgb, var(--text) 11%, var(--bg)); } .g-cell.on { fill: var(--green); }
.g-fall { fill: var(--green); opacity: 0; }
.g-warn { fill: color-mix(in srgb, var(--bad) 16%, var(--bg)); stroke: var(--bad); stroke-width: 2.6; stroke-linejoin: round; }
.g-warn-i { stroke: var(--bad); stroke-width: 3.6; stroke-linecap: round; } .g-warn-d { fill: var(--bad); }
.g-db { fill: color-mix(in srgb, var(--text) 13%, var(--bg)); } .g-db-s { fill: color-mix(in srgb, var(--text) 10%, var(--bg)); } .g-db-t { fill: var(--gt); stroke: var(--green); stroke-width: 1; }
.g-key circle:first-child, .g-key path { fill: none; stroke: var(--text); stroke-width: 5; stroke-linecap: round; }
.g-num { font: 600 24px var(--display); fill: var(--text); text-anchor: middle; }
.g-strike { stroke: var(--bad); stroke-width: 4; stroke-linecap: round; }
.g-ans rect:first-child { fill: var(--bg); stroke: color-mix(in srgb, var(--text) 16%, transparent); stroke-width: 1.2; }
.g-ans line { stroke: color-mix(in srgb, var(--text) 22%, transparent); stroke-width: 3; stroke-linecap: round; } .g-hl { fill: color-mix(in srgb, var(--green) 40%, transparent); }

/* ---------- motion: build once on view, then breathe ---------- */
.g-rise { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.gl.on .g-rise { transform: none; transition: transform .9s cubic-bezier(.2, .9, .25, 1.12) var(--d, 0s); }
.g-pop { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3); }
.gl.on .g-pop { opacity: 1; transform: none; transition: opacity .3s var(--d, 0s), transform .6s cubic-bezier(.3, 1.6, .5, 1) var(--d, 0s); }
.gl.on .g-float { animation: gFloat 3.4s ease-in-out infinite; animation-delay: calc(var(--d, 0s) + 1s); }
@keyframes gFloat { 50% { transform: translateY(-4px); } }
.g-draw line, .g-draw polyline { stroke-dasharray: 120; stroke-dashoffset: 120; }
.gl.on .g-draw line, .gl.on .g-draw polyline { stroke-dashoffset: 0; transition: stroke-dashoffset 1s ease var(--d, .2s); }
.gl.on .g-ln--dash { stroke-dasharray: 3 5; }
.g-blink { opacity: .3; }
.gl.on .g-blink { animation: gBlink 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.gl.on .g-blink--once { animation: gOnce .5s ease forwards; animation-delay: var(--d, 0s); }
@keyframes gBlink { 0%, 100% { opacity: .3; } 30% { opacity: 1; } }
@keyframes gOnce { to { opacity: 1; } }
.gl.on .g-spin { animation: gSpin 3s linear infinite; }
@keyframes gSpin { to { transform: rotate(360deg); } }
.g-ring--pulse { opacity: 0; } .gl.on .g-ring--pulse { animation: gPulse 2.4s ease-out infinite; }
@keyframes gPulse { from { opacity: .7; transform: scale(.4); } to { opacity: 0; transform: scale(1.15); } }
.gl.on .g-scanx { animation: gScan 4s ease-in-out infinite; }
@keyframes gScan { 0%, 100% { transform: translate(-30px, 10px); } 50% { transform: translate(14px, 0); } }
.gl.on .g-flag { animation: gWave 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 0 50%; }
@keyframes gWave { 50% { transform: skewY(-6deg) scaleX(.92); } }
.gl.on .g-sep--3 { animation: gLift 3.6s ease-in-out infinite 1s; } .gl.on .g-sep--2 { animation: gLift 3.6s ease-in-out infinite 1.2s; }
@keyframes gLift { 50% { transform: translateY(-4px); } }
.gl.on .g-up { animation: gUp 3.4s ease-in-out infinite; } @keyframes gUp { 0%, 100% { transform: translateY(6px); } 50% { transform: translateY(-8px); } }
.gl.on .g-trail { animation: gTrail 1.2s linear infinite; } @keyframes gTrail { from { opacity: .9; } to { opacity: .2; } }
.gl.on .g-arc--fill { stroke-dasharray: 72 100; transition: stroke-dasharray 1.4s cubic-bezier(.3, .8, .3, 1) .2s; }
.g-needle { transform: rotate(-80deg); }
.gl.on .g-needle { transform: rotate(38deg); transition: transform 1.4s cubic-bezier(.3, 1.3, .5, 1) .2s; }
.gl.on .g-needle--s { transform: rotate(58deg); }
.gl.on .g-drop { animation: gDrop 2.6s cubic-bezier(.5, 0, .3, 1) infinite; } @keyframes gDrop { 0% { transform: translateY(-14px); opacity: 0; } 30% { opacity: 1; } 60%, 100% { transform: translateY(0); opacity: 1; } }
.gl.on .g-pie { stroke-dasharray: 38 100; transition: stroke-dasharray 1.6s cubic-bezier(.3, .8, .3, 1) .3s; }
.gl.on .g-fall { animation: gFall 1.8s ease-in infinite; animation-delay: var(--d, 0s); } @keyframes gFall { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(46px); } }
.gl.on .g-warn, .gl.on .g-warn-i { animation: gWarn 1.6s ease-in-out infinite; } @keyframes gWarn { 50% { opacity: .55; } }
.gl.on .g-spark { animation: gTw 2s ease-in-out infinite 1s; transform-box: fill-box; transform-origin: center; } @keyframes gTw { 50% { transform: scale(.6) rotate(45deg); } }
.gl.on .g-dot { animation: gBeat 1.6s ease-in-out infinite 1.4s; transform-box: fill-box; transform-origin: center; } @keyframes gBeat { 50% { transform: scale(1.5); } }
.g-tick { stroke-dasharray: 50; stroke-dashoffset: 50; } .gl.on .g-tick { stroke-dashoffset: 0; transition: stroke-dashoffset .7s ease .5s; }
.gl.on .g-hl { animation: gHl 2.4s ease-in-out infinite 1s; } @keyframes gHl { 50% { opacity: .4; } }
.gl.on .g-flash { animation: gTrail .9s ease-in-out infinite alternate; }

/* ---------- placing them ---------- */
.gl-n { display: block !important; width: auto !important; height: auto !important; margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; background: none !important; font: 700 12px/1 var(--sans) !important; letter-spacing: .2em; color: var(--green) !important; }
.pg-steps li .gl { margin-top: -2px; }
.loop li { padding-top: 22px; } .loop .gl { width: 150px; height: 112px; margin: -8px 0 8px -14px; }
:root .start__list li { grid-template-columns: 112px 1fr; align-items: center; }
.start__list .gl { width: 112px; height: 84px; margin: 0; }
.gains .gl, .solve .gl { width: 112px; height: 84px; }
.cs__col .gl { width: 112px; height: 84px; margin: -4px 0 6px -10px; }
.cs__steps .gl { width: 120px; height: 90px; margin: 0 0 6px -12px; }
.cs__steps li::before { display: none !important; }
.cs__steps li .gl-n { margin-top: 0 !important; }
:root .cs__kpis li { padding-right: 112px; min-height: 120px; }
.cs__kpis .gl { position: absolute; right: -6px; top: 6px; width: 120px; height: 90px; margin: 0; }
/* how to read these numbers: open, each definition with its picture */
:root .case__read { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root .case__read dl div { grid-template-columns: 96px 180px 1fr; align-items: center; }
.case__read .gl { width: 96px; height: 72px; margin: 0; }
@media (max-width: 860px) { :root .case__read dl div { grid-template-columns: 80px 1fr; } .case__read dd { grid-column: 2; } .case__read .gl { grid-row: span 2; width: 80px; height: 60px; } }
@media (max-width: 640px) { :root .start__list li { grid-template-columns: 84px 1fr; } .start__list .gl { width: 84px; height: 63px; } :root .cs__kpis li { padding-right: 88px; } .cs__kpis .gl { width: 90px; height: 68px; } }
@media (prefers-reduced-motion: reduce) {
  .g-rise, .g-pop, .g-draw line, .g-draw polyline, .g-tick { transform: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
  .gl * { animation: none !important; }
}
