:root {
  color-scheme: light;
  --navy: #102d50;
  --ink: #101820;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  background: #ffffff;
}

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(55rem, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 45, 80, 0.035), transparent 65%);
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: ambient-shift 12s ease-in-out infinite alternate;
}

.coming-soon {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem) 1.5rem;
  text-align: center;
}

.coming-soon__inner {
  display: flex;
  width: min(100%, 58rem);
  flex-direction: column;
  align-items: center;
}

.logo-mark {
  position: relative;
  display: grid;
  width: clamp(5.75rem, 10vw, 8rem);
  aspect-ratio: 1;
  margin-bottom: clamp(3rem, 8vh, 5rem);
  place-items: center;
  animation: enter 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-mark::before,
.logo-mark::after {
  position: absolute;
  inset: -0.7rem;
  border: 1px solid rgba(16, 45, 80, 0.12);
  border-radius: 50%;
  content: "";
  animation: ripple 3.6s ease-out 1s infinite;
}

.logo-mark::after {
  animation-delay: 2.8s;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: float 4.5s ease-in-out 0.8s infinite;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  animation: enter 700ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow::before,
.eyebrow::after {
  width: 2.25rem;
  height: 1px;
  content: "";
  background: #d9dee4;
  transform-origin: center;
  animation: line-open 800ms 450ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow span {
  display: none;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.2rem, 9.5vw, 7.75rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-wrap: balance;
}

h1 span,
h1 em {
  display: block;
  animation: enter 750ms 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 em {
  color: var(--navy);
  font-style: normal;
  font-weight: 700;
  animation-delay: 260ms;
  background: linear-gradient(100deg, var(--navy) 35%, #7392b2 50%, var(--navy) 65%);
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    enter 750ms 260ms cubic-bezier(0.22, 1, 0.36, 1) both,
    sheen 7s 2.5s ease-in-out infinite;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.45rem);
  }
}

@keyframes ripple {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }
  25% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes line-open {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes sheen {
  0%,
  72%,
  100% {
    background-position: 100% center;
  }
  86% {
    background-position: 0 center;
  }
}

@keyframes ambient-shift {
  from {
    transform: translate(-53%, -48%) scale(0.94);
  }
  to {
    transform: translate(-47%, -52%) scale(1.06);
  }
}

@media (max-width: 40rem) {
  .coming-soon {
    padding-inline: 1.25rem;
  }

  .logo-mark {
    margin-bottom: 3rem;
  }

  h1 {
    letter-spacing: -0.06em;
    line-height: 0.94;
  }
}

@media (max-height: 38rem) and (orientation: landscape) {
  .logo-mark {
    width: 4.75rem;
    margin-bottom: 1.75rem;
  }

  .eyebrow {
    margin-bottom: 1rem;
  }

  h1 {
    font-size: clamp(2.75rem, 12vh, 4.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
