/* Ventura Visuals + Wedding Cards UG — V5. Exact artwork, responsive CSS motion.
   Everything is namespaced; this file does not style body, links, or existing site UI. */
.vv-wallpaper {
  --vv-background: #20221f;
  --vv-ink-image: url("assets/pattern-ivory.webp");
  --vv-strength: 0.20;
  --vv-tile-width: 780px;
  --vv-duration: 24s;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--vv-background);
  contain: paint;
}
.vv-wallpaper[data-theme="ivory"] {
  --vv-background: #f4f1e8;
  --vv-ink-image: url("assets/pattern-charcoal.webp");
  --vv-strength: 0.12;
}
.vv-wallpaper[data-context="artwork"] { --vv-strength: 1; }
.vv-wallpaper[data-context="chat"] { --vv-strength: 0.12; --vv-tile-width: 560px; }
.vv-wallpaper[data-theme="ivory"][data-context="chat"] { --vv-strength: 0.075; }
.vv-wallpaper__ink {
  position: absolute;
  inset: -56px;
  background-image: var(--vv-ink-image);
  background-repeat: repeat;
  background-size: var(--vv-tile-width) auto;
  background-position: center center;
  opacity: var(--vv-strength);
  transform: translate3d(-12px, -10px, 0);
}
/* A static background is the baseline. Motion is opt-in at operating-system level. */
@media (prefers-reduced-motion: no-preference) {
  .vv-wallpaper__ink {
    animation: vv-pattern-drift var(--vv-duration) ease-in-out infinite;
  }
}
.vv-wallpaper[data-paused="true"] .vv-wallpaper__ink { animation-play-state: paused; }
@keyframes vv-pattern-drift {
  0%, 100% { transform: translate3d(-12px, -10px, 0); }
  25% { transform: translate3d(10px, -18px, 0); }
  50% { transform: translate3d(18px, 8px, 0); }
  75% { transform: translate3d(-8px, 18px, 0); }
}
@media (min-width: 1800px) {
  .vv-wallpaper { --vv-tile-width: 960px; }
}
@media (max-width: 640px) {
  .vv-wallpaper { --vv-tile-width: 520px; }
  .vv-wallpaper[data-context="chat"] { --vv-tile-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .vv-wallpaper__ink { animation: none !important; transform: none; }
}
@media print {
  .vv-wallpaper__ink { animation: none !important; transform: none; }
}
