:root {
  --black: #000000;
  --gold: #facc00;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: Inter, Helvetica, Arial, sans-serif;
}

.stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
}

.visual {
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: -5%;
  width: 68%;
  background-image: url("images/Brochure%20XM%20Ecosystem.jpg");
  background-size: 128% 128%;
  background-position: 34% 48%;
  background-repeat: no-repeat;
  box-shadow:
    inset -180px 0 120px 40px #000,
    inset 40px 0 50px -10px rgba(0, 0, 0, 0.35),
    inset 0 50px 40px -10px #000,
    inset 0 -50px 40px -10px #000;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 30%,
    rgba(0, 0, 0, 0.72) 48%,
    rgba(0, 0, 0, 0.28) 62%,
    transparent 78%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 30%,
    rgba(0, 0, 0, 0.72) 48%,
    rgba(0, 0, 0, 0.28) 62%,
    transparent 78%
  );
}

.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.09) 0%,
    rgba(0, 0, 0, 0.16) 28%,
    rgba(0, 0, 0, 0.78) 50%,
    rgba(0, 0, 0, 0.96) 64%,
    #000 76%
  );
}

.brand {
  position: absolute;
  top: 2rem;
  left: 2.25rem;
  z-index: 2;
}

.logo {
  display: block;
  width: 92px;
  height: auto;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.message {
  margin: 0 0 2.1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.message-lead {
  display: block;
  white-space: nowrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12.5rem;
  padding: 0.95rem 1.6rem;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .visual {
    top: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 52%;
    background-size: cover;
    background-position: center 20%;
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 42%,
      rgba(0, 0, 0, 0.5) 68%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 42%,
      rgba(0, 0, 0, 0.5) 68%,
      transparent 100%
    );
  }

  .fade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.11) 0%,
      rgba(0, 0, 0, 0.2) 28%,
      rgba(0, 0, 0, 0.88) 52%,
      #000 70%
    );
  }

  .brand {
    top: 1.25rem;
    left: 1.25rem;
  }

  .hero {
    justify-content: flex-end;
    padding-bottom: 3.5rem;
  }

  .message {
    max-width: 22rem;
  }

  .message-lead {
    white-space: normal;
  }
}
