/*
  Teaser — futuristic depth (aurora mesh, grid, grain) + cinematic minimalist hero type:
  Montserrat ultralight, uppercase, extreme tracking on white.
*/

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

html {
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #070810;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

.hero__layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__layer--depth {
  background:
    radial-gradient(ellipse 100% 80% at 50% -10%, #12182a 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 80% 110%, #0c1018 0%, transparent 50%),
    linear-gradient(180deg, #05060a 0%, #09090b 38%, #070810 100%);
}

.hero__layer--mesh {
  inset: -35%;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  transform: translateZ(0);
  will-change: transform;
  opacity: 0.72;
}

.hero__orb--violet {
  width: min(72vmin, 520px);
  height: min(72vmin, 520px);
  left: -8%;
  top: 18%;
  background: radial-gradient(circle at 35% 35%, rgba(167, 139, 250, 0.55) 0%, rgba(139, 92, 246, 0.15) 45%, transparent 72%);
  animation: orbDriftA 22s ease-in-out infinite;
}

.hero__orb--cyan {
  width: min(62vmin, 460px);
  height: min(62vmin, 460px);
  right: -12%;
  top: 8%;
  background: radial-gradient(circle at 40% 40%, rgba(125, 211, 252, 0.38) 0%, rgba(56, 189, 248, 0.12) 50%, transparent 70%);
  animation: orbDriftB 26s ease-in-out infinite;
}

.hero__orb--blue {
  width: min(85vmin, 620px);
  height: min(85vmin, 620px);
  left: 22%;
  bottom: -28%;
  background: radial-gradient(circle at 50% 40%, rgba(96, 165, 250, 0.28) 0%, rgba(59, 130, 246, 0.08) 48%, transparent 72%);
  animation: orbDriftC 30s ease-in-out infinite;
}

.hero__orb--rose {
  width: min(48vmin, 360px);
  height: min(48vmin, 360px);
  left: 42%;
  top: 52%;
  background: radial-gradient(circle at 50% 50%, rgba(251, 207, 232, 0.14) 0%, rgba(244, 114, 182, 0.06) 55%, transparent 72%);
  animation: orbDriftD 24s ease-in-out infinite;
}

.hero__layer--sheen {
  background:
    radial-gradient(ellipse 55% 40% at 50% 35%, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
  mix-blend-mode: overlay;
  opacity: 0.7;
}

.hero__layer--grid {
  opacity: 0.045;
  background-image:
    linear-gradient(rgba(228, 232, 240, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 232, 240, 0.35) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 72% 62% at 50% 42%, #000 16%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 42%, #000 16%, transparent 72%);
  transform: perspective(640px) rotateX(58deg) scale(1.35);
  transform-origin: center 42%;
}

.hero__layer--vignette {
  background: radial-gradient(
    ellipse 62% 52% at 50% 46%,
    transparent 0%,
    transparent 38%,
    rgba(0, 0, 0, 0.42) 72%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.hero__layer--grain {
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: min(96vw, 56rem);
  animation: heroEnter 1.1s ease-out both;
}

.hero-title {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", "Futura", "Helvetica Neue", sans-serif;
  font-weight: 200;
  font-size: clamp(1.05rem, 2.75vw + 0.58rem, 1.62rem);
  line-height: 1.52;
  text-transform: uppercase;
  letter-spacing: clamp(0.28em, 2.5vw, 0.66em);
  color: #ffffff;
  text-shadow: 0 0 48px rgba(0, 0, 0, 0.48), 0 2px 22px rgba(0, 0, 0, 0.5);
}

.hero-title__line {
  display: block;
  margin-right: clamp(-0.28em, -2.5vw, -0.66em);
}

.hero-title__line + .hero-title__line {
  margin-top: clamp(0.35rem, 1.2vw, 0.65rem);
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes orbDriftA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(7%, -5%) scale(1.06);
  }
}

@keyframes orbDriftB {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-9%, 8%) scale(1.05);
  }
}

@keyframes orbDriftC {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-5%, -7%) scale(1.08);
  }
}

@keyframes orbDriftD {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(12%, -10%);
  }
  66% {
    transform: translate(-8%, 6%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content {
    animation: none;
  }

  .hero__orb {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: clamp(0.18em, 1.6vw, 0.34em);
    font-size: clamp(0.98rem, 2.4vw + 0.72rem, 1.28rem);
  }

  .hero-title__line {
    margin-right: clamp(-0.18em, -1.6vw, -0.34em);
  }
}

@media (max-width: 520px) {
  .hero__layer--grid {
    opacity: 0.03;
    background-size: 44px 44px;
  }
}
