:root {
  --ink: #e8efe6;
  --ink-muted: #a8b5a4;
  --brand: #f0f4ec;
  --accent: #c4a35a;
  --accent-soft: rgba(196, 163, 90, 0.35);
  --deep: #0c1410;
  --moss: #1a2e22;
  --pine: #243d2c;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

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

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 70% 20%, #2a4a34 0%, transparent 55%),
    radial-gradient(90% 70% at 10% 90%, #152018 0%, transparent 50%),
    linear-gradient(165deg, #0c1410 0%, #15261a 45%, #0a100c 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: rise 2.4s ease forwards;
}

.glow-a {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  top: -10%;
  right: -5%;
  background: var(--accent-soft);
  animation-delay: 0.2s;
}

.glow-b {
  width: min(55vw, 400px);
  height: min(55vw, 400px);
  bottom: 5%;
  left: -8%;
  background: rgba(60, 110, 75, 0.45);
  animation-delay: 0.5s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  max-width: 40rem;
}

.brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--brand);
  opacity: 0;
  transform: translateY(1.25rem);
  animation: enter 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.tagline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  color: var(--ink);
  opacity: 0;
  transform: translateY(1rem);
  animation: enter 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.lede {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink-muted);
  font-weight: 400;
  opacity: 0;
  transform: translateY(0.75rem);
  animation: enter 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.cta-row {
  margin: 0;
  opacity: 0;
  transform: translateY(0.5rem);
  animation: enter 1s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

.cta {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--deep);
  background: var(--accent);
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cta:hover,
.cta:focus-visible {
  background: #d4b56a;
  transform: translateY(-2px);
  outline: none;
}

.cta:focus-visible {
  box-shadow: 0 0 0 3px var(--deep), 0 0 0 5px var(--accent);
}

@keyframes enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .tagline,
  .lede,
  .cta-row,
  .glow {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
