/* Stage sections — Stash (save, green) and Browse (library, blue) */

.stash-section {
  --stage-accent: var(--page-imports);
  max-width: calc(var(--max-width) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(64px, 10vh, 120px) var(--gutter) clamp(72px, 12vh, 140px);
}

.stash-section--library {
  --stage-accent: var(--page-library);
}

.stash-section--recipes {
  --stage-accent: var(--page-insights);
}

.stash-intro {
  max-width: 36rem;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.stash-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Section counter grammar: [ 01 / 05 ] — digits in the section accent,
   brackets and name stay quiet. */
.kicker-count b {
  font-weight: 500;
  color: var(--stage-accent, var(--dim));
}

.stash-title {
  font-family: var(--page-title);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  text-wrap: balance;
  max-width: 14ch;
}

.stash-lead {
  font-size: var(--fs-lead);
  font-weight: 500;
  color: var(--dim);
  line-height: 1.5;
  max-width: 42ch;
}

/* Method switcher */
.stash-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0;
}

.stash-method {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms var(--ease-out);
}

.stash-method:hover {
  color: var(--ink);
}

.stash-method[aria-selected="true"] {
  color: var(--ink);
}

.stash-method[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--stage-accent);
}

.stash-method-num {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.04em;
}

.stash-method[aria-selected="true"] .stash-method-num {
  color: var(--stage-accent);
}

/* Stage: copy + visual */
.stash-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  background: var(--panel);
  overflow: hidden;
}

@media (min-width: 800px) {
  .stash-stage {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr);
    min-height: 420px;
  }

  .stash-visual {
    border-top: 0;
    border-left: 1px solid var(--hairline);
    min-height: 100%;
  }
}

.stash-copy {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
}

.stash-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateX(12px);
  filter: blur(3px);
  pointer-events: none;
  transition:
    opacity 280ms var(--ease-out),
    transform 280ms var(--ease-out),
    filter 280ms var(--ease-out);
}

.stash-panel[hidden] {
  display: none !important;
}

.stash-panel.is-active {
  opacity: 1;
  transform: none;
  filter: blur(0);
  pointer-events: auto;
}

.stash-panel.is-exit {
  opacity: 0;
  transform: translateX(-10px);
  filter: blur(3px);
  transition-duration: 200ms;
}

.stash-panel-label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--stage-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stash-panel-title {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 18ch;
}

.stash-panel-body {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--dim);
  line-height: 1.55;
  max-width: 36ch;
}

.stash-panel-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stash-panel-note {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.02em;
  line-height: 1.45;
}

/* Visual stage */
.stash-visual {
  position: relative;
  min-height: 280px;
  background: #0a0a0b;
  border-left: 0;
  border-top: 1px solid var(--hairline);
  overflow: hidden;
}

@media (min-width: 900px) {
  .stash-visual {
    border-top: 0;
    border-left: 1px solid var(--hairline);
    min-height: 100%;
  }
}

.stash-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 36px);
  opacity: 0;
  transform: translateX(16px);
  filter: blur(3px);
  pointer-events: none;
  transition:
    opacity 280ms var(--ease-out),
    transform 280ms var(--ease-out),
    filter 280ms var(--ease-out);
}

.stash-scene[hidden] {
  display: none !important;
}

.stash-scene.is-active {
  opacity: 1;
  transform: none;
  filter: blur(0);
  pointer-events: auto;
}

.stash-scene.is-exit {
  opacity: 0;
  transform: translateX(-12px);
  filter: blur(3px);
  transition-duration: 200ms;
}

@media (prefers-reduced-motion: reduce) {
  .stash-panel,
  .stash-scene {
    transition: opacity 120ms linear;
    transform: none !important;
    filter: none !important;
  }
}

/* ---- Scene: Drop ---- */
.sk-drop {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  --sk-block: #1f1f22;
  --sk-panel: #101012;
  width: min(100%, 380px);
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  background: var(--sk-panel);
  border: 1px dashed var(--sk-dash);
  position: relative;
}

.sk-drop-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px dashed var(--sk-dash);
}

.sk-drop-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sk-line);
}

.sk-drop-bar span {
  margin-left: 6px;
  width: 28%;
  height: 4px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
}

.sk-drop-body {
  flex: 1;
  position: relative;
  margin: 10px;
  border: 1px dashed var(--sk-dash);
  background: #0a0a0b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sk-drop-file {
  width: 42%;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--page-imports);
  background: var(--sk-block);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8%;
  transform: rotate(-4deg);
}

.sk-drop-file b,
.sk-drop-file i {
  display: block;
  height: 3px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
}

.sk-drop-file b { width: 70%; background: #ececf2; border-color: #ececf2; }
.sk-drop-file i:nth-of-type(1) { width: 100%; }
.sk-drop-file i:nth-of-type(2) { width: 55%; flex: 1; background: var(--sk-panel); }

.sk-drop-ring {
  position: absolute;
  inset: 12%;
  border: 1px dashed color-mix(in srgb, var(--page-imports) 45%, transparent);
  pointer-events: none;
}

.sk-drop-hint {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stage-accent);
  white-space: nowrap;
}

/* ---- Scene: Extension ---- */
.sk-ext {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  --sk-block: #1f1f22;
  width: min(100%, 400px);
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  background: #0a0a0b;
  border: 1px dashed var(--sk-dash);
  position: relative;
}

.sk-ext-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #101012;
  border-bottom: 1px dashed var(--sk-dash);
}

.sk-ext-chrome i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sk-line);
}

.sk-ext-url {
  flex: 1;
  height: 10px;
  margin-left: 4px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-block);
  border-radius: 999px;
}

.sk-ext-mark {
  width: 14px;
  height: 14px;
  background: var(--page-library);
  flex-shrink: 0;
}

.sk-ext-page {
  flex: 1;
  padding: 10% 12%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sk-ext-page b {
  width: 55%;
  height: 8px;
  background: #ececf2;
}

.sk-ext-page i {
  display: block;
  height: 3px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
}

.sk-ext-page i:nth-of-type(1) { width: 80%; }
.sk-ext-page i:nth-of-type(2) { width: 64%; }
.sk-ext-page .sk-ext-hero {
  flex: 1;
  margin-top: 6px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-block);
}

.sk-ext-pop {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 38%;
  padding: 8px;
  background: #101012;
  border: 1px solid var(--page-library);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.sk-ext-pop span {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  color: #ececf2;
  letter-spacing: 0.02em;
}

.sk-ext-pop i {
  display: block;
  height: 3px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
}

.sk-ext-pop i:nth-of-type(1) { width: 70%; }
.sk-ext-pop i:nth-of-type(2) { width: 50%; }
.sk-ext-pop b {
  margin-top: 2px;
  height: 10px;
  background: var(--page-library);
  border: 0;
}

/* ---- Scene: Agent ---- */
.sk-agent {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  width: min(100%, 400px);
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  background: #0a0a0b;
  border: 1px dashed var(--sk-dash);
  overflow: hidden;
}

.sk-agent-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px dashed var(--sk-dash);
  background: #101012;
}

.sk-agent-bar span {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  color: #71717a;
  letter-spacing: 0.04em;
}

.sk-agent-bar .sk-agent-mcp {
  margin-left: auto;
  color: var(--stage-accent);
  border: 1px solid color-mix(in srgb, var(--page-imports) 35%, transparent);
  padding: 2px 6px;
}

.sk-agent-body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sk-agent-you,
.sk-agent-bot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 92%;
}

.sk-agent-role {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #71717a;
}

.sk-agent-you .sk-agent-bubble {
  padding: 8px 10px;
  background: #101012;
  border: 1px dashed var(--sk-dash);
}

.sk-agent-quote {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: #ececf2;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.sk-agent-bot .sk-agent-bubble {
  padding: 8px 10px;
  background: color-mix(in srgb, var(--page-imports) 8%, #101012);
  border: 1px solid color-mix(in srgb, var(--page-imports) 28%, transparent);
}

.sk-agent-bot .sk-agent-line {
  display: block;
  height: 3px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
  margin-bottom: 3px;
}

.sk-agent-bot .sk-agent-line:nth-child(1) { width: 88%; }
.sk-agent-bot .sk-agent-line:nth-child(2) { width: 62%; }
.sk-agent-status {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  color: var(--stage-accent);
  letter-spacing: 0.04em;
}

/* ---- Browse scenes (library) ---- */

.sk-folders {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  --sk-block: #1f1f22;
  --sk-panel: #101012;
  width: min(100%, 400px);
  aspect-ratio: 16 / 11;
  display: flex;
  background: #0a0a0b;
  border: 1px dashed var(--sk-dash);
  overflow: hidden;
}

.sk-folders-rail {
  width: 38%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 6px;
  border-right: 1px dashed var(--sk-dash);
  background: var(--sk-panel);
}

.sk-folders-rail b {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 12px;
  padding: 0 4px;
  border: 1px dashed transparent;
}

.sk-folders-rail b i {
  width: 6px;
  height: 6px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
  flex-shrink: 0;
}

.sk-folders-rail b span {
  flex: 1;
  height: 3px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
}

.sk-folders-rail b em {
  width: 10px;
  height: 3px;
  background: #52525b;
  font-style: normal;
}

.sk-folders-rail b.on {
  border-color: color-mix(in srgb, var(--stage-accent) 40%, var(--sk-dash));
  background: color-mix(in srgb, var(--stage-accent) 10%, var(--sk-panel));
}

.sk-folders-rail b.on i {
  background: var(--stage-accent);
  border-color: var(--stage-accent);
}

.sk-folders-rail b.on span {
  background: #ececf2;
  border-color: #ececf2;
}

.sk-folders-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
}

.sk-folders-grid i {
  border: 1px dashed var(--sk-dash);
  background: var(--sk-block);
  min-height: 0;
}

.sk-gallery {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  --sk-block: #1f1f22;
  width: min(100%, 400px);
  aspect-ratio: 16 / 11;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding: 10px;
  background: #0a0a0b;
  border: 1px dashed var(--sk-dash);
}

.sk-gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px dashed var(--sk-dash);
  background: #101012;
  overflow: hidden;
}

.sk-gallery-card .sk-thumb {
  flex: 1;
  min-height: 0;
  border-bottom: 1px dashed var(--sk-dash);
  background: var(--sk-block);
}

.sk-gallery-card .sk-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px;
}

.sk-gallery-card .sk-meta b {
  width: 70%;
  height: 3px;
  background: #ececf2;
}

.sk-gallery-card .sk-meta i {
  width: 44%;
  height: 2px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
}

.sk-gallery-card .sk-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10f73e;
  box-shadow: 0 0 0 2px color-mix(in srgb, #10f73e 20%, transparent);
}

.sk-gallery-card.on {
  border-color: #f5c518;
  border-style: solid;
}

.sk-inspect {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  --sk-block: #1f1f22;
  width: min(100%, 400px);
  aspect-ratio: 16 / 11;
  display: flex;
  background: #0a0a0b;
  border: 1px dashed var(--sk-dash);
  overflow: hidden;
}

.sk-inspect-stage {
  flex: 1.2;
  position: relative;
  margin: 8px;
  border: 1px dashed var(--sk-dash);
  background: #101012;
}

.sk-inspect-stage .sk-box {
  position: absolute;
  left: 14%;
  top: 18%;
  width: 52%;
  height: 38%;
  border: 1px solid var(--stage-accent);
  background: color-mix(in srgb, var(--stage-accent) 8%, transparent);
}

.sk-inspect-stage .sk-measure {
  position: absolute;
  left: 14%;
  top: 58%;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  color: var(--stage-accent);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sk-inspect-stage .sk-pin {
  position: absolute;
  right: 18%;
  top: 28%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5c518;
  box-shadow: 0 0 0 2px color-mix(in srgb, #f5c518 25%, transparent);
}

.sk-inspect-side {
  width: 34%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-left: 1px dashed var(--sk-dash);
  background: #101012;
}

.sk-inspect-side span {
  font-family: var(--font-mono);
  font-size: 6px;
  font-weight: 500;
  color: #71717a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sk-inspect-side i {
  display: block;
  height: 3px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
}

.sk-inspect-side i:nth-of-type(1) { width: 80%; }
.sk-inspect-side i:nth-of-type(2) { width: 60%; }
.sk-inspect-side i:nth-of-type(3) { width: 70%; margin-top: 4px; }
.sk-inspect-side .sk-swatch {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.sk-inspect-side .sk-swatch b {
  width: 10px;
  height: 10px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-block);
}

.sk-inspect-side .sk-swatch b:first-child {
  background: var(--stage-accent);
  border-color: var(--stage-accent);
}

.sk-motion {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  --sk-block: #1f1f22;
  width: min(100%, 400px);
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  background: #0a0a0b;
  border: 1px dashed var(--sk-dash);
  overflow: hidden;
}

.sk-motion-view {
  flex: 1;
  margin: 8px 8px 0;
  border: 1px dashed var(--sk-dash);
  background: #101012;
  position: relative;
}

.sk-motion-view .sk-playhead {
  position: absolute;
  left: 42%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ff5c72;
}

.sk-motion-view .sk-frame {
  position: absolute;
  left: 18%;
  top: 22%;
  width: 40%;
  height: 36%;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-block);
  transform: translateX(8%);
}

.sk-motion-rail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.sk-motion-rail .sk-ticks {
  display: flex;
  gap: 3px;
  height: 16px;
  align-items: flex-end;
}

.sk-motion-rail .sk-ticks i {
  flex: 1;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
  height: 40%;
}

.sk-motion-rail .sk-ticks i:nth-child(3),
.sk-motion-rail .sk-ticks i:nth-child(4) {
  height: 100%;
  background: color-mix(in srgb, #ff5c72 35%, var(--sk-line));
  border-color: #ff5c72;
}

.sk-motion-rail .sk-scrub {
  position: relative;
  height: 3px;
  background: var(--sk-block);
  border: 1px dashed var(--sk-dash);
}

.sk-motion-rail .sk-scrub b {
  position: absolute;
  left: 42%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5c72;
  transform: translate(-50%, -50%);
}

.sk-motion-rail .sk-time {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  color: #71717a;
  letter-spacing: 0.04em;
}

/* ---- Recipes scenes ---- */

.sk-ingredients {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  --sk-block: #1f1f22;
  width: min(100%, 400px);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #0a0a0b;
  border: 1px dashed var(--sk-dash);
}

.sk-ingredients-pile {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  height: 100%;
}

.sk-ingredients-pile i {
  border: 1px dashed var(--sk-dash);
  background: var(--sk-block);
}

.sk-ingredients-pile i:nth-child(1) { transform: rotate(-3deg); }
.sk-ingredients-pile i:nth-child(3) { transform: rotate(2deg); }

.sk-ingredients-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: var(--stage-accent);
  clip-path: polygon(0 35%, 55% 35%, 55% 0, 100% 50%, 55% 100%, 55% 65%, 0 65%);
}

.sk-ingredients-bowl {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--stage-accent) 40%, var(--sk-dash));
  background: color-mix(in srgb, var(--stage-accent) 8%, #101012);
}

.sk-ingredients-bowl span {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  color: var(--stage-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sk-ingredients-bowl b {
  display: block;
  height: 3px;
  background: #ececf2;
  width: 55%;
}

.sk-ingredients-bowl i {
  display: block;
  height: 3px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
}

.sk-ingredients-bowl i:nth-of-type(1) { width: 80%; }
.sk-ingredients-bowl i:nth-of-type(2) { width: 65%; }
.sk-ingredients-bowl i:nth-of-type(3) { width: 70%; flex: 1; background: var(--sk-block); }

.sk-recipe {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  --sk-block: #1f1f22;
  width: min(100%, 400px);
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: #0a0a0b;
  border: 1px dashed var(--sk-dash);
}

.sk-recipe-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sk-recipe-head b {
  width: 36%;
  height: 6px;
  background: #ececf2;
}

.sk-recipe-head span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 6px;
  font-weight: 500;
  color: var(--stage-accent);
  letter-spacing: 0.04em;
  padding: 2px 5px;
  border: 1px solid color-mix(in srgb, var(--stage-accent) 40%, transparent);
}

.sk-recipe-cols {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  min-height: 0;
}

.sk-recipe-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px dashed var(--sk-dash);
  background: #101012;
}

.sk-recipe-col span {
  font-family: var(--font-mono);
  font-size: 6px;
  font-weight: 500;
  color: #71717a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sk-recipe-col i {
  display: block;
  height: 3px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
}

.sk-recipe-col i:nth-of-type(1) { width: 85%; }
.sk-recipe-col i:nth-of-type(2) { width: 60%; }
.sk-recipe-col i:nth-of-type(3) { width: 70%; }
.sk-recipe-col .sk-chip {
  margin-top: auto;
  height: 8px;
  background: color-mix(in srgb, var(--stage-accent) 22%, var(--sk-block));
  border: 1px solid color-mix(in srgb, var(--stage-accent) 40%, var(--sk-dash));
}

.sk-follow {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  width: min(100%, 400px);
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  background: #0a0a0b;
  border: 1px dashed var(--sk-dash);
  overflow: hidden;
}

.sk-follow-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px dashed var(--sk-dash);
  background: #101012;
}

.sk-follow-bar span {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  color: #71717a;
  letter-spacing: 0.04em;
}

.sk-follow-bar .sk-follow-mcp {
  margin-left: auto;
  color: var(--stage-accent);
  border: 1px solid color-mix(in srgb, var(--stage-accent) 35%, transparent);
  padding: 2px 6px;
}

.sk-follow-body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sk-follow-you {
  padding: 8px 10px;
  background: #101012;
  border: 1px dashed var(--sk-dash);
}

.sk-follow-quote {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: #ececf2;
  line-height: 1.4;
}

.sk-follow-mcp-call {
  padding: 8px 10px;
  background: color-mix(in srgb, var(--stage-accent) 8%, #101012);
  border: 1px solid color-mix(in srgb, var(--stage-accent) 28%, transparent);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sk-follow-mcp-call span {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  color: var(--stage-accent);
  letter-spacing: 0.04em;
}

.sk-follow-mcp-call i {
  display: block;
  height: 3px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
  width: 70%;
}

.sk-follow-result {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  color: #10f73e;
  letter-spacing: 0.03em;
}

.sk-check {
  --sk-dash: #3a3a40;
  --sk-line: #2c2c30;
  --sk-block: #1f1f22;
  width: min(100%, 400px);
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: #0a0a0b;
  border: 1px dashed var(--sk-dash);
}

.sk-check-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 7px;
  border: 1px dashed var(--sk-dash);
  background: #101012;
}

.sk-check-row .sk-mark {
  width: 4px;
  align-self: stretch;
  flex-shrink: 0;
  background: var(--stage-accent);
}

.sk-check-row .sk-mark--ok {
  background: #10f73e;
}

.sk-check-row .sk-mark--muted {
  background: #52525b;
}

.sk-check-row .sk-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sk-check-row .sk-lines b {
  width: 55%;
  height: 3px;
  background: #ececf2;
}

.sk-check-row .sk-lines i {
  display: block;
  height: 3px;
  border: 1px dashed var(--sk-dash);
  background: var(--sk-line);
  width: 78%;
}

.sk-check-row .sk-file {
  font-family: var(--font-mono);
  font-size: 6px;
  font-weight: 500;
  color: #71717a;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

@media (max-width: 599px) {
  .stash-method {
    flex: 1 1 auto;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  .stash-method[aria-selected="true"]::after {
    left: 10px;
    right: 10px;
  }

  .stash-visual {
    min-height: 240px;
  }
}

/* ============================================================
   Scene demos — every stage visual carries its own tiny loop
   (Firecrawl study: the demo explains the feature). All CSS,
   scoped to .is-active so only the visible scene runs; loops
   restart on each tab switch. Reduced motion: scenes stay still.
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {

  /* ---- Drop: a cursor drags the file in, the zone goes hot, the drop
     lands, a build sweep crosses the card. One 6s story. ---- */
  .stash-scene.is-active .sk-drop-body::before {
    content: "";
    position: absolute;
    left: 74%;
    top: 8%;
    width: 10px;
    height: 12px;
    background: #ececf2;
    clip-path: polygon(0% 0%, 0% 100%, 30% 75%, 48% 100%, 60% 93%, 44% 68%, 72% 68%);
    opacity: 0;
    z-index: 3;
    pointer-events: none;
    animation: ska-cursor-drag 6s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-drop-file {
    position: relative;
    overflow: hidden;
    animation: ska-file-travel 6s cubic-bezier(0.34, 1.3, 0.64, 1) infinite;
  }
  .stash-scene.is-active .sk-drop-file::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
      transparent 0%,
      color-mix(in srgb, var(--page-imports) 26%, transparent) 50%,
      transparent 100%);
    transform: translateX(-130%);
    animation: ska-file-build 6s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-drop-ring {
    animation: ska-ring-lifecycle 6s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-drop-hint {
    animation: ska-hint-lifecycle 6s var(--ease-out) infinite;
  }

  /* Cursor leads; the file lags a beat behind it (the drag). */
  @keyframes ska-cursor-drag {
    0% { left: 74%; top: 8%; opacity: 0; }
    5% { opacity: 1; }
    18% { left: 46%; top: 38%; opacity: 1; }
    26% { left: 46%; top: 38%; opacity: 1; }
    32%, 100% { left: 46%; top: 38%; opacity: 0; }
  }
  @keyframes ska-file-travel {
    0% { transform: translate(64px, -52px) rotate(-9deg); opacity: 0; }
    6% { opacity: 1; }
    22% { transform: translate(0, 0) rotate(-4deg); opacity: 1; }
    28% { transform: translate(0, 3px) rotate(-4deg); }
    33%, 82% { transform: translate(0, 0) rotate(-4deg); opacity: 1; }
    92%, 100% { transform: translate(0, 0) rotate(-4deg); opacity: 0; }
  }
  @keyframes ska-file-build {
    0%, 36% { transform: translateX(-130%); }
    52%, 100% { transform: translateX(130%); }
  }
  @keyframes ska-ring-lifecycle {
    0%, 16% {
      border-color: color-mix(in srgb, var(--page-imports) 45%, transparent);
      background: transparent;
      box-shadow: 0 0 0 0 transparent;
    }
    24%, 30% {
      border-color: var(--page-imports);
      background: color-mix(in srgb, var(--page-imports) 7%, transparent);
      box-shadow: 0 0 0 0 color-mix(in srgb, var(--page-imports) 30%, transparent);
    }
    40% {
      border-color: var(--page-imports);
      background: color-mix(in srgb, var(--page-imports) 7%, transparent);
      box-shadow: 0 0 0 12px transparent;
    }
    56%, 84% {
      border-color: color-mix(in srgb, var(--page-imports) 70%, transparent);
      background: transparent;
      box-shadow: 0 0 0 0 transparent;
    }
    94%, 100% {
      border-color: color-mix(in srgb, var(--page-imports) 45%, transparent);
      background: transparent;
      box-shadow: 0 0 0 0 transparent;
    }
  }
  @keyframes ska-hint-lifecycle {
    0%, 16% { opacity: 0.55; }
    22%, 28% { opacity: 1; }
    36%, 84% { opacity: 0; }
    94%, 100% { opacity: 0.55; }
  }

  /* ---- Extension: the popup opens, the button presses, the page is sent ---- */
  .stash-scene.is-active .sk-ext-pop {
    animation: ska-pop-open 5s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-ext-pop b {
    transform-origin: center;
    animation: ska-pop-press 5s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-ext-mark {
    animation: ska-mark-glow 5s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-ext-hero {
    animation: ska-hero-stashed 5s var(--ease-out) infinite;
  }

  @keyframes ska-pop-open {
    0% { transform: scale(0.92); opacity: 0; filter: blur(2px); }
    10%, 72% { transform: scale(1); opacity: 1; filter: blur(0); }
    82%, 100% { transform: scale(0.95); opacity: 0; filter: blur(2px); }
  }
  @keyframes ska-pop-press {
    0%, 26% { transform: scaleY(1); filter: brightness(1); }
    30% { transform: scaleY(0.72); filter: brightness(0.8); }
    36%, 100% { transform: scaleY(1); filter: brightness(1); }
  }
  @keyframes ska-mark-glow {
    0%, 74% { box-shadow: 0 0 0 0 transparent; }
    80%, 88% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--stage-accent) 45%, transparent); }
    96%, 100% { box-shadow: 0 0 0 0 transparent; }
  }
  @keyframes ska-hero-stashed {
    0%, 78% { background: var(--sk-block); }
    84%, 90% { background: color-mix(in srgb, var(--stage-accent) 22%, var(--sk-block)); }
    98%, 100% { background: var(--sk-block); }
  }

  /* ---- Agent: your sentence, then the agent builds ---- */
  .stash-scene.is-active .sk-agent-you {
    animation: ska-agent-you 6.5s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-agent-bot {
    animation: ska-agent-bot 6.5s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-agent-bot .sk-agent-line {
    animation: ska-agent-line 6.5s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-agent-bot .sk-agent-line:nth-child(2) { animation-delay: 0.5s; }
  .stash-scene.is-active .sk-agent-status {
    animation: ska-agent-status 6.5s var(--ease-in-out) infinite;
  }

  @keyframes ska-agent-you {
    0% { opacity: 0.3; filter: blur(1px); }
    8%, 100% { opacity: 1; filter: blur(0); }
  }
  @keyframes ska-agent-bot {
    0%, 20% { opacity: 0; transform: translateY(4px); }
    28%, 100% { opacity: 1; transform: translateY(0); }
  }
  @keyframes ska-agent-line {
    0%, 32% { background: var(--sk-line); border-style: dashed; }
    40%, 100% { background: color-mix(in srgb, var(--stage-accent) 30%, var(--sk-line)); border-style: solid; }
  }
  @keyframes ska-agent-status {
    0%, 52% { opacity: 0; }
    60% { opacity: 1; }
    72% { opacity: 0.45; }
    84% { opacity: 1; }
    100% { opacity: 1; }
  }

  /* ---- Folders: a scan passes down the rail; the grid re-filters ---- */
  .stash-scene.is-active .sk-folders-rail b {
    position: relative;
  }
  .stash-scene.is-active .sk-folders-rail b::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: color-mix(in srgb, var(--stage-accent) 16%, transparent);
    opacity: 0;
    animation: ska-row-scan 7s linear infinite;
  }
  .stash-scene.is-active .sk-folders-rail b:nth-of-type(1)::after { animation-delay: 0s; }
  .stash-scene.is-active .sk-folders-rail b:nth-of-type(2)::after { animation-delay: 1.4s; }
  .stash-scene.is-active .sk-folders-rail b:nth-of-type(3)::after { animation-delay: 2.8s; }
  .stash-scene.is-active .sk-folders-rail b:nth-of-type(4)::after { animation-delay: 4.2s; }
  .stash-scene.is-active .sk-folders-rail b:nth-of-type(5)::after { animation-delay: 5.6s; }
  .stash-scene.is-active .sk-folders-grid i {
    animation: ska-refilter 7s linear infinite;
  }
  .stash-scene.is-active .sk-folders-grid i:nth-child(2) { animation-delay: 90ms; }
  .stash-scene.is-active .sk-folders-grid i:nth-child(3) { animation-delay: 180ms; }
  .stash-scene.is-active .sk-folders-grid i:nth-child(4) { animation-delay: 270ms; }

  @keyframes ska-row-scan {
    0% { opacity: 0; }
    4% { opacity: 1; }
    16% { opacity: 1; }
    22%, 100% { opacity: 0; }
  }
  @keyframes ska-refilter {
    0%, 88% { opacity: 1; }
    92% { opacity: 0.35; }
    96%, 100% { opacity: 1; }
  }

  /* ---- Gallery: live renders sweep the thumbs; dots breathe ---- */
  .stash-scene.is-active .sk-gallery-card .sk-thumb {
    position: relative;
    overflow: hidden;
  }
  .stash-scene.is-active .sk-gallery-card .sk-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
      transparent 0%,
      color-mix(in srgb, var(--stage-accent) 22%, transparent) 45%,
      color-mix(in srgb, #ececf2 14%, transparent) 55%,
      transparent 100%);
    transform: translateX(-120%);
    animation: ska-thumb-sweep 5.5s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-gallery-card:nth-child(2) .sk-thumb::after { animation-delay: 1.1s; }
  .stash-scene.is-active .sk-gallery-card:nth-child(3) .sk-thumb::after { animation-delay: 2.2s; }
  .stash-scene.is-active .sk-gallery-card .sk-dot {
    animation: ska-dot-pulse 2.4s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-gallery-card:nth-child(2) .sk-dot { animation-delay: 0.8s; }

  @keyframes ska-thumb-sweep {
    0% { transform: translateX(-120%); }
    30%, 100% { transform: translateX(220%); }
  }
  @keyframes ska-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
  }

  /* ---- Inspect: the measure draws itself, the pin lands, swatches fill ---- */
  .stash-scene.is-active .sk-inspect-stage::after {
    content: "";
    position: absolute;
    left: 14%;
    top: 56%;
    width: 52%;
    height: 1px;
    background: var(--stage-accent);
    transform-origin: left;
    transform: scaleX(0);
    animation: ska-measure-draw 4.5s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-inspect-stage .sk-measure {
    animation: ska-measure-chip 4.5s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-inspect-stage .sk-pin {
    animation: ska-pin-pop 4.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  }
  .stash-scene.is-active .sk-inspect-side .sk-swatch b {
    animation: ska-swatch-fill 4.5s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-inspect-side .sk-swatch b:nth-child(2) { animation-delay: 0.35s; }
  .stash-scene.is-active .sk-inspect-side .sk-swatch b:nth-child(3) { animation-delay: 0.7s; }

  @keyframes ska-measure-draw {
    0% { transform: scaleX(0); opacity: 0; }
    8% { opacity: 1; }
    26%, 82% { transform: scaleX(1); opacity: 1; }
    92%, 100% { transform: scaleX(1); opacity: 0; }
  }
  @keyframes ska-measure-chip {
    0%, 10% { opacity: 0; filter: blur(2px); }
    22%, 82% { opacity: 1; filter: blur(0); }
    92%, 100% { opacity: 0; filter: blur(2px); }
  }
  @keyframes ska-pin-pop {
    0%, 28% { transform: scale(0); opacity: 0; }
    38%, 84% { transform: scale(1); opacity: 1; }
    92%, 100% { transform: scale(1); opacity: 0; }
  }
  @keyframes ska-swatch-fill {
    0%, 42% { opacity: 0.25; }
    52%, 86% { opacity: 1; }
    94%, 100% { opacity: 0.25; }
  }

  /* ---- Motion: the playhead scrubs; ticks light as it passes ---- */
  .stash-scene.is-active .sk-motion-view .sk-playhead {
    animation: ska-playhead 3.6s linear infinite;
  }
  .stash-scene.is-active .sk-motion-view .sk-frame {
    animation: ska-frame-play 3.6s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-motion-rail .sk-scrub b {
    animation: ska-playhead 3.6s linear infinite;
  }
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(1),
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(2),
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(5),
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(6),
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(7),
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(8) {
    animation: ska-tick-light 3.6s linear infinite;
  }
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(1) { animation-delay: 0s; }
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(2) { animation-delay: 0.45s; }
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(5) { animation-delay: 1.8s; }
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(6) { animation-delay: 2.25s; }
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(7) { animation-delay: 2.7s; }
  .stash-scene.is-active .sk-motion-rail .sk-ticks i:nth-child(8) { animation-delay: 3.15s; }

  @keyframes ska-playhead {
    0% { left: 6%; }
    100% { left: 92%; }
  }
  @keyframes ska-frame-play {
    0% { transform: translateX(0%) scale(0.96); }
    50% { transform: translateX(36%) scale(1); }
    100% { transform: translateX(0%) scale(0.96); }
  }
  @keyframes ska-tick-light {
    0% { border-color: var(--stage-accent); background: color-mix(in srgb, var(--stage-accent) 35%, var(--sk-line)); }
    12%, 100% { border-color: var(--sk-dash); background: var(--sk-line); }
  }

  /* ---- Ingredients: chips drift to the bowl; rows fill as they land ---- */
  .stash-scene.is-active .sk-ingredients-pile i {
    animation: ska-chip-drift 4.8s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-ingredients-pile i:nth-child(2) { animation-delay: 1.2s; }
  .stash-scene.is-active .sk-ingredients-pile i:nth-child(3) { animation-delay: 2.4s; }
  .stash-scene.is-active .sk-ingredients-pile i:nth-child(4) { animation-delay: 3.6s; }
  .stash-scene.is-active .sk-ingredients-arrow {
    animation: ska-arrow-pulse 1.2s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-ingredients-bowl i {
    animation: ska-bowl-fill 4.8s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-ingredients-bowl i:nth-of-type(2) { animation-delay: 1.2s; }
  .stash-scene.is-active .sk-ingredients-bowl i:nth-of-type(3) { animation-delay: 2.4s; }

  @keyframes ska-chip-drift {
    0% { transform: translate(0, 0); opacity: 1; }
    14% { transform: translate(30%, 4px) scale(0.9); opacity: 0.4; }
    30%, 100% { transform: translate(0, 0); opacity: 1; }
  }
  @keyframes ska-arrow-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
  }
  @keyframes ska-bowl-fill {
    0%, 16% { background: var(--sk-line); border-style: dashed; }
    24%, 88% { background: color-mix(in srgb, var(--stage-accent) 30%, var(--sk-line)); border-style: solid; }
    96%, 100% { background: var(--sk-line); border-style: dashed; }
  }

  /* ---- Recipe: columns resolve row by row; the Kept chip pops ---- */
  .stash-scene.is-active .sk-recipe-col i {
    animation: ska-token-resolve 6s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-recipe-col:nth-child(1) i:nth-of-type(1) { animation-delay: 0.3s; }
  .stash-scene.is-active .sk-recipe-col:nth-child(1) i:nth-of-type(2) { animation-delay: 0.6s; }
  .stash-scene.is-active .sk-recipe-col:nth-child(1) i:nth-of-type(3) { animation-delay: 0.9s; }
  .stash-scene.is-active .sk-recipe-col:nth-child(2) i:nth-of-type(1) { animation-delay: 1.5s; }
  .stash-scene.is-active .sk-recipe-col:nth-child(2) i:nth-of-type(2) { animation-delay: 1.8s; }
  .stash-scene.is-active .sk-recipe-col:nth-child(2) i:nth-of-type(3) { animation-delay: 2.1s; }
  .stash-scene.is-active .sk-recipe-col:nth-child(3) i:nth-of-type(1) { animation-delay: 2.7s; }
  .stash-scene.is-active .sk-recipe-col:nth-child(3) i:nth-of-type(2) { animation-delay: 3s; }
  .stash-scene.is-active .sk-recipe-col:nth-child(3) i:nth-of-type(3) { animation-delay: 3.3s; }
  .stash-scene.is-active .sk-recipe-col .sk-chip {
    animation: ska-chip-pop 6s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  }
  .stash-scene.is-active .sk-recipe-col:nth-child(1) .sk-chip { animation-delay: 1.2s; }
  .stash-scene.is-active .sk-recipe-col:nth-child(2) .sk-chip { animation-delay: 2.4s; }
  .stash-scene.is-active .sk-recipe-col:nth-child(3) .sk-chip { animation-delay: 3.6s; }

  @keyframes ska-token-resolve {
    0%, 8% { background: var(--sk-line); border-color: var(--sk-dash); border-style: dashed; }
    16%, 86% { background: #ececf2; border-color: #ececf2; border-style: solid; }
    94%, 100% { background: var(--sk-line); border-color: var(--sk-dash); border-style: dashed; }
  }
  @keyframes ska-chip-pop {
    0%, 10% { transform: scale(0.7); opacity: 0.4; }
    20%, 88% { transform: scale(1); opacity: 1; }
    96%, 100% { transform: scale(0.7); opacity: 0.4; }
  }

  /* ---- Follow: three beats — the sentence, the call, the answer ---- */
  .stash-scene.is-active .sk-follow-you {
    animation: ska-follow-you 6.5s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-follow-mcp-call {
    animation: ska-follow-call 6.5s var(--ease-in-out) infinite;
  }
  .stash-scene.is-active .sk-follow-mcp-call i {
    animation: ska-follow-load 6.5s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-follow-result {
    animation: ska-follow-result 6.5s var(--ease-out) infinite;
  }

  @keyframes ska-follow-you {
    0% { opacity: 0.3; filter: blur(1px); }
    10%, 100% { opacity: 1; filter: blur(0); }
  }
  @keyframes ska-follow-call {
    0%, 24% { border-color: color-mix(in srgb, var(--stage-accent) 28%, transparent); }
    34%, 60% { border-color: var(--stage-accent); }
    70%, 100% { border-color: color-mix(in srgb, var(--stage-accent) 28%, transparent); }
  }
  @keyframes ska-follow-load {
    0%, 30% { background: var(--sk-line); }
    42%, 100% { background: color-mix(in srgb, var(--stage-accent) 45%, var(--sk-line)); }
  }
  @keyframes ska-follow-result {
    0%, 52% { opacity: 0; transform: translateY(3px); }
    62%, 100% { opacity: 1; transform: translateY(0); }
  }

  /* ---- Check: the scan passes; each mark lands as it's read ---- */
  .stash-scene.is-active .sk-check-row {
    animation: ska-row-read 5s var(--ease-out) infinite;
  }
  .stash-scene.is-active .sk-check-row:nth-child(2) { animation-delay: 1.2s; }
  .stash-scene.is-active .sk-check-row:nth-child(3) { animation-delay: 2.4s; }
  .stash-scene.is-active .sk-check-row .sk-mark {
    transform-origin: top;
    animation: ska-mark-land 5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  }
  .stash-scene.is-active .sk-check-row:nth-child(2) .sk-mark { animation-delay: 1.2s; }
  .stash-scene.is-active .sk-check-row:nth-child(3) .sk-mark { animation-delay: 2.4s; }

  @keyframes ska-row-read {
    0% { background: #101012; }
    6%, 18% { background: color-mix(in srgb, var(--stage-accent) 7%, #101012); }
    26%, 100% { background: #101012; }
  }
  @keyframes ska-mark-land {
    0% { transform: scaleY(0.3); opacity: 0.4; }
    8%, 90% { transform: scaleY(1); opacity: 1; }
    98%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  }
}
