:root {
  --ink: #1c1917;
  --ink-soft: #292524;
  --mist: #e7e5e4;
  --mist-dim: rgba(231, 229, 228, 0.62);
  --ember: #c4a484;
  --glow: rgba(120, 90, 60, 0.22);
  --font-brand: "Instrument Serif", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--mist);
  background: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.atmosphere {
  position: fixed;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 18% 22%, var(--glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 82% 78%, rgba(196, 164, 132, 0.12), transparent 50%),
    radial-gradient(ellipse 70% 60% at 50% 50%, var(--ink-soft), var(--ink) 70%);
  animation: drift 22s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.09;
  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;
  mix-blend-mode: overlay;
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.brand {
  font-family: var(--font-brand);
  font-size: clamp(3rem, 12vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: #fafaf9;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.headline {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.support {
  margin-top: 1rem;
  max-width: 22rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--mist-dim);
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.rule {
  margin-top: clamp(2rem, 5vw, 3rem);
  width: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  animation: line-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.cta {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--ember);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.cta:hover,
.cta:focus-visible {
  background: transparent;
  color: var(--ember);
  border-color: var(--ember);
  outline: none;
}

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

@keyframes line-in {
  from {
    opacity: 0;
    transform: scaleX(0.2);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .brand,
  .headline,
  .support,
  .rule,
  .cta {
    animation: none;
  }
}

@media (max-width: 480px) {
  .headline {
    letter-spacing: 0.18em;
  }
}
