:root {
  --heart-glow: 0.48;
  --heart-scale: 1;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #050607;
  color: #f5f1ea;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
}

.landing {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: end;
  isolation: isolate;
  background: #050607;
}

.hero-image {
  position: absolute;
  inset: -2vmax;
  z-index: -3;
  background-image: url("assets/mechanical-heart-hero.png");
  background-position: 58% center;
  background-size: cover;
  transform: translate3d(0, 0, 0) scale(var(--heart-scale));
  transform-origin: 52% 49%;
  filter: brightness(1) contrast(1.05);
  backface-visibility: hidden;
  will-change: transform;
}

.hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 53% 48%, rgba(202, 42, 45, 0.2), transparent 16%),
    radial-gradient(circle at 53% 48%, rgba(255, 112, 78, 0.14), transparent 28%);
  mix-blend-mode: screen;
  opacity: var(--heart-glow);
  will-change: opacity;
}

.shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.88), rgba(5, 6, 7, 0.45) 42%, rgba(5, 6, 7, 0.2)),
    linear-gradient(0deg, rgba(5, 6, 7, 0.78), transparent 58%),
    radial-gradient(circle at 54% 48%, transparent 0 18%, rgba(5, 6, 7, 0.18) 48%, rgba(5, 6, 7, 0.68));
}

.content {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8vh 0 9vh;
}

.status,
.soon {
  margin: 0;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f06f55;
}

h1 {
  max-width: 10ch;
  margin: 0.18em 0 0;
  font-size: clamp(3.2rem, 12vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.intro {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1.08rem, 2.1vw, 1.45rem);
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.82);
}

.soon {
  margin-top: 2rem;
  color: #f5f1ea;
}

@media (min-width: 760px) {
  .content {
    margin-left: clamp(40px, 7vw, 120px);
  }
}

@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .landing {
    align-items: end;
  }

  .hero-image {
    background-position: 56% center;
  }

  .shade {
    background:
      linear-gradient(0deg, rgba(5, 6, 7, 0.92), rgba(5, 6, 7, 0.38) 62%, rgba(5, 6, 7, 0.18)),
      radial-gradient(circle at 54% 44%, transparent 0 18%, rgba(5, 6, 7, 0.44) 62%, rgba(5, 6, 7, 0.72));
  }

  .content {
    padding-bottom: 7vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --heart-glow: 0.52;
    --heart-scale: 1;
  }
}
