/* TenguBet scene hero — banner art recedes; copy stays in front (VR stack POC) */

@import url("/assets/tengu-tokens.css");

.tb-scene-hero {
  --tb-scene-height: clamp(240px, 36vw, 400px);
  --tb-scene-radius: var(--tb-radius-xl, 24px);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: var(--tb-scene-height);
  margin: 0 auto;
  width: min(100%, 1240px);
  border-radius: var(--tb-scene-radius);
  overflow: hidden;
  border: 1px solid var(--tb-hud-border, rgba(255, 212, 107, 0.16));
  box-shadow: var(--tb-hud-shadow, 0 28px 70px rgba(0, 0, 0, 0.48));
  background: var(--tb-bg-deep, #060504);
}

.tb-scene-hero__backdrop {
  position: absolute;
  inset: -12% -8% -4%;
  z-index: var(--tb-z-scene, 0);
  transform: scale(1.14) translateY(3%);
  transform-origin: center 42%;
  pointer-events: none;
}

.tb-scene-hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) brightness(0.42) blur(1.5px);
  opacity: 0.92;
}

.tb-scene-hero__veil {
  position: absolute;
  inset: 0;
  z-index: calc(var(--tb-z-scene, 0) + 1);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 5, 4, 0.2) 0%, rgba(6, 5, 4, 0.55) 52%, rgba(6, 5, 4, 0.92) 100%),
    radial-gradient(120% 90% at 50% 100%, rgba(139, 26, 26, 0.22), transparent 58%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.35) 100%);
}

.tb-scene-hero__focal {
  position: relative;
  z-index: var(--tb-z-focal, 1);
  padding: clamp(20px, 4vw, 36px) clamp(22px, 4.5vw, 40px);
  max-width: 720px;
}

.tb-scene-hero__kicker {
  margin: 0 0 8px;
  font-family: var(--tb-font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tb-gold, #ffd46b);
}

.tb-scene-hero__title {
  margin: 0;
  font-family: var(--tb-font-display, Impact, sans-serif);
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--tb-text-bright, #fff4d8);
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.35),
    0 0 40px rgba(255, 212, 107, 0.18);
}

.tb-scene-hero__lead {
  margin: 12px 0 0;
  max-width: 38ch;
  font-family: var(--tb-font-body);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  line-height: 1.45;
  color: var(--tb-muted, rgba(246, 241, 232, 0.68));
}

.tb-scene-hero-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 8px;
}

.tb-scene-hero-link:hover .tb-scene-hero__title {
  color: #fff;
}

.tb-scene-hero-link:focus-visible {
  outline: 2px solid var(--tb-gold, #ffd46b);
  outline-offset: 4px;
  border-radius: var(--tb-scene-radius);
}

/* Site header logo — refreshed mark */
.access-tier-nav__brand img {
  height: 42px;
  width: auto;
  max-width: min(220px, 46vw);
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(139, 26, 26, 0.35));
}

@media (max-width: 640px) {
  .tb-scene-hero {
    --tb-scene-height: clamp(220px, 58vw, 300px);
  }

  .tb-scene-hero__backdrop {
    transform: scale(1.2) translateY(5%);
  }

  .access-tier-nav__brand img {
    height: 34px;
  }
}
