:root {
  --ink: #15201c;
  --ink-soft: #2a3a34;
  --paper: #e7efe8;
  --paper-dim: #c5d4c8;
  --money: #c6a15b;
  --money-hot: #e0c07a;
  --line: rgba(21, 32, 28, 0.12);
  --shadow: rgba(12, 18, 15, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background: #dfe8e1;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 12% 8%, #f4f7f2 0%, transparent 55%),
    radial-gradient(90% 70% at 88% 92%, #b7c8b8 0%, transparent 50%),
    linear-gradient(155deg, #edf3ee 0%, #d5e0d7 48%, #c3d1c5 100%);
}

.atmosphere__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.45;
  transform: rotate(-4deg) scale(1.08);
  animation: grid-drift 18s ease-in-out infinite alternate;
}

.atmosphere__glow {
  position: absolute;
  width: 48vmax;
  height: 48vmax;
  left: 55%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.28) 0%, transparent 68%);
  filter: blur(8px);
  animation: glow-breathe 9s ease-in-out infinite alternate;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(100%, 36rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 4rem);
  text-align: left;
}

.brand {
  margin: 0 0 clamp(1.6rem, 4vw, 2.6rem);
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-size: clamp(4.6rem, 18vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: var(--ink);
}

.brand__line {
  display: block;
  opacity: 0;
  transform: translateY(0.35em);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.brand__line--bid {
  animation-delay: 0.08s;
}

.brand__line--key {
  color: var(--ink-soft);
  animation-delay: 0.22s;
}

.slogan {
  margin: 0 0 0.85rem;
  max-width: 22ch;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(0.8rem);
  animation: rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) 0.42s forwards;
}

.sub {
  margin: 0 0 2.2rem;
  max-width: 34ch;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(0.8rem);
  animation: rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) 0.58s forwards;
}

.status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.78s forwards;
}

.status::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--money);
  box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.55);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grid-drift {
  from {
    transform: rotate(-4deg) scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: rotate(-3deg) scale(1.1) translate3d(-1.2%, 1%, 0);
  }
}

@keyframes glow-breathe {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.7;
  }
  to {
    transform: translate3d(-4%, 6%, 0) scale(1.12);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.55);
  }
  70% {
    box-shadow: 0 0 0 0.7rem rgba(198, 161, 91, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 161, 91, 0);
  }
}

@media (max-width: 640px) {
  .slogan {
    max-width: 18ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere__grid,
  .atmosphere__glow,
  .brand__line,
  .slogan,
  .sub,
  .status,
  .status::before {
    animation: none !important;
  }

  .brand__line,
  .slogan,
  .sub,
  .status {
    opacity: 1;
    transform: none;
  }
}
