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

:root {
  --brand-white: #ffffff;
  --shadow-deep: rgba(12, 18, 28, 0.72);
  --shadow-soft: rgba(12, 18, 28, 0.35);
}

html,
body {
  height: 100%;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--brand-white);
  background-color: #1a2433;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  width: 100%;
  background-image: url("assets/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: hero-settle 1.4s ease-out both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 55% at 50% 48%,
    rgba(10, 16, 28, 0.28) 0%,
    rgba(10, 16, 28, 0.08) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand-white);
  text-shadow:
    0 2px 4px var(--shadow-deep),
    0 8px 28px var(--shadow-soft),
    0 0 60px rgba(0, 0, 0, 0.25);
  animation: brand-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

@keyframes hero-settle {
  from {
    transform: scale(1.04);
    filter: brightness(0.85);
  }
  to {
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes brand-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
    letter-spacing: 0.04em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.03em;
  }
}

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