:root {
  --bg: #0b0d10;
  --ink: #ecebe6;
  --muted: #8a8d93;
  --accent: #c9a96e;
}

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

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Delikatna winieta — skupia wzrok na środku */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(5, 6, 8, .75) 100%);
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.25rem;
  padding: 2rem;
  text-align: center;
  pointer-events: none;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: rise 1.2s .2s cubic-bezier(.2, .7, .2, 1) forwards;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(201, 169, 110, .6);
  animation: pulse 2.4s ease-out infinite;
}

h1 {
  margin: 0;
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.75rem);
  line-height: 1;
  letter-spacing: -.02em;
  opacity: 0;
  animation: rise 1.4s .35s cubic-bezier(.2, .7, .2, 1) forwards;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.note {
  margin: 0;
  font-size: .95rem;
  color: var(--muted);
  opacity: 0;
  animation: rise 1.4s .55s cubic-bezier(.2, .7, .2, 1) forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 169, 110, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(201, 169, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow, h1, .note { animation: none; opacity: 1; }
  .pulse { animation: none; }
}
