:root {
  --ink: #0c1f17;
  --field: #143d2b;
  --turf: #1f6b45;
  --line: #c8e6a0;
  --cream: #eef6e8;
  --muted: rgba(238, 246, 232, 0.72);
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Vazirmatn", Tahoma, sans-serif;
}

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

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(31, 107, 69, 0.55), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(20, 61, 43, 0.9), transparent 55%),
    linear-gradient(165deg, #0a1812 0%, var(--field) 45%, #0c1f17 100%);
  animation: wash 14s ease-in-out infinite alternate;
}

.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(200, 230, 160, 0.04) 47px,
      rgba(200, 230, 160, 0.04) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 47px,
      rgba(200, 230, 160, 0.03) 47px,
      rgba(200, 230, 160, 0.03) 48px
    );
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  animation: drift 22s linear infinite;
}

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

.brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: var(--line);
  text-transform: uppercase;
  animation: rise 0.9s ease-out both;
}

h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: rise 0.9s ease-out 0.15s both;
}

.lede {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  animation: rise 0.9s ease-out 0.3s both;
}

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

@keyframes wash {
  from {
    filter: saturate(1) brightness(1);
  }
  to {
    filter: saturate(1.12) brightness(1.06);
  }
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .atmosphere::before,
  .brand,
  h1,
  .lede {
    animation: none;
  }
}
