/** ============= **/
/**  HOME / HERO  **/
/** ============= **/

.hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
  height: min(70vh, 500px);
  padding: 3rem;
  overflow: hidden;
  max-width: none;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  animation: hero-bg-zoom 10s ease-in-out infinite alternate;
  transition: all 0.3s;
}

.hero-bottom {
  transform: rotate(180deg);
  filter: var(--hero-filter);
  width: 100%;
  height: 80px;
  position: absolute;
  bottom: -0.4rem;
  left: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
  animation: hero-kenburns 15s ease-in-out infinite alternate;
  transform-origin: center center;
}
.hero-content::before {
  content: "";
  position: absolute;
  inset: -10% -25% -5% -25%;
  background: radial-gradient(circle at 50% 50%, rgb(0, 0, 0), transparent 30%);
  filter: blur(28px);
  opacity: 100%;
  z-index: -2;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  width: fit-content;
  max-width: min(60vw, 600px);
  margin-inline: auto;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.hero-content::after {
  content: "";
  position: absolute;
  inset: 55% -20% -10%;
  background: radial-gradient(
    70% 120% at 50% 0%,
    color-mix(in srgb, var(--primary) 45%, transparent) 0%,
    transparent 80%
  );
  filter: blur(20px);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.hero h1,
.hero p {
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: auto;
  font-weight: 900;
  text-shadow: 0 2px 10px rgb(0, 0, 0);
}

.hero p {
  font-family: "Lato", sans-serif;
  font-size: 1.8rem;
  font-style: bold;
  margin-bottom: auto;
  font-weight: 640;
  letter-spacing: 0.02em;
  max-width: 600px;
  margin-inline: auto;
  opacity: 100%;
}
