/* ==========================================================================
   index.html — the landing page
   ========================================================================== */


.scene .stage {
  opacity: 0;
  transition: opacity .35s ease;
}

.is-ready .scene .stage { opacity: 1; }

.brand {
  font: 700 calc(40 * var(--px))/1 var(--hand);
  color: var(--rose);
  text-align: center;
}

.tagline {
  font: 700 calc(11.5 * var(--px))/1.3 var(--ui);
  letter-spacing: .14em;
  text-align: center;
  color: rgba(107, 58, 34, .7);
}

.sticker {
  pointer-events: none;
  filter: drop-shadow(0 1px 1.5px rgba(var(--shadow), .22));
}

/* the closed box, gently bobbing */
.landing-box {
  transform-origin: calc(195 * var(--px)) calc(318 * var(--px));
  animation: bob 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 calc(-6 * var(--px)); }
}

.main-btn { text-decoration: none; }
.main-btn > span { font-size: 15cqw; }
.main-btn.is-long > span { font-size: 12.5cqw; }   /* "continue your box" */

.quiet {
  display: block;
  min-height: 44px;
  font: 600 calc(19 * var(--px))/44px var(--hand);
  color: rgba(107, 58, 34, .72);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(107, 58, 34, .3);
}

@media (prefers-reduced-motion: reduce) {
  .landing-box { animation: none; }
}
