:root {
  --bg: #1a1611;
  --bg-alt: #211b14;
  --cream: #f3ead8;
  --cream-dim: #c9bda2;
  --rust: #c9683e;
  --line: rgba(243, 234, 216, 0.14);
}

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

html, body {
  height: 100%;
}

body {
  background: radial-gradient(120% 140% at 78% 8%, var(--bg-alt) 0%, var(--bg) 55%);
  color: var(--cream);
  font-family: "JetBrains Mono", monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  position: relative;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mark {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  animation: fade-in 0.8s ease-out both;
}

.mark-dim {
  color: var(--cream-dim);
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(1.5rem, 8vw, 6.5rem);
  max-width: 62rem;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--rust);
  margin-bottom: 1.25rem;
  animation: fade-in 0.8s ease-out 0.1s both;
}

.hero {
  font-family: "Fraunces", serif;
  font-weight: 300;
  line-height: 0.95;
  font-size: clamp(4rem, 15vw, 10rem);
  letter-spacing: -0.01em;
}

.hero .line {
  display: block;
  overflow: hidden;
}

.hero .line span,
.hero .line {
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.line-em {
  font-style: italic;
  font-weight: 500;
  color: var(--rust);
  margin-left: clamp(1.5rem, 6vw, 4rem);
  animation-delay: 0.18s;
}

.sub {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--cream-dim);
  max-width: 30rem;
  line-height: 1.6;
  animation: fade-in 0.8s ease-out 0.4s both;
}

.meta {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  animation: fade-in 0.8s ease-out 0.5s both;
}

.meta-sep {
  color: var(--rust);
}

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

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .line-em {
    margin-left: 0.4rem;
  }
}
