@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --charcoal: #1f1722;
  --warm-white: #ffeadd;
  --blush: #ff9da8;
  --page-inset: clamp(1.5rem, 5.2vw, 6.5rem);
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--warm-white);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button {
  font: inherit;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--blush);
  color: var(--charcoal);
}

.coming-soon {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(2.25rem, env(safe-area-inset-top)) var(--page-inset)
    max(3.5rem, env(safe-area-inset-bottom));
  overflow: clip;
}

.backdrop,
.backdrop::after,
.backdrop__poster,
.backdrop__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.backdrop {
  z-index: -1;
  background: var(--charcoal);
}
.backdrop__poster,
.backdrop__video {
  object-fit: cover;
}
.backdrop__video {
  opacity: 0;
}
.backdrop__video.is-playing {
  opacity: 1;
}
.backdrop::after {
  content: "";
  background:
    linear-gradient(0deg, rgb(31 23 34 / 44%), transparent 48%),
    linear-gradient(
      28deg,
      rgb(20 14 23 / 96%) 0%,
      rgb(20 14 23 / 77%) 22%,
      rgb(20 14 23 / 25%) 55%,
      rgb(20 14 23 / 8%) 100%
    ),
    linear-gradient(180deg, rgb(20 14 23 / 48%), transparent 25%);
}

.brand {
  display: flex;
  align-items: center;
}
.brand img {
  display: block;
  width: clamp(9rem, 13vw, 11.875rem);
  height: auto;
}
.introduction {
  margin-top: 8rem;
  max-width: 56rem;
}
h1 {
  margin: 0;
  font-size: clamp(3.75rem, 7.5vw, 7.75rem);
  line-height: 0.99;
  font-weight: 650;
  text-wrap: balance;
  font-optical-sizing: auto;
}
.description {
  margin: 1.75rem 0 0;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.45;
  font-weight: 400;
  max-width: 33rem;
}
.outlook {
  margin: 3rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(255 234 221 / 80%);
}
.outlook span {
  display: inline-block;
}

.playback {
  position: absolute;
  right: var(--page-inset);
  bottom: max(3.5rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 44px;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgb(255 234 221 / 32%);
  border-radius: 0;
  background: rgb(31 23 34 / 45%);
  color: var(--warm-white);
  font-size: 0.8125rem;
  cursor: pointer;
}
.playback:hover {
  background: rgb(31 23 34 / 80%);
  border-color: var(--warm-white);
}
.playback:focus-visible {
  outline: 2px solid var(--blush);
  outline-offset: 5px;
}
.playback__pause {
  width: 10px;
  height: 12px;
  border-inline: 3px solid currentColor;
}
.playback__play {
  display: none;
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-left: 10px solid currentColor;
}
.playback.is-paused .playback__pause {
  display: none;
}
.playback.is-paused .playback__play {
  display: block;
}

@media (max-width: 700px) {
  .coming-soon {
    padding-top: max(1.75rem, env(safe-area-inset-top));
    padding-bottom: max(6.5rem, calc(env(safe-area-inset-bottom) + 5rem));
  }
  h1 {
    font-size: clamp(2.9rem, 11.8vw, 5rem);
  }
  .description {
    margin-top: 1.5rem;
    max-width: 23rem;
  }
  .desktop-break {
    display: none;
  }
  .outlook {
    margin-top: 2rem;
    max-width: 19rem;
    font-size: 0.875rem;
  }
  .playback {
    bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  .backdrop::after {
    background:
      linear-gradient(
        0deg,
        rgb(20 14 23 / 96%) 0%,
        rgb(20 14 23 / 78%) 30%,
        rgb(20 14 23 / 16%) 80%
      ),
      linear-gradient(180deg, rgb(20 14 23 / 50%), transparent 30%);
  }
}

@media (max-height: 550px) and (min-width: 701px) {
  .coming-soon {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .introduction {
    margin-top: 3rem;
  }
  h1 {
    font-size: 3.75rem;
  }
  .description {
    margin-top: 1rem;
    font-size: 1.125rem;
  }
  .outlook {
    margin-top: 1.5rem;
  }
  .playback {
    bottom: 1.5rem;
  }
}
