/* Portfolio hero art (template-parts/portfolio/hero.php).
 * Three client sites build themselves in the browser, five seconds each, and
 * the phone and the brand swatches follow the same 15s cycle. Every size is in
 * cqi of .lx-folio, so the scene scales as one piece. Keep this file ASCII.
 */

.lx-page-hero.is-portfolio .lx-page-hero-art { display: grid; place-items: center; }

.lx-folio {
  --px: 0;
  --py: 0;
  --lx-folio-ok: #1fae7a;
  position: relative;
  isolation: isolate;
  width: min(100%, 540px);
  aspect-ratio: 1;
  margin-inline: auto;
  container-type: inline-size;
  user-select: none;
}
:where(.lx-folio) :where(span, b, i, em) { display: block; font-style: normal; }
.lx-folio .lx-page-ring { width: 90%; }
.lx-folio-glow { position: absolute; inset: 12% 8% 14%; z-index: 0; border-radius: 50%; background: radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--t4-teal) 26%, transparent), color-mix(in srgb, var(--t4-blue) 14%, transparent) 44%, transparent 70%); filter: blur(8px); pointer-events: none; }

/* Pen-tool curve behind the cards */
.lx-folio-ink { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lx-folio-ink .is-teal { stop-color: var(--t4-teal); }
.lx-folio-ink .is-blue { stop-color: var(--t4-blue); }
.lx-folio-ink-path { stroke: url(#lxFolioInk); stroke-width: .5; opacity: .85; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.lx-folio-ink-handle { stroke: color-mix(in srgb, var(--t4-blue) 50%, transparent); stroke-width: .3; }
.lx-folio-ink-node { fill: var(--t4-surface); stroke: var(--t4-blue); stroke-width: .45; }
.lx-folio-ink-knob { fill: var(--t4-blue); }

/* Layers: position + pointer drift. Cards inside them float and tilt. */
.lx-folio-layer { position: absolute; z-index: 2; translate: calc(var(--px) * var(--d, 1) * 1.3cqi) calc(var(--py) * var(--d, 1) * 1.3cqi); transition: translate .7s var(--t4-ease); }
.lx-folio-layer.is-browser { top: 14cqi; left: 6cqi; width: 70cqi; }
.lx-folio-layer.is-phone { top: 31cqi; right: 3cqi; z-index: 4; width: 23cqi; }
.lx-folio-layer.is-brand { top: 64cqi; left: 1cqi; z-index: 3; width: 41cqi; }
.lx-folio-layer.is-chip { top: 4.5cqi; right: 4cqi; z-index: 5; }
.lx-folio-layer.is-toast { top: 50cqi; left: 0; z-index: 5; }

/* Browser */
.lx-folio-browser { overflow: hidden; border: 1px solid var(--t4-line); border-radius: 4.2cqi; background: var(--t4-surface); box-shadow: var(--lx-lift), 0 2px 6px -3px rgb(16 46 60 / 12%); rotate: -2deg; }
.lx-folio-bar { display: flex; align-items: center; gap: 2.4cqi; height: 7cqi; padding-inline: 2.8cqi; border-bottom: 1px solid var(--t4-line); background: color-mix(in srgb, var(--t4-soft) 60%, var(--t4-surface)); direction: ltr; }
.lx-folio-dots { display: flex; gap: 1.1cqi; }
.lx-folio-dots i { width: 1.7cqi; height: 1.7cqi; border-radius: 50%; background: #f2a3a3; }
.lx-folio-dots i:nth-child(2) { background: #ead07a; }
.lx-folio-dots i:nth-child(3) { background: #8fd3b4; }
.lx-folio-url { display: flex; flex: 1; align-items: center; gap: 1.2cqi; max-width: 34cqi; height: 3.8cqi; margin-inline: auto; padding-inline: 1.5cqi; border: 1px solid var(--t4-line); border-radius: 99px; background: var(--t4-surface); }
.lx-folio-url i { flex: 0 0 auto; width: 1.5cqi; height: 1.7cqi; border-radius: .45cqi .45cqi .3cqi .3cqi; background: var(--t4-teal); }
.lx-folio-url b { width: 70%; height: 1.1cqi; border-radius: 99px; background: color-mix(in srgb, var(--t4-muted) 30%, transparent); transform-origin: left center; }
.lx-folio-view { position: relative; aspect-ratio: 16 / 10.6; overflow: hidden; background: var(--t4-surface); }

/* One mini site; is-1..3 only change the palette and the hero shapes. */
.lx-folio-site,
.lx-folio-app,
.lx-folio-swatches > span { --a: var(--t4-blue); --b: var(--t4-teal); --tint: color-mix(in srgb, var(--a) 8%, var(--t4-surface)); --bar: color-mix(in srgb, var(--t4-muted) 22%, transparent); }
.lx-folio .is-2 { --a: #ef6a4c; --b: #f6b23f; }
.lx-folio .is-3 { --a: #6b5cf6; --b: #37b6e6; }
.lx-folio-site { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 2.2cqi; padding: 2.6cqi 3.2cqi 3cqi; background: var(--t4-surface); }
.lx-folio-site:not(.is-1) { clip-path: inset(0 100% 0 0); }
.lx-folio-nav { display: flex; align-items: center; gap: 1.6cqi; height: 3.4cqi; }
.lx-folio-nav i { width: 2.9cqi; height: 2.9cqi; margin-inline-end: 1cqi; border-radius: .9cqi; background: linear-gradient(135deg, var(--a), var(--b)); }
.lx-folio-nav b { width: 4.6cqi; height: .95cqi; border-radius: 99px; background: var(--bar); }
.lx-folio-nav em { width: 7.4cqi; height: 2.8cqi; margin-inline-start: auto; border-radius: 99px; background: var(--tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 35%, transparent); }
.lx-folio-hero { display: flex; gap: 3cqi; height: 20cqi; }
.lx-folio-copy { display: flex; flex: 1.1; flex-direction: column; justify-content: center; gap: 1.3cqi; min-width: 0; }
.lx-folio-head { position: relative; display: grid; gap: 1.3cqi; }
.lx-folio-copy b { height: 1.1cqi; border-radius: 99px; background: var(--bar); transform-origin: right center; }
.lx-folio-copy .is-t1 { width: 92%; height: 2.5cqi; background: color-mix(in srgb, var(--t4-ink) 82%, transparent); }
.lx-folio-copy .is-t2 { width: 64%; height: 2.5cqi; background: linear-gradient(90deg, var(--b), var(--a)); }
.lx-folio-copy .is-p2 { width: 76%; }
.lx-folio-cta { position: relative; width: 12cqi; height: 3.7cqi; margin-top: .8cqi; border-radius: 99px; background: var(--a); box-shadow: 0 1.4cqi 2.4cqi -1.4cqi color-mix(in srgb, var(--a) 80%, transparent); }
.lx-folio-cta::after { content: ""; position: absolute; top: 50%; left: 50%; width: 5cqi; height: 5cqi; margin: -2.5cqi 0 0 -2.5cqi; border-radius: 50%; background: color-mix(in srgb, var(--a) 40%, transparent); opacity: 0; pointer-events: none; }
.lx-folio-media { position: relative; flex: 1; overflow: hidden; border-radius: 2.6cqi; background: linear-gradient(140deg, var(--a), var(--b)); }
.lx-folio-media i { position: absolute; }
.lx-folio-media i:nth-child(1) { top: 16%; left: 20%; width: 9cqi; height: 9cqi; border-radius: 50%; background: rgb(255 255 255 / 30%); }
.lx-folio-media i:nth-child(2) { right: -5cqi; bottom: -7cqi; width: 20cqi; height: 20cqi; border-radius: 50%; background: rgb(255 255 255 / 16%); }
.lx-folio-media i:nth-child(3) { bottom: 14%; left: 12%; width: 11cqi; height: 5cqi; border-radius: 1.4cqi; background: rgb(255 255 255 / 88%); box-shadow: 0 1.2cqi 2cqi -1cqi rgb(0 0 0 / 25%); }
.lx-folio-media i:nth-child(3)::before { content: ""; position: absolute; top: 1.2cqi; left: 1.2cqi; width: 2.6cqi; height: 2.6cqi; border-radius: 50%; background: var(--a); }
.lx-folio-media i:nth-child(3)::after { content: ""; position: absolute; top: 1.6cqi; left: 4.6cqi; width: 5cqi; height: .9cqi; border-radius: 99px; background: color-mix(in srgb, var(--a) 30%, #dfe7ee); box-shadow: 0 1.3cqi 0 -.1cqi color-mix(in srgb, var(--a) 18%, #e8eef3); }
.lx-folio-site.is-2 .lx-folio-media i:nth-child(1) { top: 14%; left: 30%; width: 7cqi; height: 12cqi; border-radius: 2.6cqi 2.6cqi 1.4cqi 1.4cqi; background: rgb(255 255 255 / 78%); box-shadow: 0 1.4cqi 2cqi -1cqi rgb(0 0 0 / 22%); }
.lx-folio-site.is-3 .lx-folio-media i:nth-child(1) { top: 12%; left: 18%; width: 11cqi; height: 11cqi; border: 1.6cqi solid rgb(255 255 255 / 75%); background: none; }
.lx-folio-cards { display: flex; flex: 1; gap: 2cqi; }
.lx-folio-cards i { position: relative; flex: 1; border-radius: 2cqi; background: var(--tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 14%, var(--t4-line)); }
.lx-folio-cards i::before { content: ""; position: absolute; top: 1.7cqi; right: 1.7cqi; width: 2.8cqi; height: 2.8cqi; border-radius: .9cqi; background: color-mix(in srgb, var(--a) 80%, var(--b)); }
.lx-folio-cards i::after { content: ""; position: absolute; right: 1.7cqi; bottom: 2cqi; width: 55%; height: .95cqi; border-radius: 99px; background: var(--bar); box-shadow: 0 -1.7cqi 0 0 var(--bar); }

/* Selection box with handles, then the click ripple on the call to action. */
.lx-folio-head::before { content: ""; position: absolute; inset: -.9cqi -1cqi; border: 1.5px solid var(--t4-blue); border-radius: .5cqi; opacity: 0; pointer-events: none;
  background:
    linear-gradient(var(--t4-blue), var(--t4-blue)) 0 0 / 1.3cqi 1.3cqi no-repeat,
    linear-gradient(var(--t4-blue), var(--t4-blue)) 100% 0 / 1.3cqi 1.3cqi no-repeat,
    linear-gradient(var(--t4-blue), var(--t4-blue)) 0 100% / 1.3cqi 1.3cqi no-repeat,
    linear-gradient(var(--t4-blue), var(--t4-blue)) 100% 100% / 1.3cqi 1.3cqi no-repeat,
    color-mix(in srgb, var(--t4-blue) 7%, transparent); }
.lx-folio-head::after { content: "H1"; position: absolute; top: -4.4cqi; left: -1cqi; padding: .35cqi 1.1cqi; border-radius: .7cqi; background: var(--t4-blue); color: #fff; font: 800 clamp(8px, 1.7cqi, 10px) / 1.4 ui-monospace, SFMono-Regular, Menlo, monospace; direction: ltr; opacity: 0; }

/* Phone: the same site, one beat later */
.lx-folio-phone { position: relative; aspect-ratio: 9 / 19; padding: 1.1cqi; border-radius: 4.8cqi; background: #0f2532; box-shadow: var(--lx-lift), inset 0 0 0 .35cqi rgb(255 255 255 / 10%); rotate: 5deg; }
.lx-folio-notch { position: absolute; top: 2cqi; left: 50%; z-index: 5; width: 6.6cqi; height: 1.7cqi; margin-left: -3.3cqi; border-radius: 99px; background: #0f2532; }
.lx-folio-app { position: absolute; inset: 1.1cqi; display: flex; flex-direction: column; gap: 1.15cqi; overflow: hidden; padding: 4.6cqi 1.8cqi 2cqi; border-radius: 3.8cqi; background: var(--t4-surface); }
.lx-folio-app:not(.is-1) { clip-path: inset(100% 0 0 0); }
.lx-folio-app-media { position: relative; flex: 0 0 auto; height: 13.5cqi; overflow: hidden; border-radius: 2.2cqi; background: linear-gradient(150deg, var(--a), var(--b)); }
.lx-folio-app-media i:nth-child(1) { position: absolute; top: 2.2cqi; left: 2.4cqi; width: 5.6cqi; height: 5.6cqi; border-radius: 50%; background: rgb(255 255 255 / 34%); }
.lx-folio-app-media i:nth-child(2) { position: absolute; right: -3cqi; bottom: -4cqi; width: 12cqi; height: 12cqi; border-radius: 50%; background: rgb(255 255 255 / 18%); }
.lx-folio-app.is-2 .lx-folio-app-media i:nth-child(1) { width: 4.6cqi; height: 8cqi; border-radius: 1.8cqi 1.8cqi 1cqi 1cqi; background: rgb(255 255 255 / 78%); }
.lx-folio-app.is-3 .lx-folio-app-media i:nth-child(1) { border: 1.1cqi solid rgb(255 255 255 / 75%); background: none; }
.lx-folio-app b { height: .9cqi; border-radius: 99px; background: var(--bar); transform-origin: right center; }
.lx-folio-app .is-t1 { width: 92%; height: 1.7cqi; margin-top: .4cqi; background: color-mix(in srgb, var(--t4-ink) 82%, transparent); }
.lx-folio-app .is-t2 { width: 62%; height: 1.7cqi; background: linear-gradient(90deg, var(--b), var(--a)); }
.lx-folio-app em { height: 3.2cqi; margin-top: .4cqi; border-radius: 99px; background: var(--a); }
.lx-folio-app-row { display: flex; flex: 1; gap: 1.2cqi; min-height: 0; }
.lx-folio-app-row i { flex: 1; border-radius: 1.6cqi; background: var(--tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 14%, var(--t4-line)); }

/* Brand card */
.lx-folio-brand { display: grid; gap: 2cqi; padding: 2.6cqi 2.8cqi 2.8cqi; border: 1px solid var(--t4-line); border-radius: 4.2cqi; background: color-mix(in srgb, var(--t4-surface) 94%, transparent); box-shadow: var(--lx-lift); rotate: -4deg; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lx-folio-brand-head { display: flex; align-items: center; gap: 1.8cqi; }
.lx-folio-mark { display: grid; flex: 0 0 auto; place-items: center; width: 7.6cqi; height: 7.6cqi; border-radius: 2.4cqi; background: radial-gradient(circle at 30% 24%, #1b93d1, var(--t4-blue) 58%, #05527d); color: #fff; box-shadow: 0 1.6cqi 2.6cqi -1.6cqi color-mix(in srgb, var(--t4-blue) 80%, transparent); }
.lx-folio-mark :is(svg, img) { width: 56%; height: auto; color: #fff; }
.lx-folio-brand strong { display: block; color: var(--t4-ink); font-size: clamp(11px, 2.9cqi, 15px); font-weight: 850; line-height: 1.5; }
.lx-folio-brand small { display: block; color: var(--t4-muted); font-size: clamp(9.5px, 2.1cqi, 11.5px); font-weight: 650; line-height: 1.6; }
.lx-folio-swatches { position: relative; height: 5.4cqi; }
.lx-folio-swatches > span { position: absolute; inset: 0; display: flex; gap: 1.3cqi; }
.lx-folio-swatches > span:not(.is-1) { opacity: 0; }
.lx-folio-swatches i { width: 5.4cqi; height: 5.4cqi; border-radius: 50%; background: var(--a); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 25%); }
.lx-folio-swatches i:nth-child(2) { background: var(--b); }
.lx-folio-swatches i:nth-child(3) { background: color-mix(in srgb, var(--a) 30%, #fff); }
.lx-folio-swatches i:nth-child(4) { background: #18303b; }
.lx-folio-type { display: flex; align-items: center; gap: 2cqi; padding-top: 1.6cqi; border-top: 1px dashed var(--t4-line); }
.lx-folio-type b { color: var(--t4-blue); font-size: clamp(16px, 5.4cqi, 30px); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
@supports (-webkit-background-clip: text) {
  .lx-folio-type b { background: var(--lx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.lx-folio-type > span { display: grid; flex: 1; gap: 1cqi; }
.lx-folio-type > span i { height: 1cqi; border-radius: 99px; background: color-mix(in srgb, var(--t4-muted) 24%, transparent); }
.lx-folio-type > span i:last-child { width: 62%; }

/* Chip and launch toast */
.lx-folio .lx-hero-chip { position: relative; inset: auto; }
.lx-folio-toast { display: flex; align-items: center; gap: 1.5cqi; padding: 1.5cqi 2.2cqi 1.5cqi 1.8cqi; border: 1px solid var(--t4-line); border-radius: 2.6cqi; background: color-mix(in srgb, var(--t4-surface) 92%, transparent); box-shadow: var(--lx-lift); opacity: 0; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lx-folio-toast > i { position: relative; flex: 0 0 auto; width: 4.8cqi; height: 4.8cqi; border-radius: 50%; background: var(--lx-folio-ok); box-shadow: 0 0 0 .9cqi color-mix(in srgb, var(--lx-folio-ok) 18%, transparent); }
.lx-folio-toast > i::after { content: ""; position: absolute; top: 1.2cqi; left: 1.75cqi; width: 1.1cqi; height: 2cqi; border: solid #fff; border-width: 0 .45cqi .45cqi 0; rotate: 45deg; }
.lx-folio-toast strong { display: block; color: var(--t4-ink); font-size: clamp(10px, 2.5cqi, 13px); font-weight: 850; line-height: 1.5; white-space: nowrap; }
.lx-folio-toast small { display: block; color: var(--t4-muted); font-size: clamp(9px, 1.9cqi, 11px); font-weight: 650; line-height: 1.5; }

/* Collaborator cursors */
.lx-folio-cursor { position: absolute; top: 0; left: 0; z-index: 6; display: flex; align-items: flex-start; direction: ltr; pointer-events: none; transform: translate(58cqi, 64cqi); translate: calc(var(--px) * var(--d, 1) * 1.3cqi) calc(var(--py) * var(--d, 1) * 1.3cqi); transition: translate .7s var(--t4-ease); }
.lx-folio-cursor svg { width: 4.4cqi; height: 4.4cqi; overflow: visible; fill: var(--c); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 .5cqi .8cqi rgb(16 46 60 / 30%)); }
.lx-folio-cursor b { margin: 3.2cqi 0 0 -.4cqi; padding: .45cqi 1.4cqi .55cqi; border-radius: .4cqi 1.6cqi 1.6cqi 1.6cqi; background: var(--c); color: #fff; font-size: clamp(9px, 1.9cqi, 11px); font-weight: 800; line-height: 1.5; white-space: nowrap; box-shadow: 0 .8cqi 1.6cqi -.8cqi rgb(16 46 60 / 45%); }
.lx-folio-cursor.is-design { --c: var(--t4-teal); --d: 1; }
.lx-folio-cursor.is-dev { --c: var(--t4-blue); --d: 1.9; transform: translate(34cqi, 92cqi); }

/* Sparkles */
.lx-folio-spark { position: absolute; z-index: 1; width: 3.4cqi; height: 3.4cqi; fill: var(--t4-teal); opacity: .7; pointer-events: none; }
.lx-folio-spark.is-1 { top: 7cqi; left: 9cqi; }
.lx-folio-spark.is-2 { right: 21cqi; bottom: 4cqi; width: 2.6cqi; height: 2.6cqi; fill: var(--t4-blue); }
.lx-folio-spark.is-3 { top: 24cqi; right: 0; width: 2.4cqi; height: 2.4cqi; }

[data-theme="dark"] .lx-folio-phone { background: #07141b; box-shadow: var(--lx-lift), 0 0 0 1px var(--t4-line), inset 0 0 0 .35cqi rgb(255 255 255 / 8%); }
[data-theme="dark"] .lx-folio-notch { background: #07141b; }
[data-theme="dark"] .lx-folio-swatches i:nth-child(4) { background: #e8f1f5; }
[data-theme="dark"] .lx-folio-media i:nth-child(3) { background: rgb(255 255 255 / 92%); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .lx-folio-layer { animation: lx-folio-in 1s var(--t4-ease) both; }
  .lx-folio-layer.is-browser { animation-delay: .15s; }
  .lx-folio-layer.is-phone { animation-delay: .35s; }
  .lx-folio-layer.is-brand { animation-delay: .5s; }
  .lx-folio-layer.is-chip { animation-delay: .7s; }
  .lx-folio-browser { animation: lx-folio-float 8s ease-in-out infinite; }
  .lx-folio-phone { animation: lx-folio-float 6.6s -2s ease-in-out infinite; }
  .lx-folio-brand { animation: lx-folio-float 7.4s -4s ease-in-out infinite; }

  .lx-folio-ink-path { animation: lx-folio-draw 2.6s .5s var(--t4-ease) both; }
  .lx-folio-ink-handle, .lx-folio-ink-node, .lx-folio-ink-knob { animation: lx-folio-fade-in .6s 2.4s ease both; }

  .lx-folio-url b { animation: lx-folio-type 5s var(--t4-ease) infinite; }

  .lx-folio-site { animation: lx-folio-site 15s var(--t4-ease) calc(var(--n) * 5s) infinite both; }
  .lx-folio-app { animation: lx-folio-app 15s var(--t4-ease) calc(var(--n) * 5s + .25s) infinite both; }
  .lx-folio-swatches > span { animation: lx-folio-swap 15s ease calc(var(--n) * 5s) infinite both; }

  .lx-folio-nav { --s: 0; }
  .lx-folio-media { --s: 1; }
  .lx-folio-copy .is-t1 { --s: 1; }
  .lx-folio-copy .is-t2 { --s: 2; }
  .lx-folio-copy .is-p { --s: 3; }
  .lx-folio-copy .is-p2 { --s: 4; }
  .lx-folio-cta { --s: 5; }
  .lx-folio-cards i:nth-child(1), .lx-folio-app-row i:nth-child(1) { --s: 6; }
  .lx-folio-cards i:nth-child(2), .lx-folio-app-row i:nth-child(2) { --s: 7; }
  .lx-folio-cards i:nth-child(3) { --s: 8; }
  .lx-folio-app-media { --s: 0; }
  .lx-folio-app .is-t1 { --s: 1; }
  .lx-folio-app .is-t2 { --s: 2; }
  .lx-folio-app .is-p { --s: 3; }
  .lx-folio-app em { --s: 4; }
  .lx-folio-swatches i:nth-child(1) { --s: 1; }
  .lx-folio-swatches i:nth-child(2) { --s: 2; }
  .lx-folio-swatches i:nth-child(3) { --s: 3; }
  .lx-folio-swatches i:nth-child(4) { --s: 4; }
  .lx-folio-nav, .lx-folio-media, .lx-folio-cta, .lx-folio-cards i, .lx-folio-app-media, .lx-folio-app em, .lx-folio-app-row i, .lx-folio-swatches i { animation: lx-folio-pop 15s var(--t4-ease) calc(var(--n) * 5s + .3s + var(--s) * .1s) infinite both; }
  .lx-folio-app :is(.lx-folio-app-media, em, .lx-folio-app-row i) { animation-delay: calc(var(--n) * 5s + .55s + var(--s) * .1s); }
  .lx-folio-swatches i { animation-delay: calc(var(--n) * 5s + .05s + var(--s) * .07s); }
  .lx-folio-copy b, .lx-folio-app b { animation: lx-folio-grow 15s var(--t4-ease) calc(var(--n) * 5s + .3s + var(--s) * .1s) infinite both; }
  .lx-folio-app b { animation-delay: calc(var(--n) * 5s + .55s + var(--s) * .1s); }
  .lx-folio-head::before, .lx-folio-head::after { animation: lx-folio-select 15s var(--t4-ease) calc(var(--n) * 5s) infinite both; }
  .lx-folio-cta::after { animation: lx-folio-ripple 15s ease-out calc(var(--n) * 5s) infinite both; }

  .lx-folio-toast { animation: lx-folio-toast 5s var(--t4-ease) infinite; }
  .lx-folio-cursor.is-design { animation: lx-folio-cursor-a 5s var(--t4-ease) infinite; }
  .lx-folio-cursor.is-dev { animation: lx-folio-cursor-b 10s var(--t4-ease) infinite; }
  .lx-folio-spark { animation: lx-folio-twinkle 4.8s ease-in-out infinite; }
  .lx-folio-spark.is-2 { animation-delay: -1.6s; }
  .lx-folio-spark.is-3 { animation-delay: -3.2s; }

}

@keyframes lx-folio-in { from { opacity: 0; scale: .9; filter: blur(8px); } to { opacity: 1; scale: 1; filter: blur(0); } }
@keyframes lx-folio-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5cqi); } }
@keyframes lx-folio-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes lx-folio-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lx-folio-type { 0% { transform: scaleX(.06); } 16%, 100% { transform: scaleX(1); } }
@keyframes lx-folio-site {
  0% { z-index: 3; clip-path: inset(0 0 0 100%); }
  5% { clip-path: inset(0 0 0 0); }
  31% { z-index: 3; }
  32% { z-index: 1; }
  38% { clip-path: inset(0 0 0 0); }
  39%, 100% { z-index: 1; clip-path: inset(0 100% 0 0); }
}
@keyframes lx-folio-app {
  0% { z-index: 3; clip-path: inset(100% 0 0 0); }
  5% { clip-path: inset(0 0 0 0); }
  31% { z-index: 3; }
  32% { z-index: 1; }
  38% { clip-path: inset(0 0 0 0); }
  39%, 100% { z-index: 1; clip-path: inset(0 0 100% 0); }
}
@keyframes lx-folio-swap { 0% { opacity: 0; } 3%, 33% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes lx-folio-pop {
  0% { opacity: 0; transform: translateY(1.2cqi) scale(.9); }
  4%, 40% { opacity: 1; transform: none; }
  41%, 100% { opacity: 0; transform: none; }
}
@keyframes lx-folio-grow {
  0% { opacity: 0; transform: scaleX(0); }
  1% { opacity: 1; }
  5%, 40% { opacity: 1; transform: scaleX(1); }
  41%, 100% { opacity: 0; transform: scaleX(1); }
}
@keyframes lx-folio-select {
  0%, 9% { opacity: 0; transform: scale(1.06); }
  11%, 19% { opacity: 1; transform: none; }
  21%, 100% { opacity: 0; transform: none; }
}
@keyframes lx-folio-ripple {
  0%, 20% { opacity: 0; transform: scale(.4); }
  21% { opacity: .95; transform: scale(.7); }
  26%, 100% { opacity: 0; transform: scale(2.4); }
}
@keyframes lx-folio-toast {
  0%, 64% { opacity: 0; transform: translateY(1.6cqi) scale(.92); }
  69%, 91% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: translateY(-1cqi) scale(.98); }
}
@keyframes lx-folio-cursor-a {
  0% { transform: translate(58cqi, 64cqi); }
  20% { transform: translate(49cqi, 52cqi); }
  32%, 46% { transform: translate(57cqi, 33cqi); }
  59% { transform: translate(66cqi, 45cqi) scale(1); }
  62% { transform: translate(66cqi, 45cqi) scale(.8); }
  66%, 82% { transform: translate(66cqi, 45cqi) scale(1); }
  100% { transform: translate(58cqi, 64cqi); }
}
@keyframes lx-folio-cursor-b {
  0% { transform: translate(34cqi, 93cqi); }
  22% { transform: translate(35cqi, 79cqi) scale(1); }
  25% { transform: translate(35cqi, 79cqi) scale(.8); }
  29%, 36% { transform: translate(35cqi, 79cqi) scale(1); }
  52% { transform: translate(22cqi, 80cqi); }
  72% { transform: translate(84cqi, 62cqi) scale(1); }
  75% { transform: translate(84cqi, 62cqi) scale(.8); }
  79%, 86% { transform: translate(84cqi, 62cqi) scale(1); }
  100% { transform: translate(34cqi, 93cqi); }
}
@keyframes lx-folio-twinkle { 0%, 100% { opacity: .2; transform: scale(.55) rotate(0deg); } 50% { opacity: .95; transform: scale(1) rotate(45deg); } }

@media (max-width: 767px) {
  .lx-folio { width: min(100%, 440px); }
  .lx-folio-cursor.is-dev, .lx-folio-spark.is-3 { display: none; }
  .lx-folio .lx-hero-chip { padding: 6px 10px; font-size: 10.5px; }
}
