:root {
  --ink: #10231f;
  --mist: #e7f1ec;
  --foam: #f4faf7;
  --accent: #c46b2c;
  --line: rgba(16, 35, 31, 0.14);
  --glow: rgba(196, 107, 44, 0.28);
  --font-display: "Syne", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
}

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

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

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 12% 18%, rgba(196, 107, 44, 0.18), transparent 55%),
    radial-gradient(900px 600px at 88% 78%, rgba(39, 94, 78, 0.22), transparent 50%),
    linear-gradient(160deg, #f7fbf9 0%, #e8f0eb 45%, #dce8e2 100%);
  overflow: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 42%, black 18%, transparent 72%);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: start;
  gap: 1rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  max-width: 56rem;
  margin: 0 auto;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  animation: rise 0.9s ease both;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  animation: rise 0.9s ease 0.12s both;
}

.lead {
  margin: 0.35rem 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(16, 35, 31, 0.78);
  animation: rise 0.9s ease 0.24s both;
}

.brand::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 0.28rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 0 24px var(--glow);
  animation: bar 1.4s ease 0.4s both;
}

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

@keyframes bar {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 4.5rem;
    opacity: 1;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-12px, 10px, 0);
  }
}

@media (max-width: 640px) {
  .stage {
    align-content: end;
    padding-bottom: 18vh;
  }
}
