:root {
  --paper: #fbf7ef;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  width: 100%;
}

body {
  background: #1f211d;
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  inset: 0;
  line-height: 1.5;
  margin: 0;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  position: fixed;
  text-rendering: optimizeLegibility;
  width: 100%;
}

main {
  height: 100%;
  inset: 0;
  overflow: hidden;
  position: fixed;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid rgba(251, 247, 239, 0.9);
  outline-offset: 4px;
}

.launch-cover {
  background: #1f211d;
  color: var(--paper);
  height: 100vh;
  height: 100dvh;
  inset: 0;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  position: fixed;
  touch-action: none;
  width: 100%;
}

.launch-reel,
.launch-frame,
.launch-vignette {
  inset: 0;
  position: absolute;
}

.launch-reel {
  background: #2b2b26;
  overflow: hidden;
  z-index: -2;
}

.launch-frame {
  animation: launchFrame var(--launch-cycle) ease-in-out infinite;
  animation-delay: var(--slide-delay);
  opacity: 0;
}

.launch-frame img {
  filter: brightness(0.9) contrast(1.02) saturate(0.94);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.launch-vignette {
  background:
    linear-gradient(90deg, rgba(16, 17, 14, 0.62), rgba(16, 17, 14, 0.2) 45%, rgba(16, 17, 14, 0.38)),
    linear-gradient(0deg, rgba(16, 17, 14, 0.5), rgba(16, 17, 14, 0.06) 48%, rgba(16, 17, 14, 0.35));
  z-index: -1;
}

.launch-shell {
  display: grid;
  gap: clamp(1rem, 3vh, 2rem);
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2rem);
}

.launch-brand {
  align-self: start;
  font-size: clamp(2.15rem, 4.6vw, 4.3rem);
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0;
}

.launch-copy {
  align-self: center;
  max-width: min(43rem, 100%);
  padding-block: 0;
}

.launch-kicker {
  color: rgba(251, 247, 239, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
}

.launch-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8.6vw, 8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  margin: clamp(0.8rem, 2vw, 1.4rem) 0 clamp(1.1rem, 2.5vw, 1.8rem);
  max-width: 12ch;
}

.launch-copy p:not(.launch-kicker) {
  color: rgba(251, 247, 239, 0.88);
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.5;
  margin: 0;
  max-width: 31rem;
}

.launch-email {
  border-bottom: 1px solid rgba(251, 247, 239, 0.72);
  display: inline-flex;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.2;
  margin-top: clamp(1.2rem, 3vw, 2rem);
  overflow-wrap: anywhere;
  padding-bottom: 0.25rem;
  touch-action: manipulation;
}

.launch-email:hover {
  border-color: var(--paper);
}

@keyframes launchFrame {
  0% {
    opacity: 1;
    transform: scale(1.025);
  }

  7.4% {
    opacity: 1;
  }

  9.2%,
  100% {
    opacity: 0;
    transform: scale(1.08) translateX(-1.2%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-frame {
    animation: none !important;
    opacity: 0;
    transform: none;
  }

  .launch-frame:first-child {
    opacity: 1;
  }
}

@media (max-width: 680px) {
  .launch-vignette {
    background:
      linear-gradient(0deg, rgba(16, 17, 14, 0.68), rgba(16, 17, 14, 0.16) 45%, rgba(16, 17, 14, 0.36)),
      linear-gradient(90deg, rgba(16, 17, 14, 0.52), rgba(16, 17, 14, 0.12));
  }

  .launch-copy {
    align-self: end;
    padding-bottom: clamp(0.2rem, 2vh, 1rem);
  }

  .launch-copy h1 {
    font-size: clamp(2.45rem, 13vw, 4.45rem);
    max-width: 10ch;
  }

  .launch-copy p:not(.launch-kicker) {
    font-size: clamp(0.9rem, 4vw, 1.04rem);
    line-height: 1.42;
    max-width: 28rem;
  }

  .launch-brand {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .launch-email {
    font-size: clamp(0.95rem, 4vw, 1.08rem);
    margin-top: clamp(0.9rem, 3vh, 1.4rem);
  }
}
