:root {
  --bg: #12110f;
  --fg: #f2eee6;
  --accent: #d9a05b;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Onest", system-ui, sans-serif;
  font-weight: 400;
}

.screen {
  min-height: 100svh;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
}

.label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

h1 {
  font-weight: 300;
  font-size: clamp(2.6rem, 11vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-wrap: balance;
  hyphens: none;
}

.lead {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  max-width: 40ch;
  opacity: 0.7;
  text-wrap: pretty;
}

.rise {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(14px);
}

.is-in .rise {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition: opacity 900ms var(--ease) var(--d, 0ms),
              transform 900ms var(--ease) var(--d, 0ms),
              filter 900ms var(--ease) var(--d, 0ms);
}

.is-in .lead.rise { opacity: 0.7; }

@media (prefers-reduced-motion: reduce) {
  .is-in .rise { transition-delay: 0ms; transition-duration: 1ms; }
}

.d1 { --d: 300ms; }
.d2 { --d: 900ms; }
.d3 { --d: 1040ms; }
