:root {
  --bg: #0b0b0c;
  --text: #f2f0eb;
  --muted: #9a978f;
  --accent: #ff6a3d;
  --gutter: clamp(20px, 5vw, 56px);
}

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

html, body { height: 100%; }

body {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Film grain over everything, very faint */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

/* Slow-drifting warm glow behind the name */
.glow {
  position: fixed;
  left: 50%;
  top: 55%;
  width: min(90vw, 900px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 106, 61, 0.35), rgba(255, 106, 61, 0) 60%),
              radial-gradient(circle at 65% 60%, rgba(120, 90, 255, 0.25), rgba(120, 90, 255, 0) 55%);
  filter: blur(40px);
  animation: drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate(-6%, -4%) rotate(0deg) scale(1); }
  to   { transform: translate(6%, 4%) rotate(25deg) scale(1.08); }
}

.bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px var(--gutter);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.mark { color: var(--text); font-weight: 500; }

.status { display: inline-flex; align-items: center; gap: 8px; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(255, 106, 61, 0); }
}

.hero {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 0 var(--gutter);
  max-width: 1200px;
}

h1 {
  font-weight: 600;
  font-size: clamp(56px, 13vw, 176px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.lede {
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 28ch;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
  .glow, .dot { animation: none; }
}
