:root {
  --rc-black: #000000;
  --rc-dark: #131314;
  --rc-red: #d81f26;
  --rc-red-glow: #ff2a30;
  --rc-line: rgba(255, 255, 255, 0.08);
  --rc-fg: #fafafa;
  --rc-muted: rgba(255, 255, 255, 0.6);
  --font-display: "Bebas Neue", "Inter", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--rc-black);
  color: var(--rc-fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: var(--rc-red);
  color: #fff;
}

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

/* Stage */
.stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--rc-black);
}

.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 0;
}

.veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.veil-v {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.6),
    var(--rc-black)
  );
}

.veil-h {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.7)
  );
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.7)
  );
}

.glow {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
}

.glow-left {
  left: -160px;
  top: 33%;
  width: 520px;
  height: 520px;
  background: rgba(216, 31, 38, 0.2);
}

.glow-right {
  right: -160px;
  bottom: 0;
  width: 420px;
  height: 420px;
  background: rgba(216, 31, 38, 0.1);
}

.shell {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 24px 40px;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 56px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo {
    height: 80px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(216, 31, 38, 0.4);
  background: rgba(216, 31, 38, 0.1);
  padding: 8px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rc-red);
}

.pill-mobile {
  display: inline-flex;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .pill-mobile {
    display: none;
  }

  .topbar .pill {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .topbar .pill {
    display: none;
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rc-red);
  animation: dot-pulse 2.4s ease-in-out infinite;
  display: inline-block;
}

@keyframes dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 var(--rc-red);
  }

  50% {
    transform: scale(1.15);
    opacity: 0.9;
    box-shadow: 0 0 0 12px transparent;
  }
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0;
  position: relative;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.headline {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 400;
}

.accent {
  color: var(--rc-red);
}

.lede {
  margin-top: 32px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--rc-muted);
}

@media (min-width: 768px) {
  .lede {
    font-size: 18px;
  }
}

/* Notify */
.notify {
  margin-top: 48px;
  max-width: 560px;
}

.notify-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rc-red);
}

.notify-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .notify-form {
    flex-direction: row;
  }
}

#email {
  flex: 1;
  border: 1px solid var(--rc-line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 16px 20px;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

#email::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

#email:focus {
  border-color: var(--rc-red);
}

.notify-form button {
  background: var(--rc-red);
  color: #fff;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.25em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.notify-form button:hover {
  transform: scale(1.03);
}

.notify-success {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(216, 31, 38, 0.4);
  background: rgba(216, 31, 38, 0.1);
  padding: 16px 20px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Hero Founder Image */
.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(34vw, 400px);
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(216, 31, 38, 0.55);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Founder Caption */
.founder-caption {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--rc-red);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.founder-caption span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rc-red);
  margin-bottom: 6px;
}

.founder-caption strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
}

/* Keep text above image */
.eyebrow,
.headline,
.lede,
.notify,
.pill-mobile {
  position: relative;
  z-index: 2;
}

/* Mobile Hero Image */
@media (max-width: 900px) {
  .hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(80vw, 360px);
    margin-top: 40px;
  }

  .founder-caption {
    margin-top: 14px;
  }

  .founder-caption strong {
    font-size: 18px;
  }
}

/* Footer */
.foot {
  margin-top: 40px;
  border-top: 1px solid var(--rc-line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.foot a {
  transition: color 0.2s;
}

.foot a:hover {
  color: var(--rc-red);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.sep {
  display: none;
}

@media (min-width: 768px) {
  .foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .sep {
    display: inline;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image.reveal {
  opacity: 0;
  transform: translateY(calc(-50% + 24px));
  animation: reveal-hero-image 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal:nth-child(3) {
  animation-delay: 0.16s;
}

.reveal:nth-child(4) {
  animation-delay: 0.24s;
}

.reveal:nth-child(5) {
  animation-delay: 0.32s;
}

.reveal:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-hero-image {
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@media (max-width: 900px) {
  .hero-image.reveal {
    transform: translateY(24px);
    animation: reveal-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}