:root {
  --bg: #070707;
  --bg-elevated: #0e0e0e;
  --ink: #f4f1ec;
  --ink-muted: rgba(244, 241, 236, 0.62);
  --brand: #a51f10;
  --brand-soft: rgba(165, 31, 16, 0.35);
  --brand-glow: rgba(165, 31, 16, 0.22);
  --line: rgba(244, 241, 236, 0.18);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(165, 31, 16, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(165, 31, 16, 0.1), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 45%, #090707 100%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  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)' opacity='0.55'/%3E%3C/svg%3E");
}

.glow {
  position: absolute;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow--left {
  top: 12%;
  left: -8%;
  background: var(--brand-glow);
}

.glow--right {
  right: -10%;
  bottom: 8%;
  background: rgba(165, 31, 16, 0.18);
  animation-delay: -6s;
}

.horns {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(120vw, 1100px);
  color: rgba(165, 31, 16, 0.28);
  transform: translate(-50%, -50%);
  animation: rise 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.horns__left,
.horns__right {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw-horn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.horns__right {
  animation-delay: 0.5s;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  justify-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.brand {
  align-self: center;
  display: grid;
  place-items: center;
  padding-top: clamp(1rem, 4vh, 3rem);
}

.brand__logo {
  width: min(72vw, 340px);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
  animation: reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.message {
  max-width: 34rem;
  margin-top: clamp(0.5rem, 2vh, 1.5rem);
  animation: reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow__line {
  display: block;
  width: 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 8.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 0 60px rgba(165, 31, 16, 0.25);
}

.lede {
  margin: 1rem auto 1.75rem;
  max-width: 26rem;
  color: var(--ink-muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.55;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 var(--brand-soft);
  animation: pulse 2.4s ease-out infinite;
}

.foot {
  margin-top: clamp(2.5rem, 8vh, 4.5rem);
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  color: rgba(244, 241, 236, 0.38);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.foot__mark {
  width: 7px;
  height: 7px;
  background: var(--brand);
  transform: rotate(45deg);
  box-shadow: 0 0 18px var(--brand-soft);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes draw-horn {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, 18px, 0) scale(1.08);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(165, 31, 16, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(165, 31, 16, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(165, 31, 16, 0);
  }
}

@media (min-width: 768px) {
  .brand__logo {
    width: min(42vw, 400px);
  }

  .stage {
    grid-template-rows: 1.15fr auto auto;
  }
}

@media (max-height: 700px) {
  .brand__logo {
    width: min(48vw, 260px);
  }

  .headline {
    font-size: clamp(3.5rem, 12vw, 6rem);
  }

  .foot {
    margin-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand__logo,
  .message,
  .foot,
  .horns,
  .horns__left,
  .horns__right,
  .glow,
  .status__dot {
    animation: none !important;
  }

  .horns__left,
  .horns__right {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}
