/* © 2026 LFM Labs. All rights reserved. */
/* site-pictures.css: the "Sample design" pictures on the tier cards and the process
   stage drawings (site-pictures.js, site-pictures-process.js). Colours come only from
   page tokens, so every look in looks-mock.css carries them. Sizes inside a picture
   are in cqw (the picture is the container), so it scales with its card. Animations
   run only under .play (added while on screen); the base state is the finished frame. */

/* ================================================================ frame */
.pic {
  position: relative; margin: 0; width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
  container-type: inline-size; isolation: isolate;
  border-radius: var(--radius-card); border: 1px solid var(--rule);
  background: radial-gradient(130% 100% at 50% 0%, var(--paper-lift), var(--paper) 72%);
  color: var(--ink); font-family: var(--type);
  --pic-x: linear-gradient(to top right, transparent calc(50% - 0.6px), var(--rule-strong) 50%, transparent calc(50% + 0.6px)),
           linear-gradient(to bottom right, transparent calc(50% - 0.6px), var(--rule-strong) 50%, transparent calc(50% + 0.6px));
}
.pic *, .pic *::before, .pic *::after { box-sizing: border-box; }
:where(.pic) span { display: block; }
.pic-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pic-tag, .rf-state, .bf-toggle {
  position: absolute; top: 3cqw; z-index: 20; border-radius: var(--radius-pill);
  font: 500 max(10px, 1.8cqw)/1 var(--type); letter-spacing: 0.01em; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--rule);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pic .pic-tag { left: 3cqw; padding: 0.6em 0.95em; }
.pic-glow {
  position: absolute; left: 50%; top: 52%; width: 70cqw; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(closest-side, var(--accent-soft), transparent); opacity: 0.7;
}
.pic .pf { background: var(--paper-lift); border: 1px solid var(--rule); box-shadow: var(--shadow-card); }
.pic .pic-ic { width: 6cqw; height: 6cqw; display: block; }

/* Shared moves: rise in, hold, fade (--from sets the entry), and A/B halves. */
@keyframes pic-in { 0%, 6% { opacity: 0; transform: var(--from, none); } 16%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: var(--from, none); } }
@keyframes pic-a { 0%, 44% { opacity: 1; transform: none; } 48%, 90% { opacity: 0; transform: translateY(-0.5em); } 94%, 100% { opacity: 1; transform: none; } }
@keyframes pic-b { 0%, 46% { opacity: 0; transform: translateY(0.5em); } 50%, 90% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }

/* ================================================================ build.amazing */
.pic-build-amazing .pic-art { gap: 7cqw; }
.bl-phone {
  position: relative; width: 27cqw; height: 54cqw; padding: 0.9cqw; flex: none;
  border-radius: 4.6cqw; background: var(--ink); box-shadow: var(--shadow-card);
}
.bl-screen { position: relative; height: 100%; border-radius: 3.8cqw; overflow: hidden; background: var(--paper-lift); }
.bl-notch { position: absolute; top: 1.9cqw; left: 50%; width: 7cqw; height: 1.7cqw; margin-left: -3.5cqw; border-radius: var(--radius-pill); background: var(--ink); }
.bl-bar { position: absolute; right: 0.7cqw; top: 4cqw; width: 0.5cqw; height: 8cqw; border-radius: 1cqw; background: var(--rule-strong); }
.bl-page {
  position: absolute; left: 0; top: 0; width: 25.2cqw; height: 130cqw; padding: 5.4cqw 2.1cqw 2.1cqw;
  display: flex; flex-direction: column; gap: 1.5cqw;
}
.bl-page > * { flex: none; }
.bl-nav { display: flex; justify-content: space-between; align-items: center; height: 2.4cqw; }
.bl-logo { width: 6cqw; height: 1.4cqw; border-radius: var(--radius-pill); background: var(--ink); }
.bl-menu { width: 2.6cqw; height: 1.3cqw; border-block: 0.35cqw solid var(--ink); }
.bl-hero { position: relative; height: 19cqw; border-radius: 2cqw; overflow: hidden; background: var(--accent-soft); }
.bl-sun { position: absolute; right: 3cqw; top: 3cqw; width: 4.6cqw; height: 4.6cqw; border-radius: 50%; background: var(--accent); }
.bl-hill { position: absolute; left: -25%; right: -25%; bottom: -9cqw; height: 16cqw; border-radius: 50%; background: color-mix(in srgb, var(--accent) 38%, var(--paper-lift)); }
.bl-h { height: 2.2cqw; width: 88%; border-radius: 0.6cqw; background: var(--ink); }
.bl-p { height: 0.9cqw; width: 100%; border-radius: 1cqw; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.bl-h.s, .bl-p.s { width: 62%; }
.bl-btn { width: 12cqw; height: 3.6cqw; border-radius: var(--radius-pill); background: var(--accent); }
.bl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3cqw; margin-top: 1cqw; }
.bl-card { display: grid; gap: 1cqw; padding: 1cqw; border: 1px solid var(--rule); border-radius: 1.4cqw; }
.bl-img { height: 6.5cqw; border-radius: 0.9cqw; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.bl-quote { display: grid; gap: 1cqw; padding: 1.2cqw 0 1.2cqw 1.6cqw; border-left: 0.5cqw solid var(--accent); }
.bl-map {
  position: relative; height: 13cqw; border-radius: 1.6cqw;
  background: linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 3cqw 3cqw,
              linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 3cqw 3cqw,
              color-mix(in srgb, var(--ok) 14%, var(--paper-lift));
}
.bl-pin { position: absolute; left: 55%; top: 34%; width: 2.6cqw; height: 2.6cqw; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); }
.bl-foot { margin-top: auto; display: grid; gap: 1cqw; padding: 2.2cqw; border-radius: 1.6cqw; background: var(--ink); }
.bl-foot .bl-p { background: color-mix(in srgb, var(--on-ink) 30%, transparent); }
.bl-mini {
  position: relative; width: 10.1cqw; height: 52cqw; flex: none; overflow: hidden;
  border-radius: 1.2cqw; background: var(--paper-lift); box-shadow: 0 0 0 1px var(--rule), var(--shadow-card);
}
.bl-mini .bl-page { transform: scale(0.4); transform-origin: 0 0; }
.bl-view {
  position: absolute; left: 0; right: 0; top: 0; height: 20.9cqw; border-radius: 1.2cqw;
  border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.bl-screen .bl-page { --k: 1; }
.bl-view { --k: -0.4; }
.bl-bar { --k: -0.49; }
.play .bl-screen .bl-page, .play .bl-view, .play .bl-bar { animation: bl-scroll 14s ease-in-out infinite; }
@keyframes bl-scroll { 0%, 10% { transform: none; } 32%, 44% { transform: translateY(calc(var(--k) * -32cqw)); } 68%, 82% { transform: translateY(calc(var(--k) * -77cqw)); } 97%, 100% { transform: none; } }

/* ================================================================ build.fantastic */
.bf-deck { position: absolute; inset: 0; }
.bf-card {
  position: absolute; left: 50%; top: 55%; width: 21cqw; height: 30cqw; margin: -15cqw 0 0 -10.5cqw;
  display: flex; flex-direction: column; gap: 1cqw; padding: 1.5cqw; overflow: hidden;
  border-radius: 1.8cqw; background: var(--paper-lift); border: 1px solid var(--rule); box-shadow: var(--shadow-card);
  transform: translate(var(--x), var(--y)) rotate(var(--r));
}
.bf-card > * { flex: none; }
.bf-card.bf-front { width: 27cqw; height: 38cqw; margin: -19cqw 0 0 -13.5cqw; padding: 1.8cqw; gap: 1.2cqw; z-index: 6; transform: none; }
.pic .t-nav { height: 1.1cqw; border-radius: 1cqw; background: linear-gradient(90deg, var(--ink) 0 22%, transparent 22% 64%, var(--rule-strong) 64%); }
.pic .t-img { height: 8cqw; border-radius: 1.1cqw; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.pic .t-img.hero {
  height: 11cqw;
  background: radial-gradient(circle at 80% 32%, var(--accent) 0 1.7cqw, transparent 1.8cqw),
              radial-gradient(120% 70% at 30% 120%, color-mix(in srgb, var(--accent) 40%, var(--paper-lift)) 60%, transparent 61%),
              var(--accent-soft);
}
.pic .t-img.map { background: color-mix(in srgb, var(--ok) 18%, var(--paper-lift)); }
.pic .t-h { height: 1.8cqw; width: 80%; border-radius: 0.5cqw; background: var(--ink); }
.pic .t-l { height: 0.8cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.pic .t-l.s { width: 60%; }
.pic .t-btn { width: 9cqw; height: 2.6cqw; margin-top: auto; border-radius: var(--radius-pill); background: var(--accent); }
.pic .t-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8cqw; }
.pic .t-gal .t-img { height: 6.4cqw; }
.pic .t-row { display: flex; align-items: center; gap: 0.8cqw; }
.pic .t-row .t-l { flex: 1; }
.pic .t-dot { width: 1.7cqw; height: 1.7cqw; flex: none; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent); }
.bf-head { display: grid; margin-top: 0.4cqw; font: 600 max(9.5px, 2.25cqw)/1.18 var(--type); letter-spacing: -0.01em; color: var(--ink); }
.bf-head > span { grid-area: 1 / 1; }
.bf-bm { opacity: 0; }
.bf-toggle { right: 3cqw; display: grid; grid-template-columns: 1fr 1fr; padding: 0.35em; font-weight: 600; letter-spacing: 0.06em; }
.bf-lang { position: relative; z-index: 1; padding: 0.4em 0.8em; text-align: center; transition: none; }
.bf-lang.en { color: var(--on-ink); }
.bf-lang.bm { color: var(--ink-3); }
.bf-knob { position: absolute; left: 0.35em; top: 0.35em; bottom: 0.35em; width: calc(50% - 0.35em); border-radius: var(--radius-pill); background: var(--ink); }
.play .bf-card:not(.bf-front) { animation: bf-fan 12s var(--ease-lfm-out) infinite; }
@keyframes bf-fan { 0%, 8% { transform: translate(0, -2cqw) scale(0.94); } 30%, 90% { transform: translate(var(--x), var(--y)) rotate(var(--r)); } 100% { transform: translate(0, -2cqw) scale(0.94); } }
.play .bf-en { animation: pic-a 12s ease-in-out infinite; }
.play .bf-bm { animation: pic-b 12s ease-in-out infinite; }
.play .bf-knob { animation: bf-knob 12s var(--ease-lfm-out) infinite; }
.play .bf-lang.en { animation: bf-on 12s infinite; }
.play .bf-lang.bm { animation: bf-off 12s infinite; }
@keyframes bf-knob { 0%, 44% { transform: none; } 48%, 90% { transform: translateX(100%); } 94%, 100% { transform: none; } }
@keyframes bf-on { 0%, 44% { color: var(--on-ink); } 48%, 90% { color: var(--ink-3); } 94%, 100% { color: var(--on-ink); } }
@keyframes bf-off { 0%, 44% { color: var(--ink-3); } 48%, 90% { color: var(--on-ink); } 94%, 100% { color: var(--ink-3); } }

/* ================================================================ build.mind-blowing */
.pic-build-mind-blowing .pic-art { flex-direction: column; padding-top: 3cqw; }
.bm-laptop { position: relative; display: flex; flex-direction: column; align-items: center; }
.bm-screen {
  position: relative; width: 64cqw; height: 40cqw; overflow: hidden;
  border: 1.1cqw solid color-mix(in srgb, var(--ink) 86%, var(--paper)); border-radius: 2.4cqw 2.4cqw 0.6cqw 0.6cqw;
  background: radial-gradient(90% 80% at 50% 38%, color-mix(in srgb, var(--ink) 90%, var(--accent)), var(--ink));
  box-shadow: var(--shadow-card);
}
.bm-base {
  position: relative; width: 78cqw; height: 2.2cqw; border-radius: 0.3cqw 0.3cqw 3cqw 3cqw;
  background: linear-gradient(var(--paper-edge), color-mix(in srgb, var(--ink) 28%, var(--paper-edge))); box-shadow: var(--shadow-card);
}
.bm-base::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 12cqw; height: 0.8cqw; margin-left: -6cqw;
  border-radius: 0 0 1cqw 1cqw; background: color-mix(in srgb, var(--ink) 18%, var(--paper-edge));
}
.bm-nav { position: absolute; left: 3cqw; right: 3cqw; top: 2.6cqw; display: flex; justify-content: space-between; align-items: center; }
.bm-logo { width: 2cqw; height: 2cqw; border-radius: 50%; border: 1.5px solid var(--on-ink); }
.bm-links { display: flex; gap: 1.6cqw; }
.bm-link { width: 4cqw; height: 0.55cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--on-ink) 40%, transparent); }
.bm-title {
  position: absolute; left: 0; right: 0; top: 43%; transform: translateY(-50%); text-align: center; white-space: nowrap;
  font: 300 9cqw/1 var(--brand-type); letter-spacing: -0.045em; color: var(--on-ink);
}
.pic .bm-ch { display: inline-block; }
.pic .bm-sp { display: inline-block; width: 0.26em; }
.bm-sub { position: absolute; left: 50%; top: 62%; width: 20cqw; height: 0.65cqw; margin-left: -10cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--on-ink) 32%, transparent); }
.bm-sub::after { content: ""; position: absolute; left: 3cqw; right: 3cqw; top: 1.8cqw; height: 100%; border-radius: inherit; background: inherit; }
.bm-cue { position: absolute; left: 50%; bottom: 2.6cqw; width: 2.3cqw; height: 3.6cqw; margin-left: -1.15cqw; border-radius: var(--radius-pill); border: 1.5px solid color-mix(in srgb, var(--on-ink) 45%, transparent); }
.bm-cue::after { content: ""; position: absolute; left: 50%; top: 0.6cqw; width: 0.5cqw; height: 0.9cqw; margin-left: -0.25cqw; border-radius: 1cqw; background: var(--accent); }
.bm-p { position: absolute; width: 0.45cqw; height: 0.45cqw; border-radius: 50%; background: var(--on-ink); opacity: 0; }
.bm-dot { position: absolute; width: 0.7cqw; height: 0.7cqw; border-radius: 50%; background: var(--accent); opacity: 0.75; }
.bm-dot:nth-child(odd) { width: 0.45cqw; height: 0.45cqw; background: var(--on-ink); opacity: 0.3; }
.play .bm-ch { animation: bm-form 10s var(--ease-lfm-out) calc(var(--i) * 0.14s) infinite both; }
@keyframes bm-form {
  0%, 6% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.6); }
  34%, 86% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-1.5cqw); }
}
.play .bm-p { animation: bm-gather 10s cubic-bezier(0.5, 0, 0.2, 1) calc(var(--i) * 0.1s) infinite both; }
@keyframes bm-gather { 0% { opacity: 0; transform: translate(var(--dx), var(--dy)); } 8% { opacity: 0.9; } 30% { opacity: 0.7; transform: none; } 38%, 100% { opacity: 0; transform: none; } }
.play .bm-dot { animation: bm-drift 9s ease-in-out calc(var(--i) * -1.1s) infinite alternate; }
@keyframes bm-drift { to { transform: translate(2.5cqw, -2cqw); } }
.play .bm-cue::after { animation: bm-cue 6s ease-in-out infinite; }
@keyframes bm-cue { 0%, 50% { transform: none; opacity: 1; } 20%, 70% { transform: translateY(1.2cqw); opacity: 0; } 21%, 71% { transform: none; opacity: 0; } 30%, 80% { opacity: 1; } }

/* ================================================================ refresh: mini pages */
/* 40em wide; the host sets font-size. */
.pic .mp-frame { position: relative; overflow: hidden; aspect-ratio: 40 / 28; border-radius: 1.6cqw; background: var(--paper-lift); box-shadow: 0 0 0 1px var(--rule), var(--shadow-card); }
.pic .mp-frame > .op, .pic .mp-new { position: absolute; inset: 0; }
.pic .op { display: flex; flex-direction: column; background: color-mix(in srgb, var(--ink) 5%, var(--paper-lift)); }
.pic .op-top { height: 4.2em; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 1.2em; background: color-mix(in srgb, var(--ink) 42%, var(--paper-lift)); }
.pic .op-logo { width: 9em; height: 2.2em; border: 0.3em double var(--paper-lift); }
.pic .op-ad { width: 12em; height: 2.6em; background: repeating-linear-gradient(45deg, var(--accent) 0 0.6em, color-mix(in srgb, var(--accent) 45%, var(--paper-lift)) 0.6em 1.2em); }
.pic .op-nav { display: flex; gap: 0.3em; padding: 0.5em; background: color-mix(in srgb, var(--ink) 14%, var(--paper-lift)); }
.pic .op-tab { flex: 1; height: 1.6em; border: 0.15em solid var(--rule-strong); background: var(--paper-lift); }
.pic .op-body { flex: 1; display: flex; gap: 0.6em; padding: 0.6em; min-height: 0; }
.pic .op-side { width: 8em; display: flex; flex-direction: column; gap: 0.75em; padding: 0.7em; border: 0.15em solid var(--rule-strong); }
.pic .op-link { height: 0.5em; background: color-mix(in srgb, var(--accent) 55%, var(--ink)); opacity: 0.6; }
.pic .op-main { flex: 1; display: flex; flex-direction: column; gap: 0.6em; min-width: 0; }
.pic .op-welcome { height: 6em; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7em; border: 0.4em double var(--rule-strong); }
.pic .op-l { width: 70%; height: 0.55em; background: color-mix(in srgb, var(--ink) 30%, transparent); }
.pic .op-l.s { width: 45%; }
.pic .op-row { flex: 1; display: flex; gap: 0.5em; }
.pic .op-box { flex: 1; display: flex; flex-direction: column; gap: 0.6em; padding: 0.6em; border: 0.15em solid var(--rule-strong); background: var(--paper-lift); }
.pic .op-box .op-l { width: 100%; }
.pic .op-box .op-l.s { width: 60%; }
.pic .op-box.bx { background: var(--pic-x), var(--paper-lift); }
.pic .op-marquee {
  height: 2.2em; flex: none; border-top: 0.2em solid var(--rule-strong);
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 45%, transparent) 0 3em, transparent 3em 4em) center / 100% 0.6em no-repeat,
              color-mix(in srgb, var(--ink) 12%, var(--paper-lift));
}
.pic .np { display: flex; flex-direction: column; padding: 2.2em 2.6em; background: var(--paper-lift); }
.pic .np-nav { display: flex; align-items: center; gap: 2em; height: 2em; flex: none; }
.pic .np-logo { width: 2em; height: 2em; border-radius: 50%; background: var(--ink); }
.pic .np-links { flex: 1; display: flex; justify-content: flex-end; gap: 1.6em; }
.pic .np-link { width: 3.4em; height: 0.5em; border-radius: 1em; background: color-mix(in srgb, var(--ink) 30%, transparent); }
.pic .np-pill { width: 6em; height: 2em; border-radius: var(--radius-pill); border: 0.15em solid var(--ink); }
.pic .np-hero { display: flex; align-items: center; gap: 2.4em; margin-top: 2.4em; }
.pic .np.alt .np-hero { flex-direction: row-reverse; }
.pic .np-copy { flex: 1; display: flex; flex-direction: column; gap: 0.9em; }
.pic .np-h { height: 2em; border-radius: 0.5em; background: var(--ink); }
.pic .np-h.s { width: 72%; }
.pic .np-p { height: 0.6em; border-radius: 1em; background: color-mix(in srgb, var(--ink) 20%, transparent); }
.pic .np-p.s { width: 64%; }
.pic .np-btn { width: 9em; height: 2.6em; margin-top: 0.8em; border-radius: var(--radius-pill); background: var(--accent); }
.pic .np-img { position: relative; width: 14em; height: 12em; flex: none; overflow: hidden; border-radius: 1.4em; background: var(--accent-soft); }
.pic .np-sun { position: absolute; right: 2em; top: 2em; width: 3.2em; height: 3.2em; border-radius: 50%; background: var(--accent); }
.pic .np-hill { position: absolute; left: -30%; right: -30%; bottom: -5em; height: 10em; border-radius: 50%; background: color-mix(in srgb, var(--accent) 40%, var(--paper-lift)); }
.pic .np-cards { display: flex; gap: 1.4em; margin-top: auto; }
.pic .np-card { flex: 1; height: 4.2em; padding: 1.4em 1.2em; border-radius: 0.9em; border: 0.15em solid var(--rule); }

/* ================================================================ refresh.amazing */
.pic-refresh-amazing .pic-art { gap: 5cqw; padding-top: 4cqw; }
.ra-gauge { width: 36cqw; display: grid; gap: 1.2cqw; }
.ra-svg { width: 100%; display: block; overflow: visible; }
.ra-track { stroke: var(--rule); stroke-width: 12; }
.ra-fill { stroke: var(--ok); stroke-width: 12; stroke-dasharray: 100 100; stroke-dashoffset: 12; }
.ra-ticks { stroke: var(--rule-strong); stroke-width: 1.5; }
.ra-needle { transform-origin: 100px 100px; transform: rotate(68deg); }
.ra-needle path { stroke: var(--ink); stroke-width: 3; }
.ra-needle circle { fill: var(--ink); stroke: var(--paper-lift); stroke-width: 2.5; }
.ra-labels { display: flex; justify-content: space-between; padding: 0 2%; font: 500 max(10px, 1.9cqw)/1 var(--type); }
.ra-slow { color: var(--ink-3); }
.ra-fast { color: var(--ink); }
.pic .ra-site { width: 44cqw; font-size: 1.1cqw; }
.ra-scan { position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; margin-left: -1px; background: var(--accent); box-shadow: 0 0 1.4cqw var(--accent); opacity: 0; }
.play .ra-needle { animation: ra-needle 10s infinite; }
.play .ra-fill { animation: ra-fill 10s infinite; }
.play .ra-new { animation: ra-wipe 10s infinite; }
.play .ra-scan { animation: ra-scan 10s infinite; }
.play .ra-slow { animation: ra-slow 10s infinite; }
.play .ra-fast { animation: ra-fast 10s infinite; }
@keyframes ra-needle {
  0%, 12% { transform: rotate(-74deg); animation-timing-function: cubic-bezier(0.5, 0, 0.2, 1); }
  52% { transform: rotate(74deg); } 58% { transform: rotate(64deg); } 63%, 88% { transform: rotate(68deg); }
  98%, 100% { transform: rotate(-74deg); }
}
@keyframes ra-fill {
  0%, 12% { stroke-dashoffset: 91; stroke: var(--accent); animation-timing-function: cubic-bezier(0.5, 0, 0.2, 1); }
  52% { stroke-dashoffset: 9; } 58% { stroke-dashoffset: 14.5; } 63%, 88% { stroke-dashoffset: 12; stroke: var(--ok); }
  98%, 100% { stroke-dashoffset: 91; stroke: var(--accent); }
}
@keyframes ra-wipe { 0%, 12% { clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(0.5, 0, 0.2, 1); } 52%, 88% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes ra-scan { 0%, 10% { left: 0; opacity: 0; } 12% { left: 0; opacity: 1; animation-timing-function: cubic-bezier(0.5, 0, 0.2, 1); } 52% { left: 100%; opacity: 1; } 58%, 100% { left: 100%; opacity: 0; } }
@keyframes ra-slow { 0%, 30% { color: var(--accent); } 45%, 92% { color: var(--ink-3); } 100% { color: var(--accent); } }
@keyframes ra-fast { 0%, 42% { color: var(--ink-3); } 54%, 92% { color: var(--ink); } 100% { color: var(--ink-3); } }

/* ================================================================ refresh.fantastic */
.pic-refresh-fantastic .pic-art { padding-top: 5cqw; }
.rf-stack { display: flex; flex-direction: column; align-items: center; gap: 3cqw; }
.pic .rf-home { width: 46cqw; font-size: 1.15cqw; }
.rf-row { display: flex; gap: 1.8cqw; }
.pic .rf-small { width: 14.4cqw; font-size: 0.36cqw; border-radius: 1cqw; }
.rf-state { right: 3cqw; display: flex; align-items: center; gap: 0.6em; padding: 0.6em 0.95em; }
.rf-dot { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--ok); }
.rf-words { display: grid; }
.rf-words > span { grid-area: 1 / 1; }
.rf-old { opacity: 0; }
.play .rf-new { animation: rf-swap 12s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--i) * 0.45s) infinite both; }
@keyframes rf-swap { 0%, 16% { clip-path: inset(0 0 100% 0); } 30%, 86% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 0 100% 0); } }
.play .rf-old { animation: pic-a 12s infinite; }
.play .rf-fresh { animation: pic-b 12s infinite; }
.play .rf-dot { animation: rf-dot 12s infinite; }
@keyframes rf-dot { 0%, 46% { background: var(--quiet); } 50%, 90% { background: var(--ok); } 94%, 100% { background: var(--quiet); } }

/* ================================================================ refresh.mind-blowing */
.pic-refresh-mind-blowing .pic-art { padding-top: 8cqw; }
.rm-browser { position: relative; width: 80cqw; height: 47cqw; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.8cqw; }
.rm-chrome { height: 4.2cqw; flex: none; display: flex; align-items: center; gap: 2cqw; padding: 0 1.6cqw; border-bottom: 1px solid var(--rule); }
.rm-dots { display: flex; gap: 0.7cqw; }
.rm-d { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: var(--rule-strong); }
.rm-url { flex: 1; max-width: 30cqw; height: 2cqw; margin: 0 auto; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.rm-view { position: relative; flex: 1; overflow: hidden; }
.rm-new { position: absolute; inset: 0; background: var(--paper-lift); }
.rm-ring { position: absolute; right: 5cqw; top: 50%; width: 27cqw; height: 27cqw; margin-top: -13.5cqw; border-radius: 50%; border: 1.5px dashed var(--rule-strong); }
.rm-blob { position: absolute; right: 12cqw; top: 22%; width: 13cqw; height: 13cqw; border-radius: 50%; background: var(--ink); }
.rm-pill { position: absolute; right: 22cqw; bottom: 14%; width: 12cqw; height: 4.4cqw; border-radius: var(--radius-pill); background: var(--accent); }
.rm-copy { position: absolute; left: 6cqw; top: 50%; width: 34cqw; transform: translateY(-50%); display: flex; flex-direction: column; gap: 1.4cqw; }
.rm-t { height: 4cqw; border-radius: 1cqw; background: var(--ink); }
.rm-t.s { width: 70%; }
.rm-sub { width: 80%; height: 1cqw; margin-top: 0.8cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.rm-cta { width: 12cqw; height: 3.6cqw; margin-top: 1cqw; border-radius: var(--radius-pill); border: 1.5px solid var(--ink); }
.rm-old { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(5, 1fr); gap: 0.5cqw; padding: 0.5cqw; }
.rm-tile { opacity: 0; border: 1px solid var(--rule-strong); background: color-mix(in srgb, var(--ink) 9%, var(--paper-lift)); }
.rm-tile.k0 { background: repeating-linear-gradient(var(--paper-lift) 0 0.8cqw, color-mix(in srgb, var(--ink) 25%, var(--paper-lift)) 0.8cqw 1.1cqw); }
.rm-tile.k1 { background: color-mix(in srgb, var(--ink) 24%, var(--paper-lift)); }
.rm-tile.k2 { background: var(--pic-x), var(--paper-lift); }
.rm-tile.k3 { background: color-mix(in srgb, var(--accent) 45%, var(--paper-lift)); border-style: dashed; }
.play .rm-tile { animation: rm-fall 12s cubic-bezier(0.5, 0, 0.75, 0) var(--d) infinite both; }
@keyframes rm-fall { 0%, 14% { opacity: 1; transform: none; } 30%, 82% { opacity: 0; transform: translateY(1.5cqw) scale(0.8); } 92%, 100% { opacity: 1; transform: none; } }
.play .rm-ring { animation: rm-spin 14s linear infinite; }
.play .rm-blob { animation: rm-float 14s ease-in-out infinite alternate; }
.play .rm-pill { animation: rm-glide 9s ease-in-out infinite alternate; }
.play .rm-t { animation: rm-reveal 12s var(--ease-lfm-out) infinite both; }
.play .rm-t.s { animation-delay: 0.35s; }
@keyframes rm-spin { to { transform: rotate(1turn); } }
@keyframes rm-float { to { transform: translate(-5cqw, 4cqw) scale(0.85); } }
@keyframes rm-glide { to { transform: translateX(10cqw); } }
@keyframes rm-reveal { 0%, 28% { clip-path: inset(0 100% 0 0); } 44%, 100% { clip-path: inset(0 0 0 0); } }

/* ================================================================ automate.amazing */
.aa-row { position: absolute; left: 4cqw; right: 4cqw; top: 22cqw; display: flex; }
.aa-node { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2.4cqw; text-align: center; }
.aa-box {
  position: relative; width: 14cqw; height: 14cqw; display: grid; place-items: center; border-radius: 3.6cqw;
  background: var(--paper-lift); border: 1px solid var(--accent); color: var(--accent);
  box-shadow: var(--shadow-card), 0 0 0 0.8cqw var(--accent-soft);
}
.aa-ok { position: absolute; right: -1.3cqw; top: -1.3cqw; width: 4.2cqw; height: 4.2cqw; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: var(--paper-lift); box-shadow: 0 0 0 0.5cqw var(--paper-lift); }
.pic .aa-ok .pic-ic { width: 2.8cqw; height: 2.8cqw; stroke-width: 2.6; }
.aa-label { max-width: 20cqw; font: 500 max(10px, 2.1cqw)/1.25 var(--type); color: var(--ink-2); }
.aa-track { position: absolute; left: 15.5cqw; right: 15.5cqw; top: 29cqw; height: 2px; background: var(--rule-strong); }
.aa-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
.aa-dot { position: absolute; left: 100%; top: 50%; width: 2cqw; height: 2cqw; margin: -1cqw 0 0 -1cqw; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0.7cqw var(--accent-soft); opacity: 0; }
.play .aa-dot { animation: aa-dot 10s ease-in-out infinite; }
.play .aa-fill { animation: aa-fill 10s ease-in-out infinite; }
.play .aa-box { animation: aa-lit 10s ease-out calc(var(--i) * 1.5s) infinite both; }
.play .aa-ok { animation: aa-ok 10s var(--ease-lfm-out) calc(var(--i) * 1.5s) infinite both; }
@keyframes aa-dot { 0%, 5% { left: 0; opacity: 0; } 8% { left: 0; opacity: 1; } 20%, 23% { left: 33.33%; } 35%, 38% { left: 66.67%; } 50% { left: 100%; opacity: 1; } 55%, 100% { left: 100%; opacity: 0; } }
@keyframes aa-fill {
  0%, 8% { transform: scaleX(0); opacity: 1; } 20%, 23% { transform: scaleX(0.3333); } 35%, 38% { transform: scaleX(0.6667); }
  50%, 70% { transform: scaleX(1); opacity: 1; } 80%, 100% { transform: scaleX(1); opacity: 0; }
}
@keyframes aa-lit {
  0%, 6% { border-color: var(--rule); color: var(--ink-3); box-shadow: var(--shadow-card), 0 0 0 0 var(--accent-soft); }
  9% { transform: scale(1.06); }
  13%, 66% { transform: none; border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-card), 0 0 0 0.8cqw var(--accent-soft); }
  74%, 100% { border-color: var(--rule); color: var(--ink-3); box-shadow: var(--shadow-card), 0 0 0 0 var(--accent-soft); }
}
@keyframes aa-ok { 0%, 8% { transform: scale(0); } 13%, 66% { transform: none; } 72%, 100% { transform: scale(0); } }

/* ================================================================ automate.fantastic */
.pic-automate-fantastic .pic-art { gap: 4cqw; padding-top: 8cqw; }
.af-win { width: 54cqw; height: 47cqw; display: flex; flex-direction: column; overflow: hidden; border-radius: 2.4cqw; font: 400 max(10px, 2.15cqw)/1.35 var(--type); }
.af-head { display: flex; align-items: center; gap: 1.4cqw; padding: 1.8cqw 2.2cqw; border-bottom: 1px solid var(--rule); }
.af-ava { width: 4.4cqw; height: 4.4cqw; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); }
.af-ava-dot { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--accent); }
.af-name { flex: 1; display: grid; gap: 0.8cqw; }
.af-l { width: 14cqw; height: 0.9cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--ink) 22%, transparent); }
.af-l.s { width: 9cqw; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.af-live { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0.6cqw color-mix(in srgb, var(--ok) 20%, transparent); }
.af-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.6cqw; padding: 2.2cqw; }
.af-q { align-self: flex-end; max-width: 78%; padding: 0.65em 1em; border-radius: 1.1em 1.1em 0.3em 1.1em; background: var(--ink); color: var(--on-ink); }
.af-slot { display: grid; align-self: flex-start; max-width: 86%; }
.af-slot > * { grid-area: 1 / 1; }
.pic .af-typing { display: flex; gap: 0.35em; align-self: start; justify-self: start; padding: 0.9em 1em; border-radius: 1.1em 1.1em 1.1em 0.3em; background: color-mix(in srgb, var(--ink) 7%, var(--paper-lift)); opacity: 0; }
.af-tdot { width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--ink-3); }
.af-a { padding: 0.65em 1em; border-radius: 1.1em 1.1em 1.1em 0.3em; background: color-mix(in srgb, var(--ink) 7%, var(--paper-lift)); color: var(--ink); }
.pic .af-w { display: inline; }
.af-input { display: flex; align-items: center; justify-content: space-between; height: 5cqw; margin: 0 2.2cqw 2.2cqw; padding: 0 0.7cqw 0 2cqw; border-radius: var(--radius-pill); border: 1px solid var(--rule); }
.af-input .af-l { width: 16cqw; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.af-send { width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: var(--accent); }
.af-chips { width: 28cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.af-chip {
  display: flex; align-items: center; gap: 0.7em; padding: 0.85em 1em; border-radius: 1.4cqw;
  background: var(--paper-lift); border: 1px solid var(--rule); box-shadow: var(--shadow-card);
  font: 500 max(10px, 1.95cqw)/1.25 var(--type); color: var(--ink-2);
}
.af-cdot { width: 0.7em; height: 0.7em; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0.3em var(--accent-soft); }
.play .af-q { --from: translateY(1.5cqw); animation: pic-in 12s var(--ease-lfm-out) infinite both; }
.play .af-typing { animation: af-typing 12s infinite; }
.play .af-tdot { animation: af-bounce 1.2s ease-in-out calc(var(--i) * 0.15s) infinite; }
.play .af-a { animation: af-a 12s var(--ease-lfm-out) infinite; }
.play .af-w { animation: af-w 12s calc(var(--i) * 0.16s) infinite both; }
.play .af-chip { animation: af-pulse 6s ease-out calc(var(--i) * 3s) infinite; }
@keyframes af-typing { 0%, 18% { opacity: 0; } 21%, 32% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes af-bounce { 0%, 60%, 100% { transform: none; opacity: 0.4; } 30% { transform: translateY(-0.25em); opacity: 1; } }
@keyframes af-a { 0%, 33% { opacity: 0; transform: translateY(0.6cqw); } 36%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes af-w { 0%, 34% { opacity: 0; } 37%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes af-pulse { 0% { box-shadow: var(--shadow-card), 0 0 0 0 color-mix(in srgb, var(--accent) 35%, transparent); } 30%, 100% { box-shadow: var(--shadow-card), 0 0 0 1.6cqw transparent; } }

/* ================================================================ automate.mind-blowing */
.pic-automate-mind-blowing .pic-art { padding-top: 8cqw; }
.am-win { width: 88cqw; height: 47cqw; display: flex; overflow: hidden; border-radius: 2cqw; }
.am-rail { width: 7cqw; flex: none; display: flex; flex-direction: column; align-items: center; gap: 2.4cqw; padding-top: 2.4cqw; border-right: 1px solid var(--rule); background: color-mix(in srgb, var(--ink) 3%, transparent); }
.am-mark { width: 3cqw; height: 3cqw; margin-bottom: 1cqw; border-radius: 1cqw; background: var(--ink); }
.am-ri { width: 2.2cqw; height: 2.2cqw; border-radius: 0.7cqw; border: 1.5px solid var(--rule-strong); }
.am-ri.on { border-color: var(--accent); background: var(--accent-soft); }
.am-grid { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.6cqw; padding: 2cqw; }
.am-tile { min-height: 0; display: flex; flex-direction: column; gap: 1.5cqw; padding: 1.6cqw 1.8cqw; border-radius: 1.6cqw; border: 1px solid var(--rule); }
.am-lab { font: 600 max(9.5px, 1.75cqw)/1 var(--type); color: var(--ink-2); }
.am-c { flex: 1; min-height: 0; }
.am-leads .am-c, .am-todo .am-c { display: flex; flex-direction: column; justify-content: space-between; }
.am-lead, .am-task { display: flex; align-items: center; gap: 1.2cqw; }
.am-ava { width: 2.4cqw; height: 2.4cqw; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.am-l { height: 0.8cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.am-st { width: 1.3cqw; height: 1.3cqw; flex: none; margin-left: auto; border-radius: 50%; background: var(--ok); }
.am-st.s1 { background: var(--accent); }
.am-st.s2 { background: var(--quiet); }
.am-cal .am-c { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 1fr; gap: 0.6cqw; }
.am-day { border-radius: 0.6cqw; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.am-day.on { background: color-mix(in srgb, var(--accent) 75%, var(--paper-lift)); }
.am-box { width: 2.4cqw; height: 2.4cqw; flex: none; display: grid; place-items: center; border-radius: 0.7cqw; background: var(--ok); color: var(--paper-lift); }
.pic .am-tick { width: 2cqw; height: 2cqw; stroke-width: 2.8; }
.am-tick path { stroke-dasharray: 24; stroke-dashoffset: 0; }
.am-report .am-c { display: flex; align-items: flex-end; gap: 1.2cqw; padding: 0 0.6cqw; border-bottom: 1px solid var(--rule-strong); }
.am-bar { flex: 1; border-radius: 0.6cqw 0.6cqw 0 0; transform-origin: bottom; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.am-bar.last { background: var(--accent); }
.play .am-lead { --from: translateX(-2cqw); animation: pic-in 12s var(--ease-lfm-out) calc(var(--i) * 0.5s) infinite both; }
.play .am-day.on { --from: scale(0.4); animation: pic-in 12s var(--ease-lfm-out) calc(0.6s + var(--i) * 0.22s) infinite both; }
.play .am-box { animation: am-box 12s calc(1s + var(--i) * 0.7s) infinite both; }
.play .am-tick path { animation: am-tick 12s ease-out calc(1s + var(--i) * 0.7s) infinite both; }
.play .am-bar { --from: scaleY(0); animation: pic-in 12s var(--ease-lfm-out) calc(0.8s + var(--i) * 0.3s) infinite both; }
@keyframes am-box {
  0%, 7% { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
  10%, 88% { background: var(--ok); box-shadow: inset 0 0 0 0 transparent; }
  96%, 100% { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
}
@keyframes am-tick { 0%, 8% { stroke-dashoffset: 24; } 16%, 88% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 24; } }

/* ================================================================ process stages */
.stage-pic {
  display: block; width: 100%; aspect-ratio: 1; color: var(--ink);
  border-radius: var(--radius-card); border: 1px solid var(--rule);
  background: radial-gradient(100% 100% at 50% 0%, var(--paper-lift), var(--paper));
}
.stage-pic svg { display: block; width: 100%; height: 100%; overflow: visible; }
.stage-pic .halo { fill: color-mix(in srgb, var(--accent) 7%, transparent); stroke: none; }
.stage-pic .mut { stroke: var(--ink-3); }
.stage-pic .ac { stroke: var(--accent); }
.stage-pic .acf { stroke: var(--accent); fill: var(--accent-soft); }
.stage-pic .dot { fill: currentColor; stroke: none; }
.stage-pic .dot.accent { fill: var(--accent); }
.stage-pic .paper { fill: var(--paper-lift); }
.stage-pic .lens { fill: color-mix(in srgb, var(--paper-lift) 70%, transparent); }
.stage-pic .chip { stroke: none; }
.stage-pic .chip.c1 { fill: color-mix(in srgb, var(--ink) 14%, transparent); }
.stage-pic .chip.c2 { fill: color-mix(in srgb, var(--ink) 55%, transparent); }
.stage-pic .chip.acf { fill: var(--accent); }
.stage-pic [class*="sa-"] { transform-box: fill-box; transform-origin: center; }
.stage-pic .sa-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.stage-pic .sa-fan { transform-box: view-box; transform-origin: 60px 100px; transform: rotate(var(--r)); }
.stage-pic .sa-swing { transform-box: view-box; transform-origin: 60px 82px; transform: rotate(48deg); }
.stage-pic .sa-fill { transform-origin: left center; }
.stage-pic .sa-grow { transform-origin: center bottom; }
.stage-pic.play .sa-pulse { animation: sa-pulse 6s ease-in-out calc(var(--i) * 0.5s) infinite; }
.stage-pic.play .sa-sweep { animation: sa-sweep 8s ease-in-out infinite; }
.stage-pic.play .sa-draw { animation: sa-draw 8s ease-in-out calc(var(--i, 0) * 0.35s) infinite both; }
.stage-pic.play .sa-fan { animation: sa-fan 8s var(--ease-lfm-out) infinite; }
.stage-pic.play .sa-ring { animation: sa-ring 6s ease-out infinite; }
.stage-pic.play .sa-drop { animation: sa-drop 7s cubic-bezier(0.5, 0, 0.5, 1) infinite; }
.stage-pic.play .sa-fill { animation: sa-fill 9s ease-in-out infinite; }
.stage-pic.play .sa-rise { animation: sa-rise 7s ease-in-out infinite alternate; }
.stage-pic.play .sa-swing { animation: sa-swing 8s infinite; }
.stage-pic.play .sa-morph { animation: sa-morph 8s var(--ease-lfm-out) infinite; }
.stage-pic.play .sa-morph .card { animation: sa-rx 8s var(--ease-lfm-out) infinite; }
.stage-pic.play .sa-slide { animation: sa-slide 6s ease-in-out infinite; }
.stage-pic.play .sa-grow { animation: sa-grow 8s var(--ease-lfm-out) infinite; }
.stage-pic.play .sa-beat { animation: sa-beat 6s ease-in-out infinite; }
@keyframes sa-pulse { 0%, 100% { opacity: 0.15; } 20%, 45% { opacity: 1; } 70% { opacity: 0.15; } }
@keyframes sa-sweep { 0%, 100% { transform: none; } 30% { transform: translate(-28px, -12px); } 60% { transform: translate(-14px, 10px); } }
@keyframes sa-draw { 0%, 8% { stroke-dashoffset: 1; } 30%, 84% { stroke-dashoffset: 0; } 94%, 100% { stroke-dashoffset: 1; } }
@keyframes sa-fan { 0%, 10%, 92%, 100% { transform: rotate(0); } 35%, 75% { transform: rotate(var(--r)); } }
@keyframes sa-ring { 0% { transform: scale(0.5); opacity: 0; } 6% { opacity: 1; } 40%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes sa-drop { 0%, 8% { transform: translateY(-22px); opacity: 0; } 30% { transform: translateY(1.5px); opacity: 1; } 36%, 86% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes sa-fill { 0%, 6% { transform: scaleX(0); } 30% { transform: scaleX(0.35); } 55% { transform: scaleX(0.5); } 80%, 92% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes sa-rise { from { transform: translateY(12px); } to { transform: translateY(-4px); } }
@keyframes sa-swing {
  0%, 10% { transform: rotate(-62deg); animation-timing-function: cubic-bezier(0.5, 0, 0.2, 1); }
  50% { transform: rotate(56deg); } 56% { transform: rotate(44deg); } 60%, 86% { transform: rotate(48deg); }
  98%, 100% { transform: rotate(-62deg); }
}
@keyframes sa-morph { 0%, 12% { transform: translate(-24px, -20px) scale(0.92); opacity: 0.35; } 45%, 86% { transform: none; opacity: 1; } 98%, 100% { transform: translate(-24px, -20px) scale(0.92); opacity: 0.35; } }
@keyframes sa-rx { 0%, 12% { rx: 2px; } 45%, 86% { rx: 12px; } 98%, 100% { rx: 2px; } }
@keyframes sa-slide {
  0% { transform: translateX(calc(var(--d, 14px) * -0.5)); opacity: 0; } 15% { opacity: 1; }
  70% { transform: translateX(calc(var(--d, 14px) * 0.5)); opacity: 1; }
  85%, 100% { transform: translateX(calc(var(--d, 14px) * 0.5)); opacity: 0; }
}
@keyframes sa-grow { 0%, 10% { transform: scaleY(0.4); } 40%, 88% { transform: none; } 100% { transform: scaleY(0.4); } }
@keyframes sa-beat { 0%, 30%, 100% { transform: none; } 8% { transform: scale(1.07); } 15% { transform: scale(0.98); } 22% { transform: scale(1.04); } }

/* ================================================================ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pic *, .pic *::before, .pic *::after, .stage-pic * { animation: none !important; }
}
