:root {
  --ink: #1a2421;
  --ink-soft: #3d4a45;
  --paper: #e8ece7;
  --mist: #c5d0c8;
  --accent: #2f6b5a;
  --glow-a: rgba(90, 140, 120, 0.35);
  --glow-b: rgba(40, 70, 90, 0.22);
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Instrument Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere__wash {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 70% 55% at 18% 22%, var(--glow-a), transparent 58%),
    radial-gradient(ellipse 55% 45% at 82% 78%, var(--glow-b), transparent 55%),
    linear-gradient(165deg, #f2f5f1 0%, #dce5df 42%, #c8d4cd 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  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)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

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

.brand {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--ink);
  opacity: 0;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.headline {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  opacity: 0;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.lede {
  margin-top: 0.65rem;
  max-width: 22rem;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--accent);
  opacity: 0;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.46s forwards;
}

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

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

@media (prefers-reduced-motion: reduce) {
  .atmosphere__wash,
  .brand,
  .headline,
  .lede {
    animation: none;
  }

  .brand,
  .headline,
  .lede {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .stage {
    justify-content: flex-end;
    padding-bottom: clamp(3rem, 12vh, 5rem);
  }
}
