﻿:root {
  --bg: #0b0b0c;
  --bg-soft: #131315;
  --surface: #18181b;
  --fg: #f5f3ee;
  --muted: #8b8b8d;
  --red: #e2241a;
  --red-dim: #7a140e;
  --border: #2a2a2d;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
}

a {
  color: inherit;
}


nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  z-index: 50;
  mix-blend-mode: difference;
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.nav-mark img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nav-status {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}


.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}

.scatter-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.pellet {
  position: absolute;
  width: var(--s, 30px);
  height: var(--s, 30px);
  opacity: 0;
  filter: saturate(0) brightness(0) invert(1);
  transform: translate(-50%, -50%) scale(0.2) rotate(var(--r, 0deg));
  animation: fire 900ms cubic-bezier(.16, .9, .35, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes fire {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.15) rotate(var(--r, 0deg));
  }

  60% {
    opacity: 0.16;
  }

  100% {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(1) rotate(var(--r, 0deg));
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 28px;
  font-weight: 600;
}

.mark-wrap {
  width: clamp(90px, 14vw, 150px);
  height: clamp(90px, 14vw, 150px);
  margin-bottom: 8px;
  opacity: 0;
  animation: impact 700ms cubic-bezier(.2, 1.4, .4, 1) forwards,
    spin 26s linear infinite;
  animation-delay: 200ms, 900ms;
}

.mark-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes impact {
  0% {
    opacity: 0;
    transform: scale(2.4) rotate(-25deg);
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

h1.wordmark {
  font-size: clamp(52px, 11vw, 148px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.tagline {
  margin-top: 26px;
  max-width: 520px;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
  color: var(--muted);
}

.tagline strong {
  color: var(--fg);
  font-weight: 600;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--muted), transparent);
  animation: drop 1.6s ease-in-out infinite;
}

@keyframes drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}


.access {
  position: relative;
  padding: 110px 20px 130px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.access-inner {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.access h2 {
  font-size: clamp(34px, 5vw, 46px);
  line-height: 0.95;
  margin-bottom: 16px;
}

.access p.sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 40px;
}

form#access-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-row {
  display: flex;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 160ms ease;
}

.field-row:focus-within {
  border-color: var(--red);
}

#email {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 17px 18px;
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
}

#email::placeholder {
  color: #5b5b5e;
}

button#submit-btn {
  border: none;
  background: var(--red);
  color: #fff;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.04em;
  font-size: 14px;
  padding: 0 26px;
  cursor: pointer;
  transition: background 160ms ease, transform 120ms ease;
  white-space: nowrap;
}

button#submit-btn:hover {
  background: #ff2c1d;
}

button#submit-btn:active {
  transform: scale(0.97);
}

button#submit-btn:disabled {
  background: var(--red-dim);
  cursor: default;
}

.form-note {
  font-size: 12px;
  color: #5b5b5e;
  margin-top: 6px;
}

.status-msg {
  font-size: 13px;
  min-height: 18px;
  margin-top: 4px;
}

.status-msg.error {
  color: var(--red);
}

.status-msg.success {
  color: #6fbf73;
}

.count-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.count-row img {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}


footer {
  border-top: 1px solid var(--border);
  padding: 26px clamp(20px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

footer a {
  text-decoration: none;
  color: var(--muted);
  transition: color 140ms ease;
}

footer a:hover {
  color: var(--fg);
}

.footer-links {
  display: flex;
  gap: 22px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}