:root {
  --forest: #1b4d3e;
  --forest-deep: #0f2e25;
  --forest-mid: #246b56;
  --amber: #e8a838;
  --amber-soft: #f0c46a;
  --fog: #d8e6df;
  --ink: #12241e;
  --cream-fog: #eef5f1;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream-fog);
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  line-height: 1.55;
  background: var(--forest-deep);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 15% -10%, rgba(232, 168, 56, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(36, 107, 86, 0.55), transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 110%, rgba(15, 46, 37, 0.95), transparent 45%),
    linear-gradient(165deg, #163a30 0%, var(--forest-deep) 42%, #0a1f19 100%);
}

.mist {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: drift 18s var(--ease) infinite alternate;
}

.mist-a {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  top: 8%;
  left: -8%;
  background: rgba(36, 107, 86, 0.55);
}

.mist-b {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  bottom: 12%;
  right: -6%;
  background: rgba(232, 168, 56, 0.12);
  animation-delay: -6s;
  animation-duration: 22s;
}

.glow {
  position: absolute;
  inset: 18% 20% auto;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(216, 230, 223, 0.08), transparent 70%);
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.06); }
}

main,
footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) 3rem;
}

.hero-logo {
  width: clamp(120px, 22vw, 168px);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
  animation: rise 0.9s var(--ease) both, float 5.5s ease-in-out 1s infinite;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.brand {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fog);
  animation: rise 0.9s var(--ease) 0.08s both;
}

.headline {
  margin: 1rem 0 0;
  max-width: 18ch;
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  letter-spacing: -0.02em;
  color: var(--amber-soft);
  animation: rise 0.9s var(--ease) 0.16s both;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
  border-top: 1px solid rgba(216, 230, 223, 0.12);
  font-size: 0.875rem;
  color: rgba(216, 230, 223, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .mist,
  .hero-logo,
  .brand,
  .headline {
    animation: none !important;
  }
}
