.hero__section {
  position: relative;
  isolation: isolate;
}

.hero__section .hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 11, 15, .65) 0%, rgba(10, 11, 15, .45) 35%, rgba(10, 11, 15, .25) 60%, rgba(10, 11, 15, .55) 100%),
    var(--hero-image, var(--bg-image)) center/cover no-repeat;
  background-position: center;
  filter: saturate(.9) contrast(1.05) brightness(0.85);
}

.hero__section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at -10% 10%, rgba(228, 195, 122, .22), transparent 60%),
    radial-gradient(1200px 680px at 110% -10%, rgba(224, 122, 63, .16), transparent 60%);
}

.hero__section .hero__wrap {
  position: relative;
}

.hero__section .hero__backdrop {
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 64px 0 56px;
}

.hero__kicker {
  font: 700 14px/1.2 Cinzel, serif;
  letter-spacing: .25em;
  color: #d7c7a1;
  text-transform: uppercase;
  opacity: .9;
}

h1.hero__title {
  margin: 6px 0 8px;
  font: 900 clamp(44px, 7vw, 84px)/1.03 Cinzel, serif;
  letter-spacing: .6px;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin: 8px 0 0;
  max-width: 820px;
  color: var(--muted);
}

.hero__actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--text);
  border: 1px solid rgba(228, 195, 122, 0.25);
  background: linear-gradient(135deg,
    rgba(22, 26, 33, 0.95) 0%,
    rgba(16, 19, 24, 0.98) 50%,
    rgba(22, 26, 33, 0.95) 100%);
  backdrop-filter: blur(12px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(228, 195, 122, 0.1);
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
  will-change: transform, box-shadow;
}

.hero__btn:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(228, 195, 122, 0.4);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(228, 195, 122, 0.2),
    inset 0 1px 0 rgba(228, 195, 122, 0.15);
}

.hero__btn:active {
  transform: translateY(-1px) scale(.99);
}

.hero__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(228, 195, 122, 0.15) 30%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(228, 195, 122, 0.15) 70%,
    transparent 100%);
  transform: translateX(-150%);
  transition: transform .8s ease, opacity .4s ease;
  border-radius: inherit;
}

.hero__btn:hover::before {
  transform: translateX(150%);
  opacity: 1;
}

.hero__btn:focus-visible {
  outline: 3px solid rgba(228, 195, 122, .35);
  outline-offset: 2px;
  border-radius: 14px;
}

.hero__btn.hero__btn--primary {
  border: 1px solid rgba(228, 195, 122, 0.6);
  background: linear-gradient(135deg,
    var(--gold-1) 0%,
    var(--gold-2) 50%,
    #c4932f 100%);
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  box-shadow:
    0 12px 32px rgba(228, 195, 122, 0.35),
    0 6px 16px rgba(228, 195, 122, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  animation: hero__btn-breathe 4s ease-in-out infinite;
}

@keyframes hero__btn-breathe {
  0%, 100% {
    box-shadow:
      0 12px 32px rgba(228, 195, 122, 0.3),
      0 6px 16px rgba(228, 195, 122, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 16px 48px rgba(228, 195, 122, 0.45),
      0 8px 20px rgba(228, 195, 122, 0.35),
      0 0 24px rgba(228, 195, 122, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
  }
}

.hero__btn.hero__btn--primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 20px 60px rgba(228, 195, 122, 0.5),
    0 12px 24px rgba(228, 195, 122, 0.4),
    0 0 30px rgba(228, 195, 122, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  filter: brightness(1.1) saturate(1.1);
}

.hero__btn.hero__btn--primary:active {
  transform: translateY(-2px) scale(1.02);
}

.hero__btn.hero__btn--primary::before {
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 30%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.3) 70%,
    transparent 100%);
}

