[data-pfa-scene] {
  --pfa-progress: .55;
  --pfa-open: 1;
  --pfa-front: 1;
  --pfa-middle: 1;
  --pfa-back: 1;
  --pfa-mask: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  position: relative;
  isolation: isolate;
}

.pfa-scene-base,
.pfa-scene-reveal {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.pfa-scene-base {
  --scene-surface: #121521;
  --scene-ink: #ffc1ac;
  --scene-action: #e37e7b;
  --scene-art-accent: #e37e7b;
  background: var(--scene-surface);
  color: var(--scene-ink);
}

.pfa-scene-reveal {
  --scene-surface: #ffc1ac;
  --scene-ink: #121521;
  --scene-action: #b42036;
  --scene-art-accent: #b42036;
  clip-path: var(--pfa-mask);
  background: var(--scene-surface);
  color: var(--scene-ink);
}

@media (prefers-reduced-motion: reduce), print {
  [data-pfa-scene] {
    --pfa-progress: .55 !important;
    --pfa-open: 1 !important;
    --pfa-front: 1 !important;
    --pfa-middle: 1 !important;
    --pfa-back: 1 !important;
    --pfa-mask: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important;
  }
}

html[data-motion="off"] [data-pfa-scene],
html:has(.orbit.motion-paused) [data-pfa-scene] {
  --pfa-progress: .55 !important;
  --pfa-open: 1 !important;
  --pfa-front: 1 !important;
  --pfa-middle: 1 !important;
  --pfa-back: 1 !important;
  --pfa-mask: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important;
}
