/* Service card graphics that show the service (gfx=ui, uidark, uifloat, mock) and the layouts that
   feature them (svc=rail, rail2, showcase, panels). Each scene has a wide composition (800 x 460)
   and a compact one (380 x 340, .cg-c); cards.js measures them and scales the one that suits the
   card so it sits wholly inside it. */

/* ---------- Palette for the scenes, light by default, dark when the section is dark ---------- */
.art {
  --cg-win: #ffffff; --cg-win2: #f6f6f3; --cg-ln: rgba(13, 13, 13, .09); --cg-ln2: rgba(13, 13, 13, .18);
  --cg-ink: #0d0d0d; --cg-ink2: rgba(13, 13, 13, .52); --cg-bar: rgba(13, 13, 13, .13); --cg-bar2: rgba(13, 13, 13, .06);
  --cg-o: #ef4323; --cg-o2: #ff7a4a; --cg-o3: #cf2a0e;
  --cg-shadow: 0 1px 2px rgba(13, 13, 13, .05), 0 16px 36px -14px rgba(13, 13, 13, .2);
  --cg-ground: radial-gradient(120% 100% at 50% 100%, #ecebe6 0%, #f6f5f2 60%, #fbfaf8 100%);
}
.services[data-tone="dark"] .art {
  --cg-win: #1c1c1c; --cg-win2: #242424; --cg-ln: rgba(255, 255, 255, .08); --cg-ln2: rgba(255, 255, 255, .18);
  --cg-ink: #f2f2f2; --cg-ink2: rgba(242, 242, 242, .52); --cg-bar: rgba(255, 255, 255, .17); --cg-bar2: rgba(255, 255, 255, .07);
  --cg-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 20px 44px -16px rgba(0, 0, 0, .75);
  --cg-ground: radial-gradient(120% 100% at 50% 100%, #222 0%, #191919 60%, #141414 100%);
}

/* ---------- Mode switching ---------- */
.art__ui, .art__mock, .art__float { position: absolute; inset: 0; display: none; z-index: 1; pointer-events: none; }
[data-gfx="ui"] .art__ui, [data-gfx="uidark"] .art__ui, [data-gfx="uifloat"] .art__float, [data-gfx="mock"] .art__mock { display: block; }
[data-gfx^="ui"] .art__goo, [data-gfx="mock"] .art__goo, [data-gfx^="ui"] .art__glass, [data-gfx="mock"] .art__glass,
[data-gfx^="ui"] .art__dots, [data-gfx="mock"] .art__dots { display: none !important; }
[data-gfx="mock"] .art { background: var(--cg-ground); }
[data-gfx="uifloat"] .art { background: var(--cg-ground); }
.pn-strip { display: none; }
/* wide or compact composition, chosen per card by cards.js */
.art__ui > .cg-c, .art__float > .cg-c, .art__mock > .cg-c { display: none; }
.is-c > .cg-stage { display: none; }
.is-c > .cg-c { display: block; }
/* measuring: every composition laid out at full size, still, out of sight (never painted) */
.art.cg-measuring .art__ui, .art.cg-measuring .art__float, .art.cg-measuring .art__mock { display: block !important; visibility: hidden !important; }
.art.cg-measuring .cg-stage { display: block !important; transform: none !important; }
.art.cg-measuring, .art.cg-measuring * { animation: none !important; transition: none !important; }
.art.cg-measuring { --tx: 0 !important; --ty: 0 !important; }

/* restart a scene's build when a stage swaps in */
.cg-restart *, .cg-restart *::before, .cg-restart *::after { animation: none !important; }

/* ---------- UI dark: the same scenes as a high-contrast dashboard ---------- */
[data-gfx="uidark"] .art {
  --cg-win: #1a1a1a; --cg-win2: #222; --cg-ln: rgba(255, 255, 255, .08); --cg-ln2: rgba(255, 255, 255, .2);
  --cg-ink: #fff; --cg-ink2: rgba(255, 255, 255, .56); --cg-bar: rgba(255, 255, 255, .2); --cg-bar2: rgba(255, 255, 255, .08);
  --cg-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 24px 50px -22px rgba(0, 0, 0, .9);
  background-color: #111;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 28px 28px; background-position: -1px -1px;
}
[data-gfx="uidark"] .cg-sw span, [data-gfx="uidark"] .cg-mini--ink { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
[data-gfx="uidark"] .cg-spread::after { background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .3) 46%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .2) 54%, transparent); }
[data-gfx="uidark"] .cg-status { background: rgba(239, 67, 35, .16); }
[data-gfx="uidark"] .cg-res--you { background: rgba(239, 67, 35, .12); }
[data-gfx="uidark"] .cg-mono { color: rgba(255, 255, 255, .62); }
[data-gfx="uidark"] .cg-pg__no b, [data-gfx="uidark"] .cg-doc .cg-mono { color: #ff6a3a; }

.cg-stage {
  position: absolute; left: 0; top: 0; width: 800px; height: 460px;
  transform-origin: 0 0; transform: translate(var(--ox, 0px), var(--oy, 0px)) scale(var(--k, .5));
  font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif; color: var(--cg-ink); line-height: 1.2;
}
.cg-stage.cg-c { width: 380px; height: 340px; }
.cg-stage * { box-sizing: border-box; }
.cg-stage i, .cg-stage b, .cg-stage span { display: block; font-style: normal; }
.cg-ic { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cg-mono { font: 500 10px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--cg-ink2); }
.cg-mk { display: block; }
.cg-mk .m1 { fill: var(--mk1, var(--cg-o)); }
.cg-mk .m2 { fill: var(--mk2, var(--cg-ink)); }

/* building blocks */
.cg-win { position: absolute; background: var(--cg-win); border: 1px solid var(--cg-ln); border-radius: 14px; box-shadow: var(--cg-shadow); overflow: hidden; transition: transform .9s var(--ease); }
.cg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cg-bar); }
.cg-pill { height: 22px; border-radius: 999px; }
.cg-pill--ink { width: 58px; background: var(--cg-ink); }
.cg-pill--o { width: 92px; background: var(--cg-o); }
.cg-pill--ghost { width: 74px; border: 1.5px solid var(--cg-bar); }
.cg-h { height: 16px; border-radius: 5px; background: var(--cg-ink); }
.cg-t { height: 7px; border-radius: 4px; background: var(--cg-bar); }
.cg-logo { display: flex !important; align-items: center; gap: 7px; }
.cg-logo svg { width: 18px; height: 18px; }
.cg-logo b { width: 56px; height: 8px; border-radius: 4px; background: var(--cg-ink); }
.cg-links { display: flex !important; gap: 12px; margin-left: auto; }
.cg-links i { width: 30px; height: 6px; border-radius: 3px; background: var(--cg-bar); }
.cg-orb { position: absolute; width: 112px; height: 112px; right: -14px; top: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #cf2a0e 0%, #ef4323 55%, #ff7a4a 100%); }
.cg-orb--s { width: 42px; height: 42px; left: 22px; right: auto; top: 76px; }
.cg-spark { width: 18px; height: 18px; fill: var(--cg-o); }

/* the build loop: pieces assemble, hold, then clear and assemble again */
.cg-b { animation: cg-in 9s var(--ease) infinite backwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes cg-in { 0% { opacity: 0; transform: translateY(10px); } 6% { opacity: 1; transform: none; } 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes cg-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* loops pause off screen */
.art__ui *, .art__mock *, .art__float * { animation-play-state: paused; }
.art.is-live .art__ui *, .art.is-live .art__mock *, .art.is-live .art__float * { animation-play-state: running; }

/* ======================================================================
   UI: WEBSITES
   ====================================================================== */
.cg-bar { height: 34px; display: flex !important; align-items: center; gap: 6px; padding: 0 14px; background: var(--cg-win2); border-bottom: 1px solid var(--cg-ln); }
.cg-url { display: inline-flex !important; align-items: center; gap: 6px; height: 20px; margin: 0 auto; padding: 0 12px; border-radius: 999px; background: var(--cg-win); border: 1px solid var(--cg-ln); font: 500 10.5px/1 'JetBrains Mono', monospace; color: var(--cg-ink2); transform: translateX(-14px); }
.cg-url svg { width: 11px; height: 11px; color: var(--cg-o); }
.cg-page { padding: 18px 22px; display: grid; gap: 22px; }
.cg-nav { display: flex !important; align-items: center; gap: 14px; }
.cg-hero { display: grid; grid-template-columns: 1fr 186px; gap: 20px; align-items: center; }
.cg-hero__copy { display: grid; gap: 9px; justify-items: start; }
.cg-btns { display: flex !important; gap: 8px; margin-top: 8px; }
.cg-hero__img { position: relative; height: 150px; border-radius: 12px; background: var(--cg-win2); border: 1px solid var(--cg-ln); overflow: hidden; }
.cg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cg-card { height: 74px; padding: 12px; border-radius: 10px; background: var(--cg-win2); border: 1px solid var(--cg-ln); display: grid; gap: 6px; align-content: start; }
.cg-card i { height: 6px; border-radius: 3px; background: var(--cg-bar); }
.cg-card i:first-child { width: 22px; height: 22px; border-radius: 7px; background: var(--cg-bar2); }
.cg-card i:nth-child(2) { width: 72%; background: var(--cg-ink); opacity: .75; }
.cg-card i:nth-child(3) { width: 52%; }

.cg-sec { padding: 16px; display: grid; gap: 14px; align-content: start; border-radius: 16px; }
.cg-sec__head { display: flex !important; align-items: center; gap: 8px; font-size: 15px; }
.cg-sec__head b { font-weight: 600; letter-spacing: -.01em; }
.cg-shield { width: 22px; height: 22px; color: var(--cg-o); }
.cg-status { margin-left: auto; display: inline-flex !important; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 999px; background: rgba(239, 67, 35, .1); color: var(--cg-o); font-size: 11px; font-weight: 600; }
.cg-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cg-lane { position: relative; height: 86px; border-radius: 10px; background: var(--cg-win2); border: 1px solid var(--cg-ln); overflow: hidden; }
.cg-wall { position: absolute; left: 136px; top: 8px; bottom: 22px; width: 2px; background: repeating-linear-gradient(var(--cg-ink) 0 4px, transparent 4px 7px); opacity: .45; }
.cg-req { position: absolute; left: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--cg-ink); opacity: .85; animation: cg-pass 3s linear infinite backwards; animation-delay: calc(var(--d, 0) * 1ms); }
.cg-req--bot { background: var(--cg-o); opacity: 1; animation-name: cg-block; }
@keyframes cg-pass { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: .85; } 88% { opacity: .85; } 100% { transform: translateX(218px); opacity: 0; } }
@keyframes cg-block { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 52% { transform: translateX(114px) scale(1); opacity: 1; } 66% { transform: translateX(114px) scale(2.4); opacity: 0; } 100% { transform: translateX(114px); opacity: 0; } }
.cg-lane__l, .cg-lane__m, .cg-lane__r { position: absolute; bottom: 7px; font: 500 8.5px/1 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--cg-ink2); }
.cg-lane__l { left: 10px; } .cg-lane__m { left: 116px; } .cg-lane__r { right: 10px; }
.cg-checks { list-style: none; margin: 0; padding: 0; display: grid; }
.cg-checks li { display: flex; align-items: center; gap: 10px; height: 34px; font-size: 12.5px; border-top: 1px solid var(--cg-ln); }
.cg-checks li i { flex: none; display: grid !important; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--cg-o); background: var(--cg-o); color: #fff; animation: cg-tick 9s var(--ease) infinite backwards; animation-delay: calc(var(--d, 0) * 1ms); }
.cg-checks li i svg { width: 11px; height: 11px; stroke-width: 2.6; }
@keyframes cg-tick { 0% { background: transparent; border-color: var(--cg-ln2); color: transparent; transform: scale(.8); } 5% { background: var(--cg-o); border-color: var(--cg-o); color: #fff; transform: scale(1.15); } 9%, 90% { background: var(--cg-o); border-color: var(--cg-o); color: #fff; transform: none; } 100% { background: transparent; border-color: var(--cg-ln2); color: transparent; transform: none; } }
.svc:hover .cg-sec, .svc.is-open .cg-sec { transform: translate(-6px, -10px); }
.svc:hover .cg-browser, .svc.is-open .cg-browser { transform: translate(-4px, 4px); }

/* ======================================================================
   UI: BRAND IDENTITY
   ====================================================================== */
.cg-spread { position: absolute; display: grid; grid-template-columns: 1fr 1fr; background: var(--cg-win); border: 1px solid var(--cg-ln); border-radius: 12px; box-shadow: var(--cg-shadow); overflow: hidden; transition: transform .9s var(--ease); }
.cg-spread::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 44px; margin-left: -22px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .05) 46%, rgba(0, 0, 0, .12) 50%, rgba(0, 0, 0, .04) 54%, transparent); }
.cg-pg { position: relative; padding: 22px 26px; display: grid; gap: 12px; align-content: start; }
.cg-pg__no { display: flex !important; gap: 8px; font: 500 9.5px/1 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--cg-ink2); }
.cg-pg__no b { color: var(--cg-o); font-weight: 500; }
.cg-lockup { position: relative; height: 192px; display: flex !important; align-items: center; justify-content: center; gap: 12px; border-radius: 10px; background: var(--cg-win2); }
.cg-lockup > svg { width: 48px; height: 48px; position: relative; }
.cg-lockup > b { position: relative; font-size: 30px; font-weight: 650; letter-spacing: -.045em; }
.cg-clear { position: absolute; left: 36px; right: 36px; top: 54px; bottom: 54px; border: 1px dashed var(--cg-o); border-radius: 4px; }
.cg-clear i { position: absolute; width: 10px; height: 10px; border: 1px solid var(--cg-o); border-radius: 50%; background: var(--cg-win2); }
.cg-clear i:nth-child(1) { left: -6px; top: -6px; } .cg-clear i:nth-child(2) { right: -6px; top: -6px; } .cg-clear i:nth-child(3) { left: -6px; bottom: -6px; } .cg-clear i:nth-child(4) { right: -6px; bottom: -6px; }
.cg-minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cg-mini { height: 56px; border-radius: 8px; display: grid !important; place-items: center; }
.cg-mini svg { width: 26px; height: 26px; }
.cg-mini--ink { background: #0d0d0d; --mk2: #fff; }
.cg-mini--o { background: #ef4323; --mk1: #fff; --mk2: rgba(255, 255, 255, .55); }
.cg-mini--soft { background: var(--cg-win2); border: 1px solid var(--cg-ln); }
.cg-note { font: 500 9px/1.4 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--cg-ink2); }
.cg-sw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cg-sw span { height: 70px; padding: 8px; border-radius: 8px; display: flex !important; flex-direction: column; justify-content: flex-end; gap: 3px; font: 500 8.5px/1 'JetBrains Mono', monospace; letter-spacing: .06em; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); transition: transform .7s var(--ease); }
.cg-sw b { font: 600 11px/1 'Inter', sans-serif; letter-spacing: -.01em; }
.svc:hover .cg-sw span, .svc.is-open .cg-sw span { transform: translateY(-5px); }
.svc:hover .cg-sw span:nth-child(2), .svc.is-open .cg-sw span:nth-child(2) { transition-delay: .05s; }
.svc:hover .cg-sw span:nth-child(3), .svc.is-open .cg-sw span:nth-child(3) { transition-delay: .1s; }
.svc:hover .cg-sw span:nth-child(4), .svc.is-open .cg-sw span:nth-child(4) { transition-delay: .15s; }
.cg-type { display: flex !important; align-items: center; gap: 16px; }
.cg-aa { width: 92px; font-size: 58px; line-height: 1; letter-spacing: -.04em; font-weight: 300; animation: cg-weight 5s ease-in-out infinite; }
@keyframes cg-weight { 0%, 100% { font-weight: 300; } 50% { font-weight: 700; } }
.cg-type > span { display: grid !important; gap: 7px; font-size: 11.5px; color: var(--cg-ink2); }
.cg-type > span .cg-mono { font-size: 9.5px; }
.cg-apps { display: flex !important; gap: 10px; align-items: flex-end; }
.cg-app { position: relative; border-radius: 7px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .3); }
.cg-app--card { width: 104px; height: 62px; padding: 10px; display: flex !important; align-items: center; gap: 6px; background: #fff; border: 1px solid rgba(13, 13, 13, .08); --mk2: #0d0d0d; }
.cg-app--card svg { width: 16px; height: 16px; } .cg-app--card b { width: 46px; height: 6px; border-radius: 3px; background: #0d0d0d; }
.cg-app--slide { width: 118px; height: 66px; padding: 10px; background: #0d0d0d; display: grid !important; gap: 5px; align-content: end; }
.cg-app--slide i { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 7px 0 0 7px; background: var(--cg-o); }
.cg-app--slide b { width: 70%; height: 7px; border-radius: 3px; background: #fff; } .cg-app--slide b.s { width: 46%; height: 5px; opacity: .45; }
.cg-app--avatar { width: 56px; height: 56px; border-radius: 50%; display: grid !important; place-items: center; background: var(--cg-o); --mk1: #fff; --mk2: rgba(255, 255, 255, .55); }
.cg-app--avatar svg { width: 26px; height: 26px; }

/* ======================================================================
   UI: INVESTOR DECKS
   ====================================================================== */
.cg-slide { padding: 20px 22px; }
.cg-slide .cg-mono { font-size: 9.5px; }
.cg-slide__title { margin-top: 8px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.cg-chart { position: absolute; left: 22px; top: 82px; width: 436px; height: 150px; overflow: visible; }
.cg-grid { stroke: var(--cg-ln2); stroke-dasharray: 3 5; }
.cg-axis { stroke: var(--cg-ln2); stroke-width: 1.5; }
.cg-bar-r { fill: var(--cg-bar); }
.cg-bar-r--o { fill: var(--cg-o); }
.cg-grow { transform-box: fill-box; transform-origin: 50% 100%; animation: cg-grow 9s var(--ease) infinite backwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes cg-grow { 0% { transform: scaleY(0); } 9% { transform: scaleY(1); } 90% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.cg-draw { fill: none; stroke: var(--cg-o); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; animation: cg-draw 9s var(--ease) infinite; }
@keyframes cg-draw { 0%, 12% { stroke-dashoffset: 400; } 30%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 400; } }
.cg-slide__foot { position: absolute; left: 22px; right: 22px; bottom: 14px; display: flex !important; align-items: center; gap: 6px; }
.cg-slide__foot svg { width: 14px; height: 14px; }
.cg-slide__foot b { width: 44px; height: 6px; border-radius: 3px; background: var(--cg-ink); opacity: .7; }
.cg-slide__foot em { margin-left: auto; font: 500 9.5px/1 'JetBrains Mono', monospace; font-style: normal; color: var(--cg-ink2); }
.cg-thumbs { position: absolute; display: flex !important; gap: 14px; }
.cg-thumbs span { width: 84px; height: 48px; padding: 7px; border-radius: 6px; background: var(--cg-win); border: 1.5px solid var(--cg-ln); box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .2); display: grid !important; gap: 4px; align-content: end; animation: cg-active 10s var(--ease) infinite backwards; animation-delay: calc(var(--d, 0) * 1ms); }
.cg-thumbs span i { height: 5px; border-radius: 3px; background: var(--cg-bar); }
.cg-thumbs span i.o { width: 60%; background: var(--cg-o); }
.cg-thumbs span i.c { height: 22px; background: linear-gradient(90deg, var(--cg-bar) 0 18%, transparent 18% 26%, var(--cg-bar) 26% 44%, transparent 44% 52%, var(--cg-o) 52% 70%, transparent 70%); }
@keyframes cg-active { 0%, 18% { border-color: var(--cg-o); transform: translateY(-4px); } 21%, 100% { border-color: var(--cg-ln); transform: none; } }
.cg-rot { position: absolute; transform: rotate(var(--r, 0deg)); transition: transform 1s var(--ease); }
.cg-doc { width: 212px; height: 288px; padding: 18px; display: grid; gap: 8px; align-content: start; background: var(--cg-win); border: 1px solid var(--cg-ln); border-radius: 6px; box-shadow: var(--cg-shadow); animation: cg-float 8s ease-in-out infinite; }
.cg-doc--qr { animation-delay: -3s; }
.cg-doc__head { display: flex !important; align-items: center; gap: 6px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--cg-ln); }
.cg-doc__head svg { width: 16px; height: 16px; } .cg-doc__head b { width: 54px; height: 6px; border-radius: 3px; background: var(--cg-ink); opacity: .8; }
.cg-doc .cg-mono { font-size: 8.5px; color: var(--cg-o); margin-bottom: 2px; }
.cg-doc .cg-h { height: 11px; }
.cg-doc .cg-t { height: 5px; }
.cg-sig { width: 60px; height: 14px; margin-top: 12px; border-bottom: 1.5px solid var(--cg-ink); border-radius: 0; opacity: .5; }
.cg-doc__band { margin: -18px -18px 10px; padding: 18px; height: 120px; display: grid !important; align-content: end; gap: 6px; background: linear-gradient(150deg, #ff7a4a, #ef4323 55%, #cf2a0e); border-radius: 6px 6px 0 0; }
.cg-doc__band .cg-mono { color: rgba(255, 255, 255, .8); margin: 0; }
.cg-doc__band b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.cg-mini-chart { width: 100%; height: 50px; margin-top: 8px; }
.cg-mini-chart polyline { fill: none; stroke: var(--cg-o); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .cg-rot:first-child, .svc.is-open .cg-rot:first-child { transform: rotate(12deg) translate(22px, 6px); }
.svc:hover .cg-rot:nth-child(2), .svc.is-open .cg-rot:nth-child(2) { transform: rotate(-6deg) translate(-6px, -6px); }

/* ======================================================================
   UI: SEARCH VISIBILITY
   ====================================================================== */
.cg-serp { padding: 20px; }
.cg-search { display: flex !important; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 21px; border: 1px solid var(--cg-ln2); background: var(--cg-win); }
.cg-search svg { width: 16px; height: 16px; color: var(--cg-ink2); flex: none; }
.cg-q { overflow: hidden; white-space: nowrap; width: 0; font-size: 14px; color: var(--cg-ink); animation: cg-type 9s steps(23) infinite; }
.cg-q span { display: inline-block !important; }
@keyframes cg-type { 0% { width: 0; } 22% { width: 170px; } 92% { width: 170px; } 100% { width: 0; } }
.cg-caret { width: 1.5px; height: 18px; background: var(--cg-o); animation: cg-blink 1s steps(1) infinite; }
@keyframes cg-blink { 50% { opacity: 0; } }
.cg-serp__label { margin: 18px 0 10px; font-size: 9px; }
.cg-results { position: relative; height: 236px; }
.cg-res { position: absolute; left: 0; right: 0; height: 54px; padding: 8px 12px 8px 40px; border-radius: 10px; display: grid; gap: 5px; align-content: center; }
.cg-res:nth-child(1) { top: 0; } .cg-res:nth-child(2) { top: 58px; } .cg-res:nth-child(3) { top: 116px; } .cg-res:nth-child(4) { top: 174px; }
.cg-fav { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--cg-bar); }
.cg-res__url, .cg-res__u { font: 500 9.5px/1 'JetBrains Mono', monospace; color: var(--cg-ink2); }
.cg-res__u { width: 80px; height: 5px; border-radius: 3px; background: var(--cg-bar2); }
.cg-res__t { width: 62%; height: 9px; border-radius: 4px; background: var(--cg-ink); opacity: .7; }
.cg-res__l { width: 88%; height: 5px; border-radius: 3px; background: var(--cg-bar); }
.cg-res__l.s { width: 66%; }
.cg-res--you { background: rgba(239, 67, 35, .07); box-shadow: inset 2px 0 0 var(--cg-o); z-index: 1; animation: cg-rise 9s var(--ease) infinite; }
.cg-res--you .cg-fav { background: var(--cg-o); }
.cg-res--you .cg-res__url { color: var(--cg-o); }
.cg-res--you .cg-res__t { background: var(--cg-o); opacity: 1; }
.cg-res--o { animation: cg-sink 9s var(--ease) infinite; }
@keyframes cg-rise { 0%, 30% { transform: translateY(174px); } 44%, 92% { transform: translateY(0); } 100% { transform: translateY(174px); } }
@keyframes cg-sink { 0%, 30% { transform: translateY(-58px); } 44%, 92% { transform: translateY(0); } 100% { transform: translateY(-58px); } }
.cg-ai { padding: 18px; border-radius: 16px; display: grid; gap: 16px; align-content: start; }
.cg-ai__head { display: flex !important; align-items: center; gap: 8px; font-size: 13.5px; }
.cg-ai__head b { font-weight: 600; letter-spacing: -.01em; }
.cg-ai__body { display: grid; gap: 9px; }
.cg-al { height: 7px; border-radius: 4px; background: var(--cg-bar); transform-origin: 0 50%; animation: cg-line 9s var(--ease) infinite backwards; animation-delay: calc((3800 + var(--d, 0)) * 1ms); }
.cg-al--hl { background: rgba(239, 67, 35, .32); }
@keyframes cg-line { 0% { transform: scaleX(0); } 5% { transform: scaleX(1); } 50% { transform: scaleX(1); } 54%, 100% { transform: scaleX(0); } }
.cg-src { display: grid; gap: 8px; justify-items: start; padding-top: 14px; border-top: 1px solid var(--cg-ln); }
.cg-src .cg-mono { font-size: 9px; }
.cg-chip { display: inline-flex !important; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 7px; border-radius: 999px; border: 1px solid rgba(239, 67, 35, .45); background: rgba(239, 67, 35, .06); font: 500 10.5px/1 'JetBrains Mono', monospace; color: var(--cg-o); animation: cg-pop 9s var(--ease) infinite backwards; animation-delay: 5.4s; }
.cg-chip i { width: 13px; height: 13px; border-radius: 50%; background: var(--cg-o); }
.cg-chip--g { border-color: var(--cg-ln2); background: transparent; animation-delay: 5.6s; }
.cg-chip--g i { background: var(--cg-bar); } .cg-chip--g b { width: 70px; height: 5px; border-radius: 3px; background: var(--cg-bar); }
@keyframes cg-pop { 0% { opacity: 0; transform: scale(.85); } 4% { opacity: 1; transform: scale(1.06); } 7%, 44% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; transform: scale(.9); } }
.svc:hover .cg-ai, .svc.is-open .cg-ai { transform: translate(-6px, -10px); }
.cg-related { display: flex !important; align-items: center; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--cg-ln); }
.cg-related .cg-mono { font-size: 9px; margin-right: 4px; }
.cg-related i { height: 24px; border-radius: 999px; border: 1px solid var(--cg-ln2); }
.cg-follow { display: flex !important; align-items: center; justify-content: space-between; height: 32px; margin-top: 2px; padding: 0 6px 0 13px; border-radius: 999px; border: 1px solid var(--cg-ln2); font-size: 11px; color: var(--cg-ink2); }
.cg-follow i { width: 22px; height: 22px; border-radius: 50%; background: var(--cg-ink); }

/* ======================================================================
   MOCKUPS
   ====================================================================== */
.cg-blob { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #cf2a0e 0%, #ef4323 55%, #ff7a4a 100%); animation: cg-float 9s ease-in-out infinite; }
.cg-blob--2 { background: radial-gradient(circle at 60% 40%, #ef4323 0%, #ff7a4a 60%, #cf2a0e 100%); animation-delay: -4s; }
.cg-mock { perspective: 1800px; }
.cg-3d {
  position: absolute; inset: 0; perspective: 1600px; transform-style: preserve-3d;
  transform: rotateX(calc(var(--ty, 0) * -4deg)) rotateY(calc(var(--tx, 0) * 6deg));
  transition: transform .9s var(--ease);
}
.cg-3d > * { position: absolute; transform-style: preserve-3d; }
.cg-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff;
  --cg-win: #fff; --cg-win2: #f4f4f1; --cg-ln: rgba(13, 13, 13, .08); --cg-ln2: rgba(13, 13, 13, .16); --cg-ink: #0d0d0d; --cg-ink2: rgba(13, 13, 13, .5); --cg-bar: rgba(13, 13, 13, .13); --cg-bar2: rgba(13, 13, 13, .06); }
.cg-scroll { animation: cg-scroll 14s var(--ease-io) infinite; }
.cg-scroll--m { animation-delay: -5s; }
@keyframes cg-scroll { 0%, 18% { transform: translateY(0); } 46%, 64% { transform: translateY(-96px); } 92%, 100% { transform: translateY(0); } }

/* the mini site shown on devices */
.cg-site { padding: 12px 14px; display: grid; gap: 14px; }
.cg-site__nav { display: flex !important; align-items: center; gap: 10px; }
.cg-site__nav .cg-logo svg { width: 14px; height: 14px; } .cg-site__nav .cg-logo b { width: 40px; height: 6px; }
.cg-site__nav .cg-links i { width: 22px; height: 5px; }
.cg-site__nav .cg-pill--ink { width: 44px; height: 16px; }
.cg-site__hero { display: grid; grid-template-columns: 1fr 140px; gap: 14px; align-items: center; }
.cg-site__copy { display: grid; gap: 7px; justify-items: start; }
.cg-site .cg-h { height: 13px; }
.cg-site .cg-t { height: 6px; }
.cg-site .cg-pill--o { width: 70px; height: 18px; margin-top: 4px; }
.cg-site__img { position: relative; height: 112px; border-radius: 10px; background: var(--cg-win2); overflow: hidden; }
.cg-site__img .cg-orb { width: 84px; height: 84px; top: 12px; right: -10px; } .cg-site__img .cg-orb--s { width: 32px; height: 32px; left: 16px; top: 58px; }
.cg-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cg-site__cards i { height: 64px; border-radius: 8px; background: var(--cg-win2); }
.cg-site__band { display: grid; gap: 7px; padding: 14px; border-radius: 10px; background: #0d0d0d; }
.cg-site__band .cg-h { background: #fff; } .cg-site__band .cg-t { background: rgba(255, 255, 255, .3); }
.cg-site--m { padding: 26px 10px 10px; gap: 12px; }
.cg-site--m .cg-site__hero { grid-template-columns: 1fr; }
.cg-site--m .cg-site__img { height: 92px; }
.cg-site--m .cg-site__cards { grid-template-columns: 1fr 1fr; } .cg-site--m .cg-site__cards i { height: 46px; }
.cg-burger { margin-left: auto; display: grid !important; gap: 3px; } .cg-burger i { width: 14px; height: 2px; border-radius: 1px; background: #0d0d0d; }

/* devices */
.cg-laptop { width: 470px; transform: rotateX(9deg) rotateY(-20deg) rotateZ(1deg); }
.cg-laptop__screen { width: 440px; height: 282px; margin: 0 auto; padding: 10px 10px 14px; border-radius: 16px 16px 6px 6px; background: #161616; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 70px -30px rgba(0, 0, 0, .5); }
.cg-laptop__screen .cg-screen { border-radius: 5px; }
.cg-laptop__base { width: 470px; height: 14px; margin-top: -1px; border-radius: 0 0 14px 14px; background: linear-gradient(#e7e7e3, #c4c4bf); clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%); }
.services[data-tone="dark"] .cg-laptop__base { background: linear-gradient(#3a3a3a, #232323); }
.services[data-tone="dark"] .cg-laptop__screen, .services[data-tone="dark"] .cg-phone, .services[data-tone="dark"] .cg-tablet { background: #202020; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 34px 60px -24px rgba(0, 0, 0, .8); }
.services[data-tone="dark"] .cg-phone::before { background: #202020; }
.cg-phone { width: 134px; height: 272px; padding: 7px; border-radius: 26px; background: #161616; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 34px 60px -24px rgba(0, 0, 0, .55); transform: rotateY(-14deg) rotateX(4deg) translateZ(70px); animation: cg-float 7s ease-in-out infinite; }
.cg-phone::before { content: ''; position: absolute; top: 13px; left: 50%; width: 38px; height: 10px; margin-left: -19px; border-radius: 6px; background: #161616; z-index: 2; }
.cg-phone .cg-screen { border-radius: 20px; }
.cg-badge { display: inline-flex !important; align-items: center; gap: 7px; height: 36px; padding: 0 15px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: #0d0d0d; font-size: 12.5px; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(13, 13, 13, .06); transform: translateZ(130px); animation: cg-float 6s ease-in-out infinite; animation-delay: -2s; }
.cg-badge svg { width: 15px; height: 15px; color: var(--cg-o); }

/* stationery flat lay */
.cg-plane { width: 520px; height: 340px; transform: rotateX(52deg) rotateZ(-26deg) scale(1.22); transition: transform 1s var(--ease); }
.cg-plane > div { position: absolute; }
.cg-sheet { width: 186px; height: 262px; padding: 16px; display: grid; gap: 7px; align-content: start; background: #fff; border-radius: 3px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 22px 30px -14px rgba(0, 0, 0, .28);
  --cg-ink: #0d0d0d; --cg-bar: rgba(13, 13, 13, .12); }
.cg-sheet .cg-logo { margin-bottom: 6px; }
.cg-rule { height: 1px; margin: 2px 0 8px; background: #ef4323; }
.cg-sheet .cg-t { height: 5px; }
.cg-sheet__foot { display: flex !important; gap: 8px; margin-top: 70px; } .cg-sheet__foot i { width: 36px; height: 4px; border-radius: 2px; background: rgba(13, 13, 13, .12); }
.cg-bcard { width: 166px; height: 96px; padding: 14px; display: grid; gap: 7px; align-content: space-between; background: #fff; border-radius: 6px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 20px 26px -12px rgba(0, 0, 0, .3); --cg-ink: #0d0d0d; --cg-bar: rgba(13, 13, 13, .12); }
.cg-bcard .cg-t { height: 4px; }
.cg-bcard--o { display: grid; place-items: center; background: linear-gradient(145deg, #ff7a4a, #ef4323 55%, #cf2a0e); --mk1: #fff; --mk2: rgba(255, 255, 255, .55); }
.cg-bcard--o svg { width: 34px; height: 34px; }
.cg-appicon { width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; background: #0d0d0d; box-shadow: 0 1px 1px rgba(0, 0, 0, .1), 0 22px 28px -12px rgba(0, 0, 0, .35); --mk2: #fff; }
.cg-appicon svg { width: 46px; height: 46px; }
.svc:hover .cg-plane, .svc.is-open .cg-plane { transform: rotateX(48deg) rotateZ(-22deg) scale(1.26) translateZ(10px); }

/* printed deck pages and a tablet */
.cg-fan { width: 270px; height: 160px; transform: rotateX(26deg) rotateZ(-4deg); }
.cg-print { position: absolute; left: 0; top: 0; width: 270px; height: 160px; padding: 16px; display: grid; gap: 8px; align-content: start; background: #fff; border-radius: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 20px 30px -14px rgba(0, 0, 0, .3); transform-origin: 50% 130%; transform: translateX(var(--x, 0)) rotate(var(--r, 0deg)); transition: transform 1s var(--ease);
  --cg-ink: #0d0d0d; --cg-ink2: rgba(13, 13, 13, .5); --cg-bar: rgba(13, 13, 13, .12); }
.cg-print .cg-mono { font-size: 8.5px; color: #ef4323; }
.cg-print__band { height: 54px; margin: -16px -16px 6px; border-radius: 4px 4px 0 0; background: linear-gradient(150deg, #ff7a4a, #ef4323 55%, #cf2a0e); }
.cg-print svg { width: 100%; height: 80px; }
.cg-print svg rect { fill: rgba(13, 13, 13, .14); } .cg-print svg rect.o { fill: #ef4323; }
.cg-print__map { height: 70px; border-radius: 4px; background: radial-gradient(circle at 62% 46%, #ef4323 0 5px, transparent 6px), repeating-radial-gradient(circle at 62% 46%, transparent 0 9px, rgba(13, 13, 13, .12) 9px 10px), #f6f5f1; }
.svc:hover .cg-print, .svc.is-open .cg-print { transform: translateX(calc(var(--x, 0px) * 1.25)) rotate(calc(var(--r, 0deg) * 1.25)); }
.cg-tablet { width: 300px; height: 214px; padding: 10px; border-radius: 22px; background: #161616; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 34px 60px -24px rgba(0, 0, 0, .5); transform: rotateY(-18deg) rotateX(6deg) translateZ(60px); animation: cg-float 8s ease-in-out infinite; }
.cg-tablet .cg-screen { border-radius: 13px; }
.cg-screen--slide { padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.cg-screen--slide .cg-mono { font-size: 8px; }
.cg-screen--slide b { font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: #0d0d0d; }
.cg-screen--slide svg { width: 100%; height: 100px; margin-top: 8px; overflow: visible; }
.cg-screen--slide svg line { stroke: rgba(13, 13, 13, .18); stroke-width: 1.2; }
.cg-screen--slide svg rect { fill: rgba(13, 13, 13, .13); } .cg-screen--slide svg rect.o { fill: #ef4323; }
.cg-screen--slide svg polyline { fill: none; stroke: #ef4323; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; animation: cg-draw 9s var(--ease) infinite; }

/* search on a phone */
.cg-serpcard { width: 300px; height: 226px; padding: 16px; display: grid; gap: 4px; align-content: start; background: #fff; border-radius: 14px; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .35); transform: rotateY(14deg) translateZ(-30px);
  --cg-win: #fff; --cg-ln: rgba(13, 13, 13, .08); --cg-ln2: rgba(13, 13, 13, .16); --cg-ink: #0d0d0d; --cg-ink2: rgba(13, 13, 13, .5); --cg-bar: rgba(13, 13, 13, .13); --cg-bar2: rgba(13, 13, 13, .06); }
.cg-search--s { height: 34px; margin-bottom: 10px; }
.cg-search--s .cg-t { height: 6px; }
.cg-serpcard .cg-res { position: relative; top: auto !important; height: 52px; animation: none; transform: none; }
.cg-phone--lg { width: 176px; height: 354px; padding: 8px; border-radius: 32px; transform: rotateY(-16deg) rotateX(5deg) translateZ(80px); }
.cg-phone--lg::before { top: 15px; width: 46px; height: 12px; margin-left: -23px; }
.cg-phone--lg .cg-screen { border-radius: 25px; }
.cg-chat { padding: 34px 12px 12px; display: grid; gap: 10px; align-content: start; background: #f7f7f5; }
.cg-chat__top { display: flex !important; align-items: center; gap: 6px; font-size: 11px; color: #0d0d0d; padding-bottom: 8px; border-bottom: 1px solid rgba(13, 13, 13, .08); }
.cg-chat__top .cg-spark { width: 13px; height: 13px; } .cg-chat__top b { font-weight: 600; }
.cg-bubble { justify-self: end; max-width: 122px; padding: 8px 10px; border-radius: 14px 14px 4px 14px; background: #0d0d0d; color: #fff; font-size: 10px; line-height: 1.35; }
.cg-answer { display: grid; gap: 6px; padding: 11px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.cg-answer .cg-al { height: 5px; animation-delay: calc((1200 + var(--d, 0)) * 1ms); }
.cg-answer .cg-chip { justify-self: start; height: 20px; margin-top: 4px; padding: 0 8px 0 5px; font-size: 8px; animation-delay: 2.6s; }
.cg-answer .cg-chip i { width: 10px; height: 10px; }
.cg-input { height: 26px; margin-top: 66px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(13, 13, 13, .1); }

/* ======================================================================
   UI FLOAT: the scenes exploded into floating layers
   ====================================================================== */
.cg-float { perspective: 1400px; }
.cf-3d {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(4deg + var(--ty, 0) * -5deg)) rotateY(calc(-6deg + var(--tx, 0) * 7deg));
  transition: transform 1.1s var(--ease);
}
@media (hover: none) { .cf-3d { animation: cf-sway 14s ease-in-out infinite; } }
@keyframes cf-sway { 0%, 100% { transform: rotateX(5deg) rotateY(-9deg); } 50% { transform: rotateX(2deg) rotateY(-3deg); } }
.cf { position: absolute; transform: translateZ(var(--z, 0px)); transform-style: preserve-3d; animation: cg-float 8s ease-in-out infinite; }
.cf:nth-child(2) { animation-delay: -2s; } .cf:nth-child(3) { animation-delay: -4s; } .cf:nth-child(4) { animation-delay: -1s; } .cf:nth-child(5) { animation-delay: -5s; }
.svc:hover .cf.cg-sec, .svc:hover .cf.cg-ai, .svc.is-open .cf.cg-sec, .svc.is-open .cf.cg-ai { transform: translateZ(var(--z, 0px)); }
.cf.cg-win, .cf.cg-doc { box-shadow: 0 2px 4px rgba(13, 13, 13, .06), 0 calc(14px + var(--z, 0px) * .12) calc(30px + var(--z, 0px) * .25) calc(-12px - var(--z, 0px) * .04) rgba(13, 13, 13, .26); }
.services[data-tone="dark"] .cf.cg-win, .services[data-tone="dark"] .cf.cg-doc { box-shadow: 0 2px 4px rgba(0, 0, 0, .4), 0 calc(16px + var(--z, 0px) * .12) calc(34px + var(--z, 0px) * .25) -14px rgba(0, 0, 0, .8); }
.cf-blob { filter: none; }
.cf-browser .cf-site { transform: scale(.98); transform-origin: 0 0; }
.cf-browser .cg-site { padding: 14px 18px; }
.cf-sec { padding: 14px; display: grid; gap: 12px; align-content: start; }
.cf-sec .cg-lane { height: 82px; }
.cf-checks { padding: 4px 16px; }
.cf-checks .cg-checks li:first-child { border-top: 0; }
.cf-badge { display: grid !important; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(150deg, #ff7a4a, #ef4323 55%, #cf2a0e); color: #fff; box-shadow: 0 22px 34px -14px rgba(207, 42, 14, .6); }
.cf-badge svg { width: 30px; height: 30px; stroke-width: 2; }
.cf-pill { display: inline-flex !important; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--cg-ink); color: var(--cg-win); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .45); }
.cf-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--cg-o); }
.cf-card { padding: 18px 20px; display: grid; gap: 12px; align-content: start; }
.cf-card .cg-lockup { height: 178px; }
.cf-card .cg-sw span { height: 62px; }
.cf-big { width: 150px !important; height: 88px !important; padding: 14px !important; }
.cf-big svg { width: 22px !important; height: 22px !important; } .cf-big b { width: 70px !important; height: 8px !important; }
.cf .cg-app--avatar { width: 74px; height: 74px; } .cf .cg-app--avatar svg { width: 34px; height: 34px; }
.cf .cg-slide__title { margin-top: 8px; }
.cf.cg-slide { padding: 20px 22px; }
.cf.cf-doc { overflow: hidden; }
.cf-rot-a { transform: translateZ(var(--z)) rotate(5deg); }
.cf-rot-b { transform: translateZ(var(--z)) rotate(-6deg); }
.cf-thumbs { position: static !important; }
.cf-mini { padding: 14px 16px; display: grid; gap: 4px; }
.cf-mini .cg-mono { font-size: 9px; }
.cf.cg-serp { padding: 18px 20px; }
.cf-results { height: 236px; }
.cf-searchbar .cg-search { height: 50px; border-radius: 25px; box-shadow: 0 20px 34px -16px rgba(13, 13, 13, .35); font-size: 15px; }
.cf.cg-ai { padding: 18px; }
.cf-chip { height: 40px !important; padding: 0 18px 0 10px !important; font-size: 13px !important; background: var(--cg-win) !important; box-shadow: 0 18px 30px -14px rgba(13, 13, 13, .4); animation: none !important; opacity: 1 !important; }
.cf-chip i { width: 18px !important; height: 18px !important; }
.cf-spark { display: grid !important; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--cg-win); box-shadow: 0 18px 30px -14px rgba(13, 13, 13, .4); }
.cf-spark svg { width: 26px; height: 26px; }

/* ======================================================================
   COMPACT COMPOSITIONS (.cg-c): fewer, larger pieces for phones and narrow cards
   ====================================================================== */
.cg-c .cg-url { font-size: 11px; }
/* websites */
.cg-page--c { padding: 14px 16px; gap: 16px; }
.cg-page--c .cg-links { gap: 8px; } .cg-page--c .cg-links i { width: 20px; }
.cg-page--c .cg-hero { grid-template-columns: 1fr 92px; gap: 14px; }
.cg-page--c .cg-hero__img { height: 100px; }
.cg-page--c .cg-orb { width: 76px; height: 76px; right: -12px; top: 12px; }
.cg-page--c .cg-orb--s { width: 28px; height: 28px; left: 12px; top: 58px; }
.cg-page--c .cg-pill--o { width: 72px; }
.cg-page--c .cg-cards { gap: 8px; }
.cg-page--c .cg-card { height: 58px; padding: 10px; }
.cg-c .cg-sec { padding: 14px; gap: 12px; }
.cg-c .cg-sec__head { font-size: 16px; }
.cg-c .cg-status { height: 23px; font-size: 11.5px; }
.cg-c .cg-lane { height: 66px; }
.cg-c .cg-wall { bottom: 20px; }
.cg-c .cg-lane__l, .cg-c .cg-lane__m, .cg-c .cg-lane__r { bottom: 6px; font-size: 9px; }
.cg-c .cg-checks li { height: 32px; font-size: 14px; }
.cg-c .cf-checks { padding: 4px 16px; }
.cg-c .cf-badge { width: 56px; height: 56px; border-radius: 18px; } .cg-c .cf-badge svg { width: 26px; height: 26px; }
.cg-site--c { padding: 12px 16px; gap: 12px; }
.cg-site--c .cg-site__hero { grid-template-columns: 1fr 84px; gap: 12px; }
.cg-site--c .cg-site__img { height: 84px; }
.cg-site--c .cg-site__img .cg-orb { width: 64px; height: 64px; top: 10px; right: -8px; } .cg-site--c .cg-site__img .cg-orb--s { width: 24px; height: 24px; left: 10px; top: 48px; }
.cg-site--c .cg-links { gap: 8px; } .cg-site--c .cg-links i { width: 16px; }
.cg-site--c .cg-site__cards i { height: 48px; }
/* brand identity */
.cg-cardc { padding: 16px 18px; display: grid; gap: 10px; align-content: start; }
.cg-c .cg-pg__no { font-size: 10px; }
.cg-c .cg-lockup { height: 104px; }
.cg-c .cg-lockup > svg { width: 36px; height: 36px; }
.cg-c .cg-lockup > b { font-size: 24px; }
.cg-c .cg-clear { left: 22px; right: 22px; top: 24px; bottom: 24px; }
.cg-c .cg-sw { gap: 6px; }
.cg-c .cg-sw span { height: 56px; padding: 7px; font-size: 8px; }
.cg-c .cg-sw b { font-size: 12px; }
.cg-sw--names span { font-size: 0 !important; padding: 6px !important; }
.cg-sw--names b { font-size: 11.5px; }
.cg-c .cg-aa { width: 66px; font-size: 46px; }
.cg-c .cg-type > span { gap: 6px; font-size: 12.5px; }
.cg-c .cf-card { padding: 16px 18px; gap: 10px; }
.cg-c .cf-card .cg-lockup { height: 106px; }
.cg-c .cf-card .cg-sw span { height: 54px; }
.cg-c .cg-app--avatar { width: 64px; height: 64px; } .cg-c .cg-app--avatar svg { width: 30px; height: 30px; }
.cg-c .cf-big { width: 140px !important; height: 82px !important; }
/* investor decks */
.cg-c .cg-slide { padding: 16px 18px; }
.cg-c .cg-slide__title { margin-top: 6px; font-size: 19px; }
.cg-c .cg-chart { left: 18px; top: 66px; width: 264px; height: 91px; }
.cg-c .cf.cg-slide .cg-chart { width: 250px; height: 86px; }
.cg-c .cg-slide__foot { left: 18px; right: 18px; bottom: 12px; }
.cg-c .cg-doc { width: 148px; height: 190px; padding: 13px; gap: 6px; }
.cg-c .cg-doc__band { margin: -13px -13px 6px; padding: 13px; height: 80px; }
.cg-c .cg-doc__band b { font-size: 13px; }
.cg-c .cg-doc .cg-mono { font-size: 7.5px; }
.cg-c .cg-doc .cg-h { height: 9px; }
.cg-c .cg-doc__head { padding-bottom: 8px; }
.cg-c .cg-mini-chart { height: 34px; margin-top: 4px; }
.cg-c .cg-sig { margin-top: 6px; }
.cg-c .cg-rot:first-child { z-index: 2; }
.svc:hover .cg-c .cg-rot:first-child, .svc.is-open .cg-c .cg-rot:first-child { transform: rotate(10deg) translate(4px, 2px); }
.svc:hover .cg-c .cg-rot:nth-child(2), .svc.is-open .cg-c .cg-rot:nth-child(2) { transform: rotate(-6deg) translate(-4px, -2px); }
.cg-c .cg-thumbs { gap: 10px; }
.cg-c .cg-thumbs span { width: 64px; height: 42px; padding: 6px; }
.cg-c .cf-mini { padding: 12px 14px; }
/* search */
.cg-c .cg-serp { padding: 16px; }
.cg-c .cg-serp .cg-search { height: 40px; padding: 0 14px; }
.cg-c .cg-serp .cg-q { font-size: 13px; }
.cg-c .cg-serp__label { margin: 16px 0 10px; }
.cg-c .cg-results { height: 174px; }
.cg-c .cg-ai { padding: 16px; gap: 13px; }
.cg-c .cg-ai__head { font-size: 15px; }
.cg-c .cg-src .cg-chip { height: 28px; font-size: 11.5px; }
.cg-c .cg-follow { height: 34px; font-size: 12.5px; }
.cg-c .cf-searchbar .cg-search { height: 48px; font-size: 14.5px; }
.cg-c .cf-searchbar .cg-q { font-size: 14.5px; }
.cg-c .cf-spark { width: 48px; height: 48px; } .cg-c .cf-spark svg { width: 22px; height: 22px; }
/* mockups */
.cg-laptop--c { scale: .66; transform-origin: 0 0; }
.cg-phone--c { scale: .86; }
.cg-plane--c { width: 400px; height: 340px; transform: rotateX(48deg) rotateZ(-24deg) scale(1.02); }
.svc:hover .cg-plane--c, .svc.is-open .cg-plane--c { transform: rotateX(46deg) rotateZ(-21deg) scale(1.04) translateZ(8px); }
.cg-tablet--c { scale: .9; }

/* the kicker above each title can wrap in narrower cards, so give its lines room */
.svc .svc__meta { line-height: 1.35; }

/* ======================================================================
   RAIL: the services pin and the cards travel sideways (desktop only; narrow screens get the
   static boxes at the end of this file)
   ====================================================================== */
.rail-track { display: contents; }
.rail-hud, .r2-hud { display: none; }
[data-svc="rail"] .svc {
  flex: none; width: clamp(360px, 40vw, 600px); display: flex; flex-direction: column;
  border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--surface-ln);
  transition: border-color .5s ease, box-shadow .6s var(--ease);
}
[data-svc="rail"] .art { margin: 10px 10px 0; aspect-ratio: 16 / 10; }
[data-svc="rail"] .svc__body { padding: clamp(20px, 2vw, 30px); padding-top: clamp(16px, 1.6vw, 22px); gap: 12px; }
[data-svc="rail"] .svc h3 { font-size: clamp(26px, 2.2vw, 34px); }
[data-svc="rail"] .svc__text { font-size: 15px; }
[data-svc="rail"] .svc__points { margin-top: 8px; gap: 6px; }
[data-svc="rail"] .svc__points li { padding: 6px 10px; font-size: 12px; }
[data-svc="rail"] .rail-hud { display: flex; align-items: center; gap: 18px; font: 500 10.5px/1 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.rail-hud__n b { display: inline; color: var(--fg); font-weight: 500; }
.rail-hud__bar { position: relative; flex: 0 1 260px; height: 1px; background: var(--ln); overflow: hidden; }
.rail-hud__bar i { position: absolute; inset: 0; background: var(--orange, #ef4323); transform-origin: 0 50%; transform: scaleX(.02); }
.rail-hud__nav { display: flex; gap: 8px; margin-left: auto; }
.rail-hud__btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ln-2); color: var(--fg); transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .4s var(--ease); }
.rail-hud__btn:hover { background: var(--fg); border-color: var(--fg); color: var(--page); }
.rail-hud__btn:active { transform: scale(.94); }
.rail-hud__btn i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translate(-65%, -50%) rotate(45deg); }
.rail-hud__btn[data-dir="-1"] i { transform: translate(-35%, -50%) rotate(-135deg); }
@media (min-width: 900px) {
  [data-svc="rail"] .services > .wrap::after { content: ''; display: block; height: var(--rail-extra, 0px); }
  [data-svc="rail"] .svc-list { position: sticky; top: var(--rail-top, 96px); display: grid; gap: 22px; }
  [data-svc="rail"] .rail-track { display: flex; gap: clamp(16px, 1.6vw, 24px); width: max-content; transform: translate3d(var(--rail-x, 0px), 0, 0); will-change: transform; }
  [data-svc="rail"] .svc:hover { border-color: var(--ln-2); box-shadow: 0 30px 60px -30px rgba(13, 13, 13, .22); }
}
@media (max-height: 860px) and (min-width: 900px) { [data-svc="rail"] .svc__points { display: none; } }


/* ======================================================================
   RAIL 2, the focus rail: the centred card large, its neighbours set back. Tabs above track it.
   ====================================================================== */
[data-svc="rail2"] .r2-hud { display: block; }
.r2-tabs { position: relative; display: flex; gap: clamp(20px, 3vw, 46px); width: max-content; max-width: 100%; margin: 0 auto; }
.r2-tab { display: flex; align-items: baseline; gap: 9px; padding: 8px 0 14px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--fg-3); cursor: pointer; transition: color .4s ease; }
.r2-tab b { font: 500 10.5px/1 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--fg-3); transition: color .4s ease; }
.r2-tab:hover, .r2-tab.is-on { color: var(--fg); }
.r2-tab.is-on b { color: var(--orange, #ef4323); }
.r2-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ln); pointer-events: none; }
.r2-line b { position: absolute; left: 0; top: -1px; width: 1px; height: 3px; border-radius: 2px; background: var(--orange, #ef4323); transform-origin: 0 50%; }
[data-svc="rail2"] .svc {
  flex: none; border-radius: 30px; overflow: hidden; background: var(--surface); border: 1px solid var(--surface-ln);
  transform: scale(var(--s, 1)); transform-origin: var(--org, 50% 50%); opacity: var(--o, 1);
}
[data-svc="rail2"] .svc:not(.is-focus) { cursor: pointer; }
@media (min-width: 900px) {
  [data-svc="rail2"] .services > .wrap::after { content: ''; display: block; height: var(--r2-extra, 0px); }
  [data-svc="rail2"] .svc-list { position: sticky; top: var(--r2-top, 90px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
  [data-svc="rail2"] .rail-track { display: flex; gap: 28px; width: max-content; transform: translate3d(var(--r2-x, 0px), 0, 0); will-change: transform; }
  [data-svc="rail2"] .svc { width: min(74vw, 1060px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
  [data-svc="rail2"] .art { height: min(calc(100vh - 290px), 540px); margin: 10px 0 10px 10px; aspect-ratio: auto; border-radius: 24px; }
  [data-svc="rail2"] .svc__body { padding: clamp(26px, 2.8vw, 44px); gap: 14px; }
  [data-svc="rail2"] .svc h3 { font-size: clamp(34px, 3.2vw, 50px); }
  [data-svc="rail2"] .svc__text { font-size: 15.5px; }
  [data-svc="rail2"] .svc__points { margin-top: 10px; gap: 6px; }
  [data-svc="rail2"] .svc__points li { padding: 6px 11px; font-size: 12.5px; }
}
/* smaller desktops: the card stacks, graphic above copy, so the copy keeps a readable measure */
@media (min-width: 900px) and (max-width: 1199px) {
  [data-svc="rail2"] .svc { width: min(78vw, 820px); display: flex; flex-direction: column; align-items: stretch; }
  [data-svc="rail2"] .art { height: clamp(230px, calc(100vh - 430px), 46vw); aspect-ratio: auto; margin: 10px 10px 0; }
  [data-svc="rail2"] .svc__body { padding: 22px 28px 26px; gap: 10px; }
  [data-svc="rail2"] .svc h3 { font-size: 34px; }
  [data-svc="rail2"] .svc__text { max-width: 62ch; }
  [data-svc="rail2"] .svc__points { margin-top: 4px; }
}
@media (min-width: 900px) and (max-height: 820px) { [data-svc="rail2"] .svc__points { display: none; } }

/* ======================================================================
   SHOWCASE: sticky list beside a sticky stage (desktop)
   ====================================================================== */
.sc-list { display: none; }
@media (min-width: 900px) {
  [data-svc="showcase"] .svc-list { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: clamp(36px, 5vw, 88px); align-items: start; height: var(--sc-h, 260vh); }
  [data-svc="showcase"] .rail-track { display: contents; }
  [data-svc="showcase"] .sc-list { display: grid; grid-column: 1; grid-row: 1; position: sticky; top: var(--sc-top, 120px); padding-left: 26px; gap: 4px; }
  [data-svc="showcase"] .svc {
    grid-column: 2; grid-row: 1; position: sticky; top: var(--sc-top, 120px);
    border-radius: 32px; overflow: hidden; background: var(--surface); border: 1px solid var(--surface-ln); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(18px) scale(.965); filter: blur(6px);
    transition: opacity .7s var(--ease), transform 1s var(--ease), filter .7s var(--ease), visibility 0s linear .7s;
  }
  [data-svc="showcase"] .svc.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .7s var(--ease), transform 1s var(--ease), filter .7s var(--ease), visibility 0s; }
  [data-svc="showcase"] .svc .art { aspect-ratio: auto; height: min(calc(100vh - 230px), 560px); border-radius: 24px; }
  [data-svc="showcase"] .svc__body, [data-svc="showcase"] .svc .pn-strip { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
.sc-line { position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--ln); }
.sc-line i { position: absolute; inset: 0; background: var(--orange, #ef4323); transform-origin: 50% 0; transform: scaleY(.02); transition: transform .3s linear; }
.sc-item { position: relative; display: grid; grid-template-columns: 40px 1fr; align-items: baseline; padding: 14px 0; cursor: pointer; border-bottom: 1px solid var(--ln); }
.sc-item:last-child { border-bottom: 0; }
.sc-item::before { content: ''; position: absolute; left: -30px; top: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange, #ef4323); transform: scale(0); transition: transform .6s var(--ease); }
.sc-item.is-active::before { transform: scale(1); }
.sc-num { font: 500 11px/1 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--fg-3); transition: color .4s ease; }
.sc-item.is-active .sc-num { color: var(--orange, #ef4323); }
.sc-title { font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--fg-3); transition: color .5s ease; }
.sc-item:hover .sc-title, .sc-item.is-active .sc-title { color: var(--fg); }
.sc-more { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.sc-item.is-active .sc-more { grid-template-rows: 1fr; }
.sc-inner { overflow: hidden; display: grid; gap: 12px; align-content: start; opacity: 0; transition: opacity .5s ease; }
.sc-item.is-active .sc-inner { opacity: 1; transition-delay: .15s; }
.sc-kicker { margin-top: 12px; font: 500 10px/1.3 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.sc-text { font-size: 15.5px; line-height: 1.6; color: var(--fg-2); max-width: 42ch; }
.sc-points { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.sc-points li { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--ln); font-size: 12px; color: var(--fg-2); }
.sc-cta { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin: 4px 0 6px; font-size: 14px; font-weight: 500; color: var(--fg); }
.sc-cta i { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--orange, #ef4323); transition: transform .5s var(--ease); }
.sc-cta i::before { content: ''; position: absolute; left: 8px; top: 9px; width: 7px; height: 7px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: rotate(45deg); }
.sc-cta:hover i { transform: translateX(4px); }

/* ======================================================================
   PANELS: a horizontal accordion (desktop)
   ====================================================================== */
[data-svc="panels"] .svc { border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--surface-ln); }
[data-svc="panels"] .pn-strip { display: flex; }
.pn-strip b { font: 500 11px/1 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--orange, #ef4323); }
.pn-strip span { font-size: 22px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; color: var(--fg); }
.pn-strip i { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ln-2); flex: none; }
.pn-strip i::before, .pn-strip i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--fg); }
.pn-strip i::after { transform: rotate(90deg); }
@media (min-width: 900px) {
  [data-svc="panels"] .services > .wrap::after { content: ''; display: block; height: var(--pn-extra, 0px); }
  [data-svc="panels"] .svc-list { position: sticky; top: var(--pn-top, 100px); }
  [data-svc="panels"] .rail-track { display: flex; gap: 12px; height: var(--pn-h, 640px); }
  [data-svc="panels"] .svc { position: relative; flex: 0 0 92px; min-width: 0; cursor: pointer; transition: flex-basis .9s var(--ease), background-color .5s ease, border-color .5s ease; }
  [data-svc="panels"] .svc.is-active { flex: 0 0 var(--pn-open, 900px); cursor: auto; }
  [data-svc="panels"] .svc:not(.is-active):hover { border-color: var(--ln-2); background: var(--surface-2); }
  [data-svc="panels"] .pn-strip { position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: space-between; padding: 28px 0; z-index: 2; transition: opacity .4s ease; }
  [data-svc="panels"] .pn-strip span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 26px; }
  [data-svc="panels"] .svc.is-active .pn-strip { opacity: 0; pointer-events: none; }
  [data-svc="panels"] .svc__body { position: absolute; left: 36px; top: 36px; bottom: 36px; width: 340px; gap: 14px; align-content: start; opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .9s var(--ease); }
  [data-svc="panels"] .svc h3 { font-size: clamp(34px, 3.4vw, 52px); }
  [data-svc="panels"] .svc__text { font-size: 15.5px; }
  [data-svc="panels"] .svc__points li { padding: 6px 10px; font-size: 12px; }
  [data-svc="panels"] .art { position: absolute; top: 12px; bottom: 12px; left: 400px; width: calc(var(--pn-open, 900px) - 414px); aspect-ratio: auto; border-radius: 20px; opacity: 0; transform: scale(.97); transition: opacity .6s ease, transform 1s var(--ease); }
  [data-svc="panels"] .svc.is-active .svc__body, [data-svc="panels"] .svc.is-active .art { opacity: 1; transform: none; transition-delay: .25s; }
}

/* ======================================================================
   STILL GRAPHICS: no motion on narrow screens or with reduced motion (html.cg-still, set by
   cards.js). Each scene shows its finished frame.
   ====================================================================== */
.cg-still .art__ui *, .cg-still .art__mock *, .cg-still .art__float *, .cg-still .cf-3d { animation: none !important; transition: none !important; }
.cg-still .cf-3d { transform: rotateX(4deg) rotateY(-6deg) !important; }
.cg-still .cg-3d { transform: none !important; }
.cg-still .cg-win:not(.cf), .cg-still .cg-spread, .cg-still .cg-sw span { transform: none !important; }
.cg-still .cg-rot { transform: rotate(var(--r, 0deg)) !important; }
.cg-still .cg-print { transform: translateX(var(--x, 0)) rotate(var(--r, 0deg)) !important; }
.cg-still .cg-plane { transform: rotateX(52deg) rotateZ(-26deg) scale(1.22) !important; }
.cg-still .cg-plane--c { transform: rotateX(48deg) rotateZ(-24deg) scale(1.02) !important; }
.cg-still .cg-q { width: 170px; }
.cg-still .cg-res--you, .cg-still .cg-res--o { transform: none; }
/* the request lane: traffic through, bots held at the filter */
.cg-still .cg-req:nth-of-type(2) { transform: translateX(196px); }
.cg-still .cg-req:nth-of-type(3) { transform: translateX(112px); }
.cg-still .cg-req:nth-of-type(4) { transform: translateX(150px); }
.cg-still .cg-req:nth-of-type(5) { transform: translateX(112px); }
.cg-still .cg-req:nth-of-type(6) { transform: translateX(56px); }
.cg-still .cg-req:nth-of-type(7) { transform: translateX(112px); }

/* ======================================================================
   NARROW SCREENS (below 900px): every layout is a column of plain, static boxes. Graphic (the
   compact scene), then number, title, text and points. Overrides each layout's own rules.
   ====================================================================== */
@media (max-width: 899px) {
  html { scroll-snap-type: none !important; }
  /* plain boxes on phones: a tap is for scrolling, so the card is not one big link to the form */
  .services .svc__link { display: none !important; }
  .services > .wrap::after { content: none !important; }
  .services .svc-list { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; height: auto !important; position: static !important; border: 0 !important; }
  .services .rail-track { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 14px; position: static !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; transform: none !important; }
  .services .rail-hud, .services .r2-hud, .services .sc-list, .services .pn-strip, .services .svc-marker { display: none !important; }
  .services .svc {
    position: relative !important; top: auto !important; display: flex !important; flex-direction: column !important;
    width: auto !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
    grid-template-columns: none !important; grid-template-rows: none !important;
    border-radius: 24px !important; overflow: hidden !important; background: var(--surface) !important; border: 1px solid var(--surface-ln) !important;
    transform: none !important; opacity: 1 !important; visibility: visible !important; filter: none !important; box-shadow: none !important; transition: none !important;
  }
  .services .svc::before, .services .svc::after { content: none !important; }
  .services .svc .art {
    order: 0 !important; display: block !important; position: relative !important; inset: auto !important; align-self: stretch !important; flex: none !important;
    width: auto !important; height: auto !important; min-height: 0 !important; max-height: none !important; margin: 8px 8px 0 !important;
    aspect-ratio: 11 / 10 !important; border-radius: 18px !important; opacity: 1 !important; transform: none !important; transition: none !important;
  }
  html[data-gfx="line"] .services .svc .art, html[data-gfx="goo"] .services .svc .art, html[data-gfx="dots"] .services .svc .art, html[data-gfx="glass"] .services .svc .art { aspect-ratio: 16 / 10 !important; }
  .services .svc__body { order: 1 !important; align-self: stretch !important; position: static !important; display: grid !important; gap: 10px !important; width: auto !important; padding: 18px 20px 22px !important; opacity: 1 !important; transform: none !important; overflow: visible !important; }
  .services .svc__meta { display: flex !important; font-size: 9.5px; letter-spacing: .14em; }
  .services .svc h3 { display: block !important; font-size: clamp(26px, 7vw, 32px) !important; color: var(--fg) !important; transform: none !important; }
  .services .svc__more { display: block !important; }
  .services .svc__more > div { overflow: visible !important; padding: 0 !important; }
  .services .svc__text { margin-top: 0 !important; font-size: 15px !important; line-height: 1.55 !important; }
  .services .svc__points { display: flex !important; margin-top: 4px !important; gap: 6px !important; }
  .services .svc__points li { padding: 5px 10px !important; font-size: 12px !important; }
}
/* wider than a phone: the box is wide enough for the full scene, so the graphic goes landscape */
@media (min-width: 560px) and (max-width: 899px) { .services .svc .art { aspect-ratio: 16 / 10 !important; } }
