:root {
  --bg: #0c0e12;
  --text: #f8fafc;
  --font-display: "Syne", system-ui, sans-serif;
  --font-brand: "Instrument Sans", system-ui, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  overflow: hidden;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  background-image: url("bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.shade {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.55) 0%,
    rgba(8, 10, 14, 0.35) 45%,
    rgba(8, 10, 14, 0.65) 100%
  );
}

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

h1 {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 7vw, 3.35rem);
  letter-spacing: -0.03em;
  color: var(--text);
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.75);
}

h1 .brand {
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: -0.01em;
}
