/* =====================================================================
   AURORA BACKGROUND  (from 21st.dev "Aurora")
   Seen in the demo: full-height area, content centred, 30px semibold
   title with a muted line under it, "soft light drifting behind your
   content".
   How the original moves (reconstructed, source file not pasted):
   large, heavily blurred bands of colour drift slowly behind the
   content, so slowly you notice the change more than the motion.
   Socialique version: Morning Mist, Soft Cornflower and Linen light on
   a Linen page. Pure CSS, no JavaScript.

   Markup:
     <section class="slq-aurora">
       <div class="slq-aurora__light" aria-hidden="true"></div>
       <div class="slq-aurora__content"> ...cover content... </div>
     </section>
   ===================================================================== */

.slq-aurora { position: relative; isolation: isolate; overflow: hidden; background: var(--slq-linen); }
.slq-aurora__content { position: relative; z-index: 1; }

.slq-aurora__light,
.slq-aurora__light::before,
.slq-aurora__light::after { position: absolute; pointer-events: none; }

.slq-aurora__light {
  inset: 0; z-index: 0;
  /* fade the light out toward the bottom so it never ends in a hard line */
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 90%);
          mask-image: linear-gradient(180deg, #000 50%, transparent 90%);
}
/* Band 1: mist + cornflower, top left */
.slq-aurora__light::before {
  content: ""; width: 70%; height: 80%; left: -10%; top: -25%;
  background: radial-gradient(closest-side, rgba(126, 160, 203, 0.55), rgba(224, 237, 253, 0.6) 55%, transparent);
  filter: blur(60px); opacity: 0.9;
  will-change: transform;
  animation: slq-aurora-drift-a 22s ease-in-out infinite alternate;
}
/* Band 2: harbour tint, bottom right */
.slq-aurora__light::after {
  content: ""; width: 60%; height: 75%; right: -12%; bottom: -30%;
  background: radial-gradient(closest-side, rgba(38, 74, 121, 0.22), rgba(224, 237, 253, 0.7) 60%, transparent);
  filter: blur(70px); opacity: 0.9;
  will-change: transform;
  animation: slq-aurora-drift-b 28s ease-in-out infinite alternate;
}

@keyframes slq-aurora-drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(12%, 10%, 0) scale(1.12); }
  100% { transform: translate3d(22%, 4%, 0) scale(0.95); }
}
@keyframes slq-aurora-drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-14%, -8%, 0) scale(1.08); }
  100% { transform: translate3d(-24%, -14%, 0) scale(1.15); }
}

/* Phones: smaller blur and no drift, so scrolling stays smooth */
@media (max-width: 699.98px) {
  .slq-aurora__light::before, .slq-aurora__light::after { filter: blur(40px); animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slq-aurora__light::before, .slq-aurora__light::after { animation: none; }
}
