:root {
  --bg: #050505;
  --bg-soft: #0c0c0c;
  --text: #ececec;
  --muted: #8a8a8a;
  --dim: #4a4a4a;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #a40c2c;
  --accent-bright: #c91438;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Bebas Neue", "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(1200px 700px at 18% 12%, rgba(164, 12, 44, 0.18), transparent 55%),
    radial-gradient(900px 600px at 88% 78%, rgba(164, 12, 44, 0.1), transparent 50%),
    linear-gradient(180deg, #080808 0%, var(--bg) 48%, #030303 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  pointer-events: none;
  position: fixed;
  inset: auto auto -20% -10%;
  width: 55vw;
  height: 55vw;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 12, 44, 0.22), transparent 68%);
  filter: blur(40px);
  animation: drift 14s ease-in-out infinite alternate;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 5rem)
    clamp(4rem, 8vw, 6rem);
}

.mark {
  width: min(100%, 560px);
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 0 48px rgba(164, 12, 44, 0.22));
  animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both,
    float 7s ease-in-out 1.1s infinite;
}

.copy {
  max-width: 34rem;
  animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 0.85rem;
  font-family: var(--display);
  font-size: clamp(4.4rem, 12vw, 7.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lede {
  max-width: 28rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--text);
  border-color: var(--text);
  color: #090909;
}

.btn-primary:hover {
  background: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #f5f5f5;
}

.btn-accent:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 5vw, 5rem) 1.5rem;
  color: var(--dim);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.foot a:hover {
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(8%, -6%) scale(1.08);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: calc(100svh - 3rem);
    padding-top: 3rem;
  }

  .mark {
    width: min(72vw, 340px);
    order: -1;
  }

  .copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lede {
    max-width: 26rem;
  }

  .actions {
    justify-content: center;
  }

  .foot {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark,
  .copy,
  .foot,
  .glow {
    animation: none !important;
  }

  .btn:hover {
    transform: none;
  }
}
