:root {
  --cream: #f7f3ea;
  --champagne: #f1c49f;
  --wine: #b95f63;
  --night: #0a2022;
}

* { box-sizing: border-box; }

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

body {
  background: var(--night);
  color: var(--cream);
  font-family: "Manrope", Arial, sans-serif;
}

.landing {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr;
  padding: clamp(26px, 5vw, 72px) clamp(24px, 6vw, 96px);
}

.backdrop,
.veil {
  position: absolute;
  inset: 0;
}

.backdrop {
  z-index: -3;
  background: url("./assets/juship-hero.webp") center center / cover no-repeat;
  transform: scale(1.015);
}

.veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 24, 27, .92) 0%, rgba(5, 24, 27, .72) 34%, rgba(5, 24, 27, .25) 51%, rgba(5, 24, 27, .04) 66%, rgba(5, 24, 27, .16) 100%),
    linear-gradient(0deg, rgba(5, 20, 22, .48), transparent 52%, rgba(5, 20, 22, .12));
}

.message {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(660px, 48vw);
  padding: clamp(54px, 8vh, 104px) 0;
}

.message::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(transparent, rgba(241, 196, 159, .78), transparent);
}

h1 {
  margin: 0;
  color: var(--champagne);
  font-size: clamp(4.1rem, 7vw, 7.45rem);
  font-weight: 620;
  letter-spacing: -.072em;
  line-height: .86;
  text-wrap: balance;
  text-shadow: 0 18px 54px rgba(0, 0, 0, .28);
}

h1 span {
  display: block;
  margin-left: .42em;
  color: #f8ddd0;
  font-weight: 670;
}

.summary {
  max-width: 490px;
  margin: 38px 0 0;
  color: rgba(247, 243, 234, .8);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.soon {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 36px 0 0;
  padding: 11px 16px;
  border: 1px solid rgba(241, 196, 159, .28);
  border-radius: 999px;
  color: rgba(247, 243, 234, .92);
  background: rgba(7, 28, 30, .24);
  backdrop-filter: blur(10px);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.soon span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 5px rgba(185, 95, 99, .15);
}

@media (max-width: 700px) {
  .landing {
    min-height: 100svh;
    padding: 28px 24px;
  }

  .backdrop {
    background-position: 56% center;
  }

  .veil {
    background:
      linear-gradient(90deg, rgba(5, 24, 27, .9), rgba(5, 24, 27, .38)),
      linear-gradient(0deg, rgba(5, 20, 22, .72), transparent 62%, rgba(5, 20, 22, .2));
  }

  .message {
    align-self: center;
    width: min(100%, 540px);
    padding: 18vh 0 11vh;
  }

  .message::before {
    left: -12px;
    top: 16%;
    bottom: 16%;
  }

  h1 {
    font-size: clamp(3.9rem, 17vw, 5.5rem);
  }

  h1 span {
    margin-left: .18em;
  }

  .summary {
    max-width: 370px;
    margin-top: 30px;
    font-size: 1rem;
  }

  .soon {
    margin-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .backdrop { transform: none; }
}
