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

html,
body {
  margin: 0;
  min-height: 100%;
  background: #ffffff;
}

body.lost {
  min-height: 100dvh;
  color: #0a0a0a;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lost__main {
  position: relative;
  display: grid;
  place-items: center;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding: 4.25rem 1.1rem 1.15rem;
}

.lost__scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 34rem);
}

.lost__frame {
  position: relative;
  width: 100%;
  max-height: 46dvh;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
  -webkit-mask-image:
    radial-gradient(
      ellipse 92% 82% at 50% 38%,
      #000 38%,
      rgba(0, 0, 0, 0.5) 66%,
      transparent 100%
    ),
    linear-gradient(to top, transparent 0%, #000 20%, #000 100%);
  mask-image:
    radial-gradient(
      ellipse 92% 82% at 50% 38%,
      #000 38%,
      rgba(0, 0, 0, 0.5) 66%,
      transparent 100%
    ),
    linear-gradient(to top, transparent 0%, #000 20%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.lost__brand {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  transform: translateX(-50%);
}

.lost__brand:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 4px;
  border-radius: 999px;
}

.lost__mark {
  display: block;
  width: 1.85rem;
  height: auto;
}

.lost__word {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lost__stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.lost__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      #ffffff 0%,
      #ffffff 6%,
      rgba(255, 255, 255, 0.82) 14%,
      rgba(255, 255, 255, 0.32) 24%,
      transparent 36%
    ),
    radial-gradient(
      ellipse 72% 68% at 50% 42%,
      transparent 36%,
      rgba(255, 255, 255, 0.18) 58%,
      rgba(255, 255, 255, 0.7) 80%,
      #ffffff 100%
    );
}

.lost__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

.lost__copy {
  position: relative;
  order: -1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto -0.55rem;
  text-align: center;
  animation: lost-in 700ms cubic-bezier(0.32, 0.72, 0, 1) both;
}

.lost__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.lost__title {
  margin: 0;
  font-size: clamp(1.35rem, 5.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.12;
  color: #0a0a0a;
  text-wrap: balance;
}

.lost__hl {
  display: inline;
  background-image: linear-gradient(#ffdd2d, #ffdd2d);
  background-repeat: no-repeat;
  background-size: 100% 0.38em;
  background-position: 0 86%;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lost__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  margin-top: 0.9rem;
  padding: 0.45rem 0.5rem 0.45rem 1.05rem;
  border-radius: 999px;
  background: #0a0a0a;
  color: #ffdd2d;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    transform 220ms cubic-bezier(0.32, 0.72, 0, 1),
    background 220ms ease;
}

.lost__cta:hover {
  transform: translateY(-1px);
  background: #161616;
}

.lost__cta:active {
  transform: scale(0.98);
}

.lost__cta:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 3px;
}

.lost__cta-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: #ffdd2d;
  color: #0a0a0a;
  transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
}

.lost__cta:hover .lost__cta-ico {
  transform: translateX(1px);
}

@keyframes lost-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 820px) {
  .lost__main {
    padding: 5rem 2rem 1.75rem;
  }

  .lost__brand {
    top: 1.4rem;
  }

  .lost__scene {
    width: min(52rem, 86vw);
  }

  .lost__frame {
    max-height: 52dvh;
  }

  .lost__copy {
    max-width: 28rem;
    gap: 0.5rem;
    margin-bottom: -0.7rem;
  }

  .lost__cta {
    margin-top: 1.15rem;
  }
}

@media (max-width: 819px) {
  .lost__frame {
    max-height: 50dvh;
  }

  .lost__title {
    font-size: clamp(1.28rem, 6.2vw, 1.7rem);
  }

  .lost__cta {
    margin-top: 0.85rem;
    min-height: 2.55rem;
  }
}

@media (max-height: 560px) {
  .lost__main {
    height: auto;
    max-height: none;
    min-height: 100dvh;
    overflow: auto;
    padding-top: 3.75rem;
  }

  .lost__frame {
    max-height: 48dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lost__copy,
  .lost__cta,
  .lost__cta-ico {
    animation: none;
    transition: none;
  }
}
