:root {
  --orange: #EFA132;
  --purple: #402CA9;
  --red: #B11E2E;
  --wine: #92135A;
  --cream: #F5F2DE;
  --ink: #151515;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--purple);
  color: var(--cream);
  overflow-x: hidden;
}

body::selection {
  background: var(--orange);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 24px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.08), transparent 18%),
    linear-gradient(145deg, #352392 0%, var(--purple) 48%, #4b36bd 100%);
}

.hero__content {
  position: relative;
  z-index: 5;
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 42px;
  background: rgba(18, 11, 65, .18);
  box-shadow: 0 30px 90px rgba(10, 4, 42, .28);
  backdrop-filter: blur(14px);
}

.logo {
  width: min(100%, 360px);
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.22));
  animation: float 5s ease-in-out infinite;
}

.copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--orange);
  color: #2f2108;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(177,30,46,.6);
  animation: pulse 1.8s infinite;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: .88;
  letter-spacing: -.055em;
  font-weight: 900;
  text-wrap: balance;
}

h1 span {
  color: var(--orange);
}

.subtitle {
  margin: 24px 0 0;
  max-width: 54ch;
  color: rgba(245,242,222,.78);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.55;
  font-weight: 700;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 15px 22px;
  border-radius: 16px;
  background: var(--orange);
  color: #2b1b8d;
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(10, 4, 42, .22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(10, 4, 42, .3);
  filter: brightness(1.05);
}

.cta:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

.footer-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  color: rgba(245,242,222,.65);
  font-size: .9rem;
  font-weight: 800;
}

.separator {
  color: var(--orange);
}

.blob {
  position: absolute;
  z-index: 1;
  border-radius: 44% 56% 58% 42% / 43% 42% 58% 57%;
  filter: saturate(1.08);
  will-change: transform;
}

.blob-orange {
  width: 48vw;
  height: 46vw;
  min-width: 520px;
  min-height: 500px;
  left: -18vw;
  top: -18vw;
  background: var(--orange);
  transform: rotate(16deg);
}

.blob-purple {
  width: 34vw;
  height: 34vw;
  right: -18vw;
  top: 8vh;
  background: #2b1b8d;
  transform: rotate(-20deg);
}

.blob-red {
  width: 46vw;
  height: 42vw;
  right: -12vw;
  bottom: -20vw;
  background: var(--red);
  transform: rotate(10deg);
}

.blob-wine {
  width: 30vw;
  height: 28vw;
  left: 5vw;
  bottom: -17vw;
  background: var(--wine);
  transform: rotate(-22deg);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(177,30,46,.55); }
  70% { box-shadow: 0 0 0 8px rgba(177,30,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(177,30,46,0); }
}

@media (max-width: 780px) {
  .hero {
    padding: 22px 16px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
    padding: 30px 20px;
    border-radius: 30px;
  }

  .logo {
    width: min(58vw, 260px);
  }

  .copy {
    justify-self: center;
  }

  .eyebrow {
    margin-bottom: 16px;
  }

  h1 {
    max-width: 12ch;
    margin-inline: auto;
    font-size: clamp(2.65rem, 13vw, 4.8rem);
  }

  .subtitle {
    margin-inline: auto;
    font-size: .98rem;
  }

  .footer-note {
    flex-wrap: wrap;
    margin-top: 12px;
  }

  .blob-orange {
    width: 90vw;
    height: 85vw;
    min-width: 0;
    min-height: 0;
    left: -52vw;
    top: -22vw;
  }

  .blob-red {
    width: 88vw;
    height: 84vw;
    right: -46vw;
    bottom: -30vw;
  }

  .blob-wine {
    width: 60vw;
    height: 55vw;
    left: -18vw;
    bottom: -30vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
