/* ============================================================
   Leap13 — coming-soon page
   ============================================================ */

.page--home {
  position: relative;
  overflow: hidden;
}

/* Animated "leap field" background — decorative, aria-hidden. */
.leap-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.cs-main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--space-6);
  gap: clamp(20px, 3vw, 32px);
}

.cs-eyebrow {
  margin: 0;
  font-size: var(--text-overline);
  font-weight: var(--fw-bold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0;
  animation: l13-fade 800ms var(--ease-standard) 200ms forwards;
}

.cs-headline {
  margin: 0;
  font-size: clamp(52px, 11vw, 148px);
  font-weight: var(--fw-extra);
  letter-spacing: var(--ls-display);
  line-height: 1.02;
}

/* Words never break mid-word; the line may wrap between them. */
.cs-word {
  display: inline-block;
  white-space: nowrap;
}

.cs-letter {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  animation: l13-rise 700ms var(--ease-standard) forwards;
}

/* Per-letter stagger: 350ms + 70ms per letter across "Coming soon". */
.cs-word--1 > .cs-letter:nth-child(1) { animation-delay: 350ms; }
.cs-word--1 > .cs-letter:nth-child(2) { animation-delay: 420ms; }
.cs-word--1 > .cs-letter:nth-child(3) { animation-delay: 490ms; }
.cs-word--1 > .cs-letter:nth-child(4) { animation-delay: 560ms; }
.cs-word--1 > .cs-letter:nth-child(5) { animation-delay: 630ms; }
.cs-word--1 > .cs-letter:nth-child(6) { animation-delay: 700ms; }
.cs-word--2 > .cs-letter:nth-child(1) { animation-delay: 840ms; }
.cs-word--2 > .cs-letter:nth-child(2) { animation-delay: 910ms; }
.cs-word--2 > .cs-letter:nth-child(3) { animation-delay: 980ms; }
.cs-word--2 > .cs-letter:nth-child(4) { animation-delay: 1050ms; }

/* Orbiting dot accent: the Leap13 mark, animated. */
.cs-orbit {
  position: relative;
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.12em;
  opacity: 0;
  animation: l13-fade 700ms var(--ease-standard) 1400ms forwards;
}

.cs-orbit__ring {
  position: absolute;
  left: 8.3%;
  top: 37.5%;
  width: 50%;
  height: 50%;
  border: 0.026em solid var(--color-text);
  border-radius: 50%;
}

.cs-orbit__dots { position: absolute; inset: 0; }

.cs-orbit__dot {
  position: absolute;
  border-radius: 50%;
  background: var(--color-text);
}

.cs-orbit__dot--a {
  left: 25.5%;
  top: 54.7%;
  width: 15.6%;
  height: 15.6%;
  animation: l13-stateA 5s linear infinite;
}

.cs-orbit__dot--b {
  left: 57.3%;
  top: 19.8%;
  width: 31.25%;
  height: 31.25%;
  animation: l13-stateB 5s linear infinite;
}

.cs-mission {
  margin: 0;
  max-width: 460px;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: var(--fw-medium);
  line-height: 1.6;
  color: var(--color-text-muted);
  text-wrap: pretty;
  opacity: 0;
  animation: l13-fade 900ms var(--ease-standard) 1700ms forwards;
}

.cs-email {
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: l13-fade 900ms var(--ease-standard) 1900ms forwards;
}

.page--home .site-header {
  opacity: 0;
  animation: l13-fade 900ms var(--ease-standard) forwards;
}

/* — Keyframes ——————————————————————————————— */

@keyframes l13-rise {
  from { opacity: 0; transform: translateY(0.35em); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes l13-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes l13-stateA {
  0%, 48%  { opacity: 1; }
  50%, 98% { opacity: 0; }
  100%     { opacity: 1; }
}

@keyframes l13-stateB {
  0%, 48%  { opacity: 0; }
  50%, 98% { opacity: 1; }
  100%     { opacity: 0; }
}

/* — Reduced motion: everything resolves to its final state ——— */

@media (prefers-reduced-motion: reduce) {
  .cs-eyebrow,
  .cs-letter,
  .cs-orbit,
  .cs-mission,
  .cs-email,
  .page--home .site-header {
    animation: none;
    opacity: 1;
  }
  /* Rest on the Leap13 mark itself: ring plus outer satellite dot. */
  .cs-orbit__dot--a { animation: none; opacity: 0; }
  .cs-orbit__dot--b { animation: none; opacity: 1; }
}
