/* Soft Gradient: adapted from jahed's 21st component (demo 2234).
   Palette is intentionally bounded to sage and rose instead of a full hue cycle. */
@property --laco-sage-hue { syntax: '<angle>'; inherits: false; initial-value: 142deg; }
@property --laco-rose-hue { syntax: '<angle>'; inherits: false; initial-value: 30deg; }
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: -12px -30px 0; z-index: -1;
  pointer-events: none; border-radius: 40px;
  background: linear-gradient(115deg, #dce9d755, #eadce14d, #e2ede655);
  background-image:
    radial-gradient(ellipse at 30% 45%, #d7a8ba99, transparent 55%),
    radial-gradient(ellipse at 70% 55%, #c3c0b988, transparent 55%),
    linear-gradient(115deg, #eedce355, #e9e7e355);
  background-size: 170% 150%, 170% 150%, 100% 100%;
  background-repeat: no-repeat;
  mask-image: linear-gradient(transparent, #000 16%, #000 78%, transparent);
  animation: laco-soft-gradient 12s ease-in-out infinite alternate;
  animation-play-state: var(--motion-state, running);
}
@keyframes laco-soft-gradient {
  from { background-position: 0% 20%, 100% 80%, center; opacity: .8; }
  to { background-position: 100% 80%, 0% 20%, center; opacity: 1; }
}
.manifesto { isolation: isolate; overflow: clip; }
.manifesto-inner { position: relative; z-index: 1; }
.manifesto-flower { opacity: .08; }
.floating-paths { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.floating-paths g { transform-box: view-box; transform-origin: center; animation: laco-path-drift 14s ease-in-out infinite alternate; animation-play-state: var(--motion-state, running); }
.floating-paths .paths-right { animation-name: laco-path-return; animation-duration: 17s; animation-delay: -6s; }
@keyframes laco-path-drift { from { transform: translate(-42px, -22px) rotate(-2deg); } to { transform: translate(48px, 30px) rotate(2deg); } }
@keyframes laco-path-return { from { transform: translate(45px, 24px) rotate(2deg); } to { transform: translate(-40px, -26px) rotate(-2deg); } }
.motion-toggle { position: absolute; right: 5px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #6e122e2b; border-radius: 30px; background: #ffffffcc; color: var(--ink); font: 12px/1.4 var(--sans); cursor: pointer; }
.motion-toggle svg { width: 12px; height: 12px; }
.motion-toggle:hover { background: #f0eded; }
.manifesto > .motion-toggle { right: 24px; bottom: 14px; background: #6e122e; color: #e4eee2; border-color: #e3dfe04d; }
.manifesto > .motion-toggle:hover { background: #8e284a; }
.motion-paused { --motion-state: paused !important; }
@media (max-width: 650px) {
  .hero::before { inset-inline: -20px; }
  .hero { padding-bottom: 68px; }
  .hero > .motion-toggle { bottom: 11px; }
  .manifesto { padding-bottom: 70px; }
  .floating-paths { width: 160%; max-width: none; left: -30%; opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .floating-paths g { animation: none !important; }
  .motion-toggle { display: none; }
}
