:root {
  --background: #F5F4F0;
  --text: #171717;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.coming-soon {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* -------------------------
   Animated background
-------------------------- */

.coming-soon::before {
  content: "";
  position: absolute;
  inset: -30%;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.8),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(220, 216, 205, 0.55),
      transparent 32%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(255, 255, 255, 0.6),
      transparent 30%
    );

  filter: blur(50px);

  animation: backgroundDrift 16s ease-in-out infinite alternate;

  z-index: -2;
}

.ambient {
  position: absolute;
  width: 35vw;
  height: 35vw;
  min-width: 250px;
  min-height: 250px;

  border-radius: 50%;

  filter: blur(100px);

  opacity: 0.18;

  pointer-events: none;

  z-index: -1;
}

.ambient-one {
  top: -15%;
  left: -10%;
  background: #ffffff;

  animation: floatOne 18s ease-in-out infinite alternate;
}

.ambient-two {
  right: -10%;
  bottom: -20%;
  background: #d8d4ca;

  animation: floatTwo 22s ease-in-out infinite alternate;
}

/* -------------------------
   Main content
-------------------------- */

.content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  transform: translateY(-2%);
}

/* -------------------------
   Logo
-------------------------- */

.logo-wrapper {
  width: min(180px, 35vw);

  display: flex;
  justify-content: center;
  align-items: center;

  animation: logoEnter 0.9s cubic-bezier(.22, 1, .36, 1) both;
}

.logo {
  width: 100%;
  height: auto;
  display: block;

  /*
    The SVG itself contains the artwork.
    We keep it crisp and let the SVG's internal
    stroke animation handle the drawing effect.
  */

  animation:
    logoFloat 7s ease-in-out 3s infinite;
}

/* -------------------------
   Typography
-------------------------- */

.copy {
  margin-top: 34px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin: 0;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.28em;

  opacity: 0;

  animation:
    fadeUp 0.8s ease 2.1s forwards;
}

h1 {
  margin: 13px 0 0;

  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;

  letter-spacing: 0.16em;

  opacity: 0;

  animation:
    fadeUp 0.9s ease 2.3s forwards;
}

.description {
  margin: 14px 0 0;

  font-size: 13px;
  line-height: 1.6;

  letter-spacing: 0.02em;

  opacity: 0;

  animation:
    fadeUp 0.9s ease 2.5s forwards;
}

/* -------------------------
   Footer
-------------------------- */

.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;

  display: flex;
  justify-content: center;

  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  opacity: 0.35;
}

/* -------------------------
   Animations
-------------------------- */

@keyframes backgroundDrift {
  from {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }

  to {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
}

@keyframes floatOne {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(18vw, 10vh);
  }
}

@keyframes floatTwo {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-15vw, -12vh);
  }
}

@keyframes logoEnter {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------
   Mobile
-------------------------- */

@media (max-width: 600px) {

  .logo-wrapper {
    width: 135px;
  }

  .copy {
    margin-top: 27px;
  }

  .description {
    font-size: 12px;
    padding: 0 30px;
  }

  .footer {
    bottom: 20px;
  }
}

/* -------------------------
   Accessibility
-------------------------- */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}