:root {
  --bg-deep: #0c0b09;
  --bg-mid: #16130f;
  --ink: #f3ead8;
  --ink-muted: rgba(243, 234, 216, 0.72);
  --gold: #c9a227;
  --gold-soft: #e4c96a;
  --gold-glow: rgba(201, 162, 39, 0.35);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe 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(--ink);
  background: var(--bg-deep);
  overflow-x: hidden;
  display: grid;
  place-items: center;
  position: relative;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(90, 60, 20, 0.25), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(40, 32, 18, 0.6), transparent 45%),
    linear-gradient(165deg, var(--bg-mid) 0%, var(--bg-deep) 55%, #080706 100%);
  animation: atmosphere-shift 14s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  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)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.hero {
  position: relative;
  z-index: 1;
  width: min(92vw, 36rem);
  text-align: center;
  padding: 2.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 4.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--gold-soft);
  text-shadow: 0 0 40px var(--gold-glow);
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both, gold-shimmer 5s ease-in-out 1.2s infinite;
}

.headline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.support {
  font-weight: 300;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 28rem;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 0.85rem;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.social a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.social a:hover,
.social a:focus-visible {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
  outline: none;
}

.sep {
  color: rgba(201, 162, 39, 0.45);
  font-size: 0.85rem;
  user-select: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gold-shimmer {
  0%,
  100% {
    text-shadow: 0 0 28px var(--gold-glow);
    filter: brightness(1);
  }
  50% {
    text-shadow: 0 0 48px rgba(228, 201, 106, 0.55);
    filter: brightness(1.08);
  }
}

@keyframes atmosphere-shift {
  from {
    filter: hue-rotate(0deg) brightness(1);
  }
  to {
    filter: hue-rotate(8deg) brightness(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .brand,
  .headline,
  .support,
  .social {
    animation: none;
  }

  .brand {
    text-shadow: 0 0 32px var(--gold-glow);
  }
}
