/* ═══════════════════════════════════════
   LUMI — motion layer for the coming soon page (Nov 14 2026)
   Giveaway card, service ribbon, corner consultation card,
   scroll reveals, sparkles. Everything stills itself for
   visitors who ask for reduced motion.
   ═══════════════════════════════════════ */

@property --lm-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ── Hero: slow drift on the photo, a light sweep over the headline ── */
.cs-hero-img { animation: lmKenBurns 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes lmKenBurns { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.2%, -1%); } }

.cs-headline {
  background: linear-gradient(110deg, #ffffff 38%, #f3dfb5 48%, #ffffff 58%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lmShine 7s ease-in-out infinite;
}
@keyframes lmShine { 0%, 15% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }

.cs-diamond { animation: lmSpin 9s linear infinite; }
@keyframes lmSpin { to { transform: rotate(405deg); } }

/* ── Service ribbon ── */
.lm-ribbon {
  background: linear-gradient(90deg, #9a6f35, #c9a96e 25%, #e6cf9f 50%, #c9a96e 75%, #9a6f35);
  background-size: 200% 100%;
  animation: lmRibbonGlow 9s ease-in-out infinite alternate;
  color: #fffaf1;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.lm-ribbon-track { display: inline-flex; animation: lmMarquee 38s linear infinite; }
.lm-ribbon:hover .lm-ribbon-track { animation-play-state: paused; }
.lm-ribbon span {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 22px;
}
.lm-ribbon i { font-style: normal; color: #fffaf1; font-size: 9px; }
.lm-ribbon span { text-shadow: 0 1px 2px rgba(107, 87, 68, 0.45); }
@keyframes lmRibbonGlow { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes lmMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Giveaway ── */
.lm-giveaway {
  position: relative;
  overflow: hidden;
  padding: 110px 24px;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(201, 169, 110, 0.22), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(245, 227, 208, 0.9), transparent 60%),
    var(--cream);
}
.lm-giveaway-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 48px 44px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  text-align: center;
  box-shadow: 0 30px 80px -40px rgba(107, 87, 68, 0.55);
  isolation: isolate;
}
/* A gold ring that slowly travels around the card */
.lm-giveaway-card::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 29.5px;
  padding: 1.5px;
  background: conic-gradient(from var(--lm-angle), rgba(201, 169, 110, 0.15), #c9a96e, #f3dfb5, #9a6f35, rgba(201, 169, 110, 0.15) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: lmRing 6s linear infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes lmRing { to { --lm-angle: 360deg; } }

.lm-giveaway .cs-section-heading { margin-bottom: 10px; }
.lm-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 22px;
  padding: 7px 18px;
  border-radius: 999px;
  background: linear-gradient(110deg, #9a6f35, #c9a96e 45%, #f3dfb5 50%, #c9a96e 55%, #9a6f35);
  background-size: 250% 100%;
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  animation: lmShine 4.5s ease-in-out infinite, lmGlow 3s ease-in-out infinite;
}
@keyframes lmGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.45); } 50% { box-shadow: 0 0 0 10px rgba(201, 169, 110, 0); } }

.lm-prizes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 30px;
  padding: 0;
  max-width: 600px;
}
.lm-prizes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(154, 111, 53, 0.25);
  background: #fff;
  font-size: 13.5px;
  color: var(--text-soft);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
}
.lm-prizes li::before { content: '\25C6'; color: var(--gold); font-size: 8px; }
.lm-prizes li:hover { transform: translateY(-3px); border-color: var(--gold-light); box-shadow: 0 10px 24px -14px rgba(154, 111, 53, 0.6); }

.lm-giveaway .cs-form { margin: 0 auto; }
.lm-shine-btn { position: relative; overflow: hidden; }
.lm-shine-btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  animation: lmSweep 3.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lmSweep { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }

/* ── Sparkles (placed by lumi-motion.js) ── */
.lm-sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.lm-spark {
  position: absolute;
  width: 8px; height: 8px;
  background: radial-gradient(circle, #fff 0 20%, #f3dfb5 35%, rgba(201, 169, 110, 0) 70%);
  border-radius: 50%;
  opacity: 0;
  animation: lmTwinkle var(--d, 5s) ease-in-out var(--delay, 0s) infinite;
}
.lm-spark.lm-diamond {
  width: 7px; height: 7px;
  border-radius: 0;
  background: #c9a96e;
  transform: rotate(45deg);
}
@keyframes lmTwinkle {
  0% { opacity: 0; transform: translateY(0) scale(.4) rotate(45deg); }
  25% { opacity: .95; }
  60% { opacity: .6; }
  100% { opacity: 0; transform: translateY(-46px) scale(1.1) rotate(45deg); }
}
.lm-giveaway-card, .lm-mirror > div:not(.lm-sparkles):not(.lm-blob) { position: relative; z-index: 1; }

/* ── Vesna Mirror section: drifting glow ── */
.lm-blob { animation: lmDrift 14s ease-in-out infinite alternate; }
.lm-blob + .lm-blob { animation-duration: 18s; animation-direction: alternate-reverse; }
@keyframes lmDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }
.lm-mirror-cta { animation: lmBreathe 3.2s ease-in-out infinite; }
.lm-mirror-cta:hover { transform: translateY(-2px) scale(1.02); }
@keyframes lmBreathe { 0%, 100% { box-shadow: 0 16px 40px -14px rgba(154, 111, 53, 0.6), 0 0 0 0 rgba(201, 169, 110, 0.5); } 50% { box-shadow: 0 16px 40px -14px rgba(154, 111, 53, 0.6), 0 0 0 12px rgba(201, 169, 110, 0); } }

/* ── Waitlist, now in Open Before We Open ── */
.cs-early-access .cs-form { margin-top: 8px; max-width: 460px; }
.cs-early-access .cs-form-row { justify-content: flex-start; }
.cs-visual-frame { animation: lmFloat 7s ease-in-out infinite; }
.cs-visual-img { transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.cs-visual-frame:hover .cs-visual-img { transform: scale(1.06); }
@keyframes lmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── Cards: lift with a gold glow ── */
.cs-expect-card, .cs-diff-item { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.cs-expect-card:hover, .cs-diff-item:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -26px rgba(154, 111, 53, 0.55); }
.cs-expect-icon { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.cs-expect-card:hover .cs-expect-icon { transform: rotate(-8deg) scale(1.12); }

/* ── Scroll reveals (only once the script has run, so nothing hides without it) ── */
.lm-motion .lm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.lm-motion .lm-reveal.lm-in { opacity: 1; transform: none; }

@media (max-width: 600px) {
  .lm-giveaway { padding: 80px 16px; }
  .lm-giveaway-card { padding: 42px 22px 34px; border-radius: 22px; }
  .lm-giveaway-card::before { border-radius: 23.5px; }
  .lm-prizes li { font-size: 12.5px; padding: 8px 13px; }
  .cs-early-access .cs-form-row { justify-content: center; }
}

/* ── Reduced motion: keep everything, still ── */
@media (prefers-reduced-motion: reduce) {
  .cs-hero-img, .cs-headline, .cs-diamond, .lm-ribbon-track, .lm-giveaway-card::before, .lm-value, .lm-shine-btn::after,
  .lm-spark, .lm-blob, .lm-mirror-cta, .cs-visual-frame, .lm-timer-arc, .lm-ribbon {
    animation: none !important;
  }
  .lm-spark { display: none; }
  .lm-motion .lm-reveal { opacity: 1; transform: none; transition: none; }
}

/* Hero sparkles sit above the photo, below the words */
.cs-hero > .lm-sparkles { z-index: 1; }

/* ── Giveaway and consultation side by side (Nov 14 2026) ── */
.lm-duo {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}
.lm-duo .lm-giveaway-card { max-width: none; margin: 0; }
.lm-consult-card { padding: 48px 32px 36px; }
.lm-consult-card::before { animation-direction: reverse; animation-duration: 7.5s; }
.lm-consult-card .cs-section-heading { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
.lm-consult-card .cs-body-text { font-size: 0.95rem; margin-bottom: 18px; }

.lm-timer { position: relative; width: 92px; height: 92px; margin: 6px auto 16px; }
.lm-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lm-timer circle { fill: none; stroke-width: 3; }
.lm-timer-track { stroke: rgba(201, 169, 110, 0.25); }
.lm-timer-arc { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; animation: lmTimer 5s ease-in-out infinite; }
@keyframes lmTimer { 0% { stroke-dashoffset: 176; } 55%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -176; } }
.lm-timer span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lm-timer b { font-family: var(--font-heading); font-size: 32px; font-weight: 500; line-height: 1; color: var(--gold); }
.lm-timer small { font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--brown); margin-top: 3px; }

.lm-choice { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 14px; }
.lm-chip { position: relative; display: inline-flex; cursor: pointer; }
.lm-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lm-chip span {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(154, 111, 53, 0.3);
  background: #fff;
  font-size: 12.5px;
  color: var(--text-soft);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s, background .35s, color .35s;
}
.lm-chip:hover span { transform: translateY(-2px); border-color: var(--gold-light); box-shadow: 0 10px 22px -14px rgba(154, 111, 53, 0.6); }
.lm-chip input:checked + span { background: var(--gold); border-color: var(--gold); color: #fff; }

.lm-consult-card .cs-consult-form { margin: 0; }
.lm-consult-card .cs-consult-grid { grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.lm-consult-card .cs-field-wide { grid-column: 1 / -1; }
.lm-consult-card .cs-field { gap: 4px; }
.lm-consult-card .cs-label { font-size: 10.5px; }
.lm-consult-card .cs-consult-grid .cs-input.cs-field-input { padding: 8px 12px; min-height: 0; height: 40px; font-size: 13px; }
.lm-consult-card .cs-consult-btn { width: 100%; margin-top: 16px; }

@media (max-width: 980px) {
  .lm-duo { grid-template-columns: 1fr; max-width: 720px; }
}
@media (max-width: 600px) {
  .lm-consult-card { padding: 40px 20px 30px; }
}

/* ── Hero video, rotating word, giveaway counter (Nov 14 2026) ── */
.cs-hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.cs-hero-video.lm-playing { opacity: 1; }
/* A warm shade over the picture instead of a black one */
.cs-hero-overlay { background: linear-gradient(180deg, rgba(58, 44, 30, 0.42) 0%, rgba(58, 44, 30, 0.38) 45%, rgba(58, 44, 30, 0.6) 100%); }

.lm-rotator {
  position: relative;
  height: 1.3em;
  margin: -8px 0 18px;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.3;
  overflow: hidden;
}
.lm-rot-word {
  position: absolute; left: 0; right: 0;
  color: #EBD3A2;
  text-shadow: 0 2px 16px rgba(40, 28, 16, 0.45);
  opacity: 0;
  transform: translateY(70%);
  filter: blur(4px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s;
}
.lm-rot-word.lm-on { opacity: 1; transform: none; filter: none; }
.lm-rot-word.lm-off { opacity: 0; transform: translateY(-70%); filter: blur(4px); }

.lm-entries {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.12);
  color: var(--brown);
  font-size: 13.5px;
}
.lm-entries strong { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 15px; }
.lm-live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.lm-live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); animation: lmPing 2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes lmPing { 75%, 100% { transform: scale(2.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .cs-hero-video { display: none; }
  .lm-rot-word { transition: none; filter: none; }
  .lm-live-dot::after { animation: none; }
}
/* Bright video: a deeper warm shade, and a soft shadow so the words always read */
.cs-hero-overlay { background:
  radial-gradient(ellipse at 50% 48%, rgba(58, 44, 30, 0.38) 0%, rgba(58, 44, 30, 0) 62%),
  linear-gradient(180deg, rgba(58, 44, 30, 0.52) 0%, rgba(58, 44, 30, 0.46) 45%, rgba(58, 44, 30, 0.66) 100%); }
.cs-headline { filter: drop-shadow(0 2px 14px rgba(40, 28, 16, 0.5)); }
.cs-hero .cs-overline, .cs-subheadline { text-shadow: 0 1px 10px rgba(40, 28, 16, 0.6); }
