:root {
  --bg: #0a0a0a;
  --bg-2: #151515;
  --card: #1c1c1c;
  --red: #e10600;
  --red-dim: rgba(225, 6, 0, 0.16);
  --text: #f5f5f5;
  --muted: #8a8a8a;
  --line: rgba(245, 245, 245, 0.08);
  --line-strong: rgba(245, 245, 245, 0.14);
  --open: #3ddc84;
  --closed: #e10600;
  --font-display: "Bebas Neue", "Anton", Impact, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 80px;
  --bar-h: 72px;
  --max: 1240px;
  --space: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 2px;
  --z-nav: 100;
  --z-overlay: 200;
  --z-cursor: 400;
  --z-bar: 90;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html.lenis,
html.lenis body {
  height: auto;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  z-index: 500;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: var(--space) 0;
  position: relative;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1rem;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

h1.display,
.h1 {
  font-size: clamp(3.4rem, 9vw, 8.5rem);
}

h2.display,
.h2 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
}

h3.display,
.h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head.center {
  text-align: center;
}

.section-head.center .lede {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0 1.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: #c10500;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--text);
}

.btn-full {
  width: 100%;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 36px;
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(12px);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.status-pill.is-open .status-dot {
  background: var(--open);
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.16);
}

.status-pill.is-closed .status-dot {
  background: var(--closed);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.18);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
}

.logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 0.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.site-footer {
  background: #080808;
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 7.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo-mark {
  font-size: 2.4rem;
}

.footer-tag {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 22rem;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.1rem;
  color: var(--muted);
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.mobile-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: var(--z-bar);
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  min-height: 60px;
  grid-template-columns: 1fr 1fr 1fr;
}

.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  min-height: 60px;
}

.mobile-bar a.join {
  background: var(--red);
  color: #fff;
}

.cursor {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.site-header,
.mobile-bar,
.cursor {
  pointer-events: auto;
}

@media (min-width: 1025px) {
  body.has-cursor {
    cursor: none;
  }

  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor input,
  body.has-cursor select,
  body.has-cursor textarea,
  body.has-cursor .card,
  body.has-cursor label {
    cursor: none;
  }

  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border: 1px solid var(--text);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.25s var(--ease), height 0.25s var(--ease),
      background 0.25s var(--ease);
  }

  .cursor.is-hover {
    width: 52px;
    height: 52px;
    background: rgba(225, 6, 0, 0.18);
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.97);
    padding: 6rem 2rem 2rem;
    transform: translateY(-110%);
    transition: transform 0.45s var(--ease);
    z-index: 99;
  }

  .site-header.is-open .mobile-nav {
    transform: none;
  }

  .mobile-nav a {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.04em;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mobile-bar {
    display: grid;
  }

  body {
    padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
