:root {
  --ink: #0e1a17;
  --foam: #e8f0ec;
  --moss: #1f6b4f;
  --moss-deep: #134836;
  --mist: rgba(232, 240, 236, 0.72);
  --glow: rgba(47, 140, 105, 0.35);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Outfit", "Avenir Next", sans-serif;
}

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

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

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(14, 26, 23, 0.55) 12%, rgba(14, 26, 23, 0.78) 55%, rgba(14, 26, 23, 0.92) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, var(--glow), transparent 60%),
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2400&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 26, 23, 0.85), transparent 42%);
}

.top,
.hero {
  position: relative;
  z-index: 1;
}

.top {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  opacity: 0;
  animation: rise 0.9s ease 0.1s forwards;
}

.brand {
  color: var(--foam);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 8vh, 5rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 8vh, 5rem);
  max-width: 42rem;
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: rise 1s ease 0.2s forwards;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  color: var(--mist);
  opacity: 0;
  animation: rise 1s ease 0.35s forwards;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(232, 240, 236, 0.78);
  max-width: 34rem;
  opacity: 0;
  animation: rise 1s ease 0.5s forwards;
}

.cta {
  margin: 0;
  opacity: 0;
  animation: rise 1s ease 0.65s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.35rem;
  background: var(--moss);
  color: var(--foam);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 180ms ease, transform 180ms ease;
}

.btn:hover {
  background: var(--moss-deep);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--foam);
  outline-offset: 3px;
}

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

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .top,
  .brand-mark,
  .hero h1,
  .lede,
  .cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
