@font-face {
  font-family: "Boris Condensed";
  src: url("../coming-soon/roboto-condensed-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

body.placeholder-page {
  display: block;
  padding: 0;
}

body.launch-locked {
  overflow: hidden;
}

.launch-splash {
  --launch-red: #ae1e25;
  --launch-paper: #fff9f5;
  --launch-blue: #007393;
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--launch-red);
  color: var(--launch-paper);
  font-family: "Boris Condensed", "Arial Narrow", Arial, sans-serif;
  line-height: 1;
}

.launch-splash.is-running {
  position: fixed;
  inset: 0;
  z-index: 100;
  height: 100svh;
  min-height: 100svh;
  transform: translateY(0);
  will-change: transform;
}

.launch-splash.is-leaving {
  transform: translateY(-105%);
  transition: transform 640ms cubic-bezier(0.76, 0, 0.24, 1);
}

.launch-splash.is-instant {
  opacity: 0;
  transform: none;
  transition: opacity 30ms linear;
}

.launch-copy {
  position: absolute;
  z-index: 3;
  top: max(38px, 7.5svh);
  left: 50%;
  width: min(90vw, 920px);
  transform: translateX(-50%);
  text-align: center;
}

.launch-kicker {
  display: block;
  margin-bottom: clamp(10px, 1.5svh, 18px);
  font-family: Arial, sans-serif;
  font-size: clamp(0.68rem, 0.8vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.launch-copy h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 4.9vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

.launch-sequence {
  position: absolute;
  z-index: 4;
  top: 42%;
  left: 50%;
  width: min(82vw, 760px);
  transform: translate(-50%, -50%);
  text-align: center;
}

.launch-morph {
  min-height: 1.05em;
  margin: 0;
  color: var(--launch-paper);
  font-size: clamp(3rem, 7.2vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.launch-meter {
  position: relative;
  width: min(100%, 560px);
  height: 4px;
  margin: clamp(24px, 4svh, 42px) auto 0;
  overflow: visible;
  background: rgb(255 249 245 / 24%);
}

.launch-meter-fill {
  position: absolute;
  inset: 0;
  background: var(--launch-paper);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 2150ms linear; /* one steady fill, no jumps, no marker */
}

.launch-meter-meta {
  display: flex;
  justify-content: space-between;
  width: min(100%, 560px);
  margin: 12px auto 0;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launch-meter-meta output {
  min-width: 3ch;
  font: inherit;
  text-align: right;
}

.launch-portrait {
  position: absolute;
  z-index: 2;
  bottom: -1px;
  left: 50%;
  width: clamp(250px, min(30vw, 43svh), 530px);
  max-width: none;
  height: auto;
  opacity: 0.94;
  transform: translateX(-50%);
  user-select: none;
  pointer-events: none;
}

.launch-skip {
  position: absolute;
  z-index: 6;
  top: max(18px, env(safe-area-inset-top));
  right: clamp(18px, 3vw, 42px);
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgb(255 249 245 / 48%);
  border-radius: 0;
  background: transparent;
  color: var(--launch-paper);
  font: 700 0.72rem/1 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.74;
  transition: opacity 150ms ease-out;
}

.launch-skip:hover,
.launch-skip:focus-visible {
  opacity: 1;
}

.launch-skip:focus-visible {
  outline: 2px solid var(--launch-paper);
  outline-offset: 5px;
}

@media (max-width: 680px) {
  .launch-copy {
    top: max(54px, calc(env(safe-area-inset-top) + 36px));
    width: calc(100% - 38px);
  }

  .launch-copy h1 {
    font-size: clamp(1.75rem, 9.2vw, 3.15rem);
  }

  .launch-kicker {
    font-size: 0.63rem;
  }

  .launch-sequence {
    top: 40%;
    width: calc(100% - 38px);
  }

  .launch-morph {
    font-size: clamp(2.65rem, 14vw, 4.45rem);
    letter-spacing: -0.025em;
  }

  .launch-meter {
    margin-top: 24px;
  }

  .launch-portrait {
    width: min(92vw, 430px);
  }

  .launch-skip {
    top: max(12px, env(safe-area-inset-top));
    right: 14px;
    font-size: 0.64rem;
  }
}

@media (max-height: 650px) and (min-width: 681px) {
  .launch-copy {
    top: 28px;
  }

  .launch-copy h1 {
    font-size: clamp(2rem, 4.2vw, 3.7rem);
  }

  .launch-sequence {
    top: 43%;
  }

  .launch-portrait {
    width: min(34vw, 44svh);
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-splash.is-leaving,
  .launch-meter-fill,
  .launch-skip {
    transition-duration: 0.01ms;
  }
}
