:root {
  --ink: #12160f;
  --ink-2: #1c2418;
  --paper: #e8e2d4;
  --paper-dim: #b8b09a;
  --seal: #c23b22;
  --mist: rgba(232, 226, 212, 0.06);
}

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

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

body {
  min-height: 100dvh;
  color: var(--paper);
  background:
    radial-gradient(ellipse 80% 55% at 70% 15%, rgba(194, 59, 34, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(232, 226, 212, 0.05), transparent 50%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, #0d100c 100%);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  -webkit-font-smoothing: antialiased;
}

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

.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem);
  max-width: 42rem;
}

.brand {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--seal);
  animation: rise 0.9s ease-out both;
}

.mark {
  margin: 0;
  font-family: "Noto Serif SC", "Instrument Serif", serif;
  font-weight: 700;
  font-size: clamp(4.5rem, 18vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--paper);
  animation: rise 1s ease-out 0.08s both;
}

.line {
  margin: 1.4rem 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--paper);
  max-width: 18ch;
  animation: rise 1s ease-out 0.16s both;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 2rem 0 0;
  padding: 0;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-dim);
  animation: rise 1s ease-out 0.24s both;
}

.dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--seal);
  box-shadow: 0 0 0 0 rgba(194, 59, 34, 0.55);
  animation: pulse 2.2s ease-out infinite;
}

.note {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: 0.78rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--paper-dim);
  animation: rise 1s ease-out 0.32s both;
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(194, 59, 34, 0.5);
  }
  70% {
    box-shadow: 0 0 0 0.55rem rgba(194, 59, 34, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(194, 59, 34, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .mark,
  .line,
  .status,
  .note,
  .dot {
    animation: none;
  }
}
