.hero {
  background: var(--color-black);
  height: 100dvh;
  overflow: hidden;
  position: relative;
  --hero-bg-blur: 20px;
}

@supports not (height: 100dvh) {
  .hero {
    height: 100vh;
  }
}

.hero-bg-color,
.hero-video,
.hero-photo,
.hero-photo-right,
.hero-lines,
.hero-grain {
  position: absolute;
}

.hero-bg-color {
  background: var(--color-black);
  inset: 0;
}

.hero-video {
  display: block;
  filter: saturate(0.68) contrast(1.08);
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.36;
  width: 100%;
}

.hero-photo {
  filter: saturate(0.55);
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.22;
  width: 100%;
}

.hero-photo-right {
  filter: saturate(0.55);
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  right: 0;
  top: 0;
  width: 44%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 34%);
  mask-image: linear-gradient(90deg, transparent 0%, black 34%);
}

.hero::after {
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(var(--hero-bg-blur));
  backdrop-filter: blur(var(--hero-bg-blur));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-orb {
  border-radius: 999px;
  pointer-events: none;
  position: absolute;
  will-change: transform;
  z-index: 1;
}

.hero-orb-1 {
  animation: orbFloatA 17s ease-in-out infinite;
  background: radial-gradient(circle, rgba(155, 23, 52, 0.7), rgba(155, 23, 52, 0));
  filter: blur(90px);
  height: 700px;
  left: -180px;
  opacity: 0.7;
  top: -220px;
  width: 900px;
}

.hero-orb-2 {
  animation: orbFloatB 22s ease-in-out infinite;
  background: radial-gradient(circle, rgba(25, 34, 62, 0.9), rgba(25, 34, 62, 0));
  bottom: -240px;
  filter: blur(80px);
  height: 800px;
  opacity: 0.9;
  right: -240px;
  width: 800px;
}

.hero-orb-3 {
  background: radial-gradient(circle, rgba(196, 30, 66, 0.5), rgba(196, 30, 66, 0));
  filter: blur(70px);
  height: 500px;
  opacity: 0.5;
  right: 25%;
  top: 160px;
  width: 500px;
}

.hero-orb-4 {
  background: radial-gradient(circle, rgba(201, 169, 110, 0.28), rgba(201, 169, 110, 0));
  bottom: -80px;
  filter: blur(90px);
  height: 300px;
  left: 24%;
  opacity: 0.28;
  width: 400px;
}

.hero-orb-5 {
  background: radial-gradient(circle, rgba(196, 30, 66, 0.22), rgba(196, 30, 66, 0));
  filter: blur(50px);
  height: 220px;
  left: 48%;
  opacity: 0.22;
  top: 42%;
  width: 220px;
}

.hero-orb-6 {
  background: radial-gradient(circle, rgba(35, 46, 82, 0.6), rgba(35, 46, 82, 0));
  filter: blur(100px);
  height: 400px;
  opacity: 0.6;
  right: -80px;
  top: -100px;
  width: 600px;
}

.hero-ghost-zero {
  color: var(--color-white);
  font-family: var(--font-script);
  font-size: 500px;
  left: 50%;
  line-height: 0.8;
  opacity: 0.012;
  position: absolute;
  top: 164px;
  transform: translateX(-50%);
  animation: ghostRotate 56s linear infinite;
  z-index: 2;
}

.hero-lines {
  background-image:
    linear-gradient(rgba(155, 23, 52, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 23, 52, 0.08) 1px, transparent 1px);
  background-size: 160px 160px;
  inset: 0;
  opacity: 0.5;
  z-index: 3;
}

.hero-grain {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(250, 248, 244, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 65%, rgba(250, 248, 244, 0.12) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  inset: 0;
  opacity: 0.045;
  z-index: 4;
}

.hero-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 46px;
  left: 50%;
  max-width: calc(100vw - 48px);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  z-index: 8;
}

.hero-content.fade-in {
  transform: translate(-50%, calc(-50% + 24px));
}

.hero-content.fade-in.visible {
  transform: translate(-50%, -50%);
}

.hero-title-stack {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  width: 100%;
}

.hero-eyebrow {
  align-items: center;
  color: var(--color-crimson);
  display: flex;
  flex-direction: column;
  font-family: var(--font-ui);
  font-size: var(--text-eyebrow);
  font-weight: 400;
  gap: 14px;
  letter-spacing: var(--ls-eyebrow);
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  background: rgba(155, 23, 52, 0.5);
  content: "";
  height: 1px;
  order: 2;
  width: 40px;
}

.hero-title {
  color: var(--color-white);
  font-family: "Playfair Display", var(--font-display);
  font-size: 110px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.982;
  max-width: 620px;
  text-align: center;
  text-shadow: 0 0 160px rgba(155, 23, 52, 0.25);
}

.hero-subtitle {
  color: rgba(232, 226, 216, 0.75);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 7px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.hero-divider {
  align-items: center;
  display: flex;
  width: 130px;
}

.hero-divider::before,
.hero-divider::after {
  background: rgba(155, 23, 52, 0.5);
  content: "";
  flex: 1;
  height: 1px;
}

.hero-divider span {
  background: var(--color-crimson);
  border-radius: 999px;
  height: 4px;
  margin-inline: 10px;
  width: 4px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-actions .btn {
  font-family: var(--font-display);
  font-size: 11px;
  font-style: normal;
  font-kerning: normal;
  font-weight: 600;
  font-synthesis: none;
  letter-spacing: 1.8px;
  min-width: 189px;
  padding: 20px 40px;
  text-transform: uppercase;
}

.hero-actions .btn--ghost {
  border-color: rgba(242, 237, 228, 0.3);
}

.hero-scroll {
  align-items: center;
  bottom: 6px;
  color: rgba(242, 237, 228, 0.35);
  display: flex;
  flex-direction: column;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 300;
  gap: 8px;
  left: 50%;
  letter-spacing: var(--ls-eyebrow);
  position: absolute;
  text-transform: lowercase;
  transform: translateX(-50%);
  z-index: 8;
}

.hero-scroll i {
  animation: scrollBounce 1.8s ease-in-out infinite;
  background: linear-gradient(to bottom, rgba(242, 237, 228, 0.4), rgba(242, 237, 228, 0));
  display: block;
  height: 36px;
  width: 1px;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes orbFloatA {
  50% {
    transform: translate(4%, 5%) scale(1.05);
  }
}

@keyframes orbFloatB {
  50% {
    transform: translate(-3%, -4%) scale(1.04);
  }
}

@keyframes ghostRotate {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}
