.hero {
  position: relative;
  min-height: clamp(420px, 78vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--paper-soft);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}

.hero__map-layer {
  position: absolute;
  inset: -8%;
  background:
    url("/assets/patterns/map-texture.svg") center / cover no-repeat,
    radial-gradient(circle at 30% 40%, rgba(201, 162, 39, 0.18), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(184, 115, 51, 0.15), transparent 40%),
    linear-gradient(160deg, #0f1a2e 0%, #1a2744 55%, #243352 100%);
  opacity: 0.92;
  animation: mapDrift 28s ease-in-out infinite alternate;
  filter: saturate(0.85) contrast(1.05);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 26, 46, 0.35) 0%, rgba(15, 26, 46, 0.55) 45%, rgba(15, 26, 46, 0.88) 100%),
    radial-gradient(ellipse at center, transparent 20%, rgba(15, 26, 46, 0.55) 100%);
}

.hero__compass {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(232, 223, 208, 0.25);
  border-radius: 50%;
  opacity: 0.45;
  animation: compassSpin 60s linear infinite;
}

.hero__compass::before,
.hero__compass::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 50%;
}

.hero__compass::after {
  inset: 28px;
  background: linear-gradient(180deg, var(--gold), transparent 60%);
  clip-path: polygon(50% 0, 58% 50%, 50% 100%, 42% 50%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 5.5rem 1.5rem 3.5rem;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 223, 208, 0.7);
  animation: fadeUp 0.8s var(--ease) both;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  color: var(--paper-soft);
  text-wrap: balance;
  animation: fadeUp 0.9s var(--ease) 0.08s both;
}

.hero__subtitle {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(232, 223, 208, 0.82);
  animation: fadeUp 0.9s var(--ease) 0.16s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  animation: fadeUp 0.9s var(--ease) 0.24s both;
}

.hero__actions .btn--primary {
  background: var(--copper);
  box-shadow: 0 12px 30px rgba(184, 115, 51, 0.35);
}

.hero__actions .btn--primary:hover {
  background: #9a5f28;
}

.hero__actions .btn--ghost {
  color: var(--paper-soft);
  border-color: rgba(232, 223, 208, 0.35);
}

.hero__actions .btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero__hint {
  margin: 1.75rem 0 0;
  font-size: 0.92rem;
  color: rgba(232, 223, 208, 0.55);
  animation: fadeUp 0.9s var(--ease) 0.32s both;
}

@keyframes mapDrift {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.12) translate(-2%, 1.5%); }
}

@keyframes compassSpin {
  to { transform: rotate(360deg); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__map-layer,
  .hero__compass,
  .hero__eyebrow,
  .hero__title,
  .hero__subtitle,
  .hero__actions,
  .hero__hint {
    animation: none;
  }
}
