:root {
  color-scheme: dark;
  --bg: #080707;
  --red: #d7192d;
  --red-bright: #f1263c;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: #f2eeee;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

.landing {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(22px, 3.5vw, 40px) 24px 22px;
  overflow: hidden;
}

/* Image fades into the page on every edge so there is no visible frame */
.backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  -webkit-mask-image: radial-gradient(ellipse 80% 92% at 50% 30%, #000 50%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 92% at 50% 30%, #000 50%, transparent 100%);
}
.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  display: block;
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,7,7,.6) 0%, transparent 16%, transparent 42%, rgba(8,7,7,.82) 70%, var(--bg) 94%),
    radial-gradient(ellipse 30% 26% at 50% 78%, rgba(120, 0, 16, .28), transparent 70%);
}

.grain {
  position: absolute;
  inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: .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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scanlines {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .1;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(0,0,0,.45) 4px);
}

.hero {
  flex: 1;
  width: min(100%, 1120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: clamp(28px, 6vh, 64px);
  text-align: center;
}

.v-stamp {
  width: clamp(92px, 13vw, 138px);
  height: clamp(92px, 13vw, 138px);
  color: var(--red-bright);
  transform: rotate(-8deg);
  filter:
    drop-shadow(0 0 14px rgba(241, 38, 60, .55))
    drop-shadow(0 0 40px rgba(180, 0, 24, .35));
}

h1 {
  margin: 18px 0 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(40px, 9vw, 110px);
  font-weight: 800;
  line-height: .88;
  letter-spacing: .12em;
  text-indent: .12em;
  color: #f1eeee;
  text-shadow: 0 6px 40px rgba(0,0,0,.85);
}
h1 span {
  color: var(--red-bright);
  text-shadow: 0 0 28px rgba(241, 38, 60, .35), 0 6px 40px rgba(0,0,0,.85);
}

.quote {
  margin: 20px 0 0;
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
  font-size: clamp(16px, 1.7vw, 21px);
  color: #b9b0b1;
  text-shadow: 0 2px 14px rgba(0,0,0,.9);
}

.footer {
  width: min(100%, 1120px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(215, 25, 45, .22);
  color: #6a6466;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .24em;
}
.footer-center { color: var(--red); }

@media (max-width: 640px) {
  .landing { padding: 20px 14px 18px; }
  h1 { font-size: 11vw; letter-spacing: .08em; text-indent: .08em; }
  .quote { font-size: 15px; }
  .footer { justify-content: center; }
  .footer > :not(.footer-center) { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .backdrop img { animation: drift 18s ease-out both; }
  .v-stamp { animation: stamp .55s .35s cubic-bezier(.2, 1.6, .4, 1) both, flicker 6s 1.2s infinite; }
  h1, .quote { animation: rise .8s .6s ease-out both; }
  .quote { animation-delay: .8s; }

  @keyframes drift {
    from { transform: scale(1.08); opacity: 0; }
    12% { opacity: 1; }
    to { transform: scale(1); opacity: 1; }
  }
  @keyframes stamp {
    from { opacity: 0; transform: rotate(-8deg) scale(1.9); }
    to { opacity: 1; transform: rotate(-8deg) scale(1); }
  }
  @keyframes flicker {
    0%, 92%, 100% { opacity: 1; }
    93% { opacity: .55; }
    94% { opacity: 1; }
    96% { opacity: .7; }
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
