:root {
  --ink: #12151a;
  --ink-soft: #1c222c;
  --fog: #e8e4dc;
  --fog-muted: rgba(232, 228, 220, 0.72);
  --signal: #c4a574;
  --signal-soft: rgba(196, 165, 116, 0.35);
  --beam: rgba(196, 165, 116, 0.18);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Sora", "Gill Sans", "Trebuchet MS", sans-serif;
}

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

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

body {
  min-height: 100dvh;
  color: var(--fog);
  background: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, #2a3342 0%, transparent 55%),
    linear-gradient(160deg, #0e1116 0%, #171c24 45%, #10141a 100%);
}

.atmosphere__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 20% 80%, rgba(72, 88, 108, 0.35), transparent 70%),
    radial-gradient(ellipse 55% 40% at 85% 25%, rgba(196, 165, 116, 0.12), transparent 65%);
  animation: wash-drift 18s ease-in-out infinite alternate;
}

.atmosphere__beam {
  position: absolute;
  width: 48vmax;
  height: 48vmax;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.85;
}

.atmosphere__beam--a {
  top: -18vmax;
  left: 50%;
  translate: -50% 0;
  background: radial-gradient(circle, var(--beam), transparent 68%);
  animation: beam-pulse 10s ease-in-out infinite;
}

.atmosphere__beam--b {
  bottom: -22vmax;
  right: -8vmax;
  background: radial-gradient(circle, rgba(90, 110, 130, 0.22), transparent 70%);
  animation: beam-pulse 14s ease-in-out infinite reverse;
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

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

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 9.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fog);
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.headline {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--signal);
  animation: rise 1000ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.support {
  margin: clamp(1rem, 2.5vw, 1.5rem) 0 0;
  max-width: 36rem;
  font-size: clamp(0.98rem, 1.7vw, 1.15rem);
  line-height: 1.65;
  color: var(--fog-muted);
  animation: rise 1100ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog-muted);
  animation: rise 1200ms cubic-bezier(0.22, 1, 0.36, 1) 320ms both;
}

.status__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 var(--signal-soft);
  animation: pulse 2.4s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere__wash,
  .atmosphere__beam,
  .brand,
  .headline,
  .support,
  .status,
  .status__dot {
    animation: none !important;
  }

  .brand,
  .headline,
  .support,
  .status {
    opacity: 1;
    transform: none;
  }
}

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

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

@keyframes beam-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.06);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--signal-soft);
  }
  70% {
    box-shadow: 0 0 0 0.65rem transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@media (max-width: 480px) {
  .hero {
    align-items: stretch;
  }

  .headline {
    max-width: none;
  }
}
