:root {
  --ink: #0c1210;
  --fog: #d8e2dc;
  --mist: #a8b8b0;
  --accent: #3d9b7a;
  --accent-hot: #e8f56a;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Cairo", sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--fog);
  background: var(--ink);
  overflow-x: hidden;
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, #1a3d32 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 85%, #142820 0%, transparent 50%),
    linear-gradient(160deg, #0a100e 0%, #0f1a16 45%, #08100c 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -10%;
  left: -5%;
  background: var(--accent);
  animation-duration: 16s;
}

.glow-b {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  bottom: 5%;
  right: -8%;
  background: #2a6b54;
  animation-duration: 12s;
  animation-delay: -4s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(216, 226, 220, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 226, 220, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 75%);
  animation: grid-pulse 8s ease-in-out infinite;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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");
  background-size: 180px 180px;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1.5rem, 5vw, 4rem);
  max-width: 52rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 0.85;
  letter-spacing: 0.06em;
  color: var(--accent-hot);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.headline {
  font-family: var(--font-body);
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--fog);
  margin-top: 0.2em;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.lede {
  margin-top: 1.35rem;
  max-width: 28rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--mist);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(4%, 6%) scale(1.08);
  }
}

@keyframes grid-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.9;
  }
}
