:root {
  color-scheme: light;
  --canvas: #eee1cf;
  --burgundy: #823e4d;
  --ink: #493039;
  --quiet-line: rgb(130 62 77 / .19);
}

* { box-sizing: border-box; }

html { background: var(--canvas); }
body {
  margin: 0;
  color: var(--ink);
  font: 16px / 1.55 Commissioner, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.launch {
  position: relative;
  isolation: isolate;
  background: var(--canvas);
  display: grid;
  grid-template-rows: 1fr auto;
  min-block-size: 100vh;
  min-block-size: 100svh;
  padding: clamp(25px, 5vh, 70px) 20px 24px;
  overflow: clip;
  text-align: center;
}

.launch::before,
.launch::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: -12%;
  width: max(45vw, 190px);
  height: 124%;
  border: 1px solid var(--quiet-line);
  border-radius: 50%;
  pointer-events: none;
}

.launch::before { left: -37vw; transform: rotate(16deg); }
.launch::after { right: -37vw; transform: rotate(-16deg); }

.launch-content { align-self: center; }

.launch-brand {
  position: relative;
  width: min(74vw, 46vh, 370px);
  aspect-ratio: 1200 / 970;
  overflow: hidden;
  margin-inline: auto;
}

.launch-logo,
.launch-wordmark img {
  position: absolute;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  height: auto;
}

.launch-logo {
  transform: translateY(-6.8%);
  transition: opacity 240ms ease;
}

.launch-animation {
  position: absolute;
  inset: 0;
  display: none;
}

[data-launch-intro] .launch-animation { display: block; }
[data-launch-intro] .launch-logo { opacity: 0; }

.launch-symbol {
  position: relative;
  aspect-ratio: 1180 / 680;
}

.launch-symbol video {
  display: block;
  width: 100%;
  height: 100%;
  visibility: hidden;
  mix-blend-mode: darken;
}

[data-launch-intro="video"] video { visibility: visible; }

[data-launch-intro="svg"] .launch-symbol::after {
  content: "";
  position: absolute;
  inset: 7.5% auto auto 9.4%;
  width: 82.2%;
  aspect-ratio: 970 / 615;
  background: center / contain no-repeat url("/wp-content/mu-plugins/glowstudio-migration/desktop-home/lotus-animated.svg");
}

.launch-wordmark {
  position: relative;
  margin-block-start: .5%;
  aspect-ratio: 1200 / 245;
  overflow: hidden;
  opacity: 0;
}

.launch-wordmark img { transform: translateY(-64.75%); }

[data-launch-intro="video"] .launch-wordmark,
[data-launch-intro="svg"] .launch-wordmark {
  animation: reveal-wordmark 360ms ease-out 2050ms both;
}

@keyframes reveal-wordmark {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.launch-message {
  max-width: 620px;
  margin: clamp(25px, 4.8vh, 54px) auto 0;
}

.launch-message,
.launch-signoff {
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-launch-intro] :is(.launch-message, .launch-signoff) {
  opacity: 0;
  transform: translateY(8px);
}

.invitation {
  margin: 0 0 10px;
  color: var(--burgundy);
  font-size: 15px;
  font-weight: 600;
}

h1 {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-size: clamp(34px, 4.6vw, 63px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.description { margin: 0 auto; max-width: 36ch; font-size: clamp(15px, 1.3vw, 18px); }

.launch-signoff {
  justify-self: center;
  margin-top: clamp(32px, 7vh, 75px);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .launch-logo, .launch-message, .launch-signoff { transition: none; }
  .launch-wordmark { animation: none; }
}
