/* NO PERRY — Mesa de Guerra cinematic section entry hero (55B) */

.np-war-table-hero {
  --wth-void: #08070b;
  --wth-moss: rgba(143, 166, 91, 0.22);
  --wth-moss-ink: var(--np-moss-readable, #8fa65b);
  --wth-ink: #efe6d6;
  --wth-mute: rgba(232, 223, 209, 0.72);
  position: relative;
  isolation: isolate;
  min-height: clamp(18rem, 50vh, 34rem);
  max-height: 58vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--wth-ink);
  background: var(--wth-void);
}

.np-war-table-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.np-war-table-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.04);
  transform-origin: center 40%;
  will-change: transform;
}

.np-war-table-hero__shade,
.np-war-table-hero__moss,
.np-war-table-hero__vignette,
.np-war-table-hero__title-veil,
.np-war-table-hero__bottom {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Base dark integration — keep role frames readable */
.np-war-table-hero__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 3, 6, 0.55) 0%, rgba(4, 3, 6, 0.28) 38%, rgba(4, 3, 6, 0.45) 62%, rgba(8, 7, 11, 0.92) 100%),
    radial-gradient(ellipse 80% 55% at 50% 18%, rgba(0, 0, 0, 0.35), transparent 70%);
}

/* Soft moss atmospheric tint (NO PERRY) */
.np-war-table-hero__moss {
  z-index: 2;
  background:
    radial-gradient(ellipse 55% 40% at 72% 18%, rgba(90, 130, 60, 0.18), transparent 65%),
    radial-gradient(ellipse 40% 35% at 18% 55%, rgba(70, 100, 55, 0.1), transparent 70%);
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

/* Localized veil over baked artwork typography so HTML title owns the headline */
.np-war-table-hero__title-veil {
  z-index: 3;
  background:
    linear-gradient(
      180deg,
      rgba(5, 4, 7, 0.82) 0%,
      rgba(5, 4, 7, 0.68) 14%,
      rgba(5, 4, 7, 0.42) 28%,
      rgba(5, 4, 7, 0.18) 40%,
      transparent 56%
    ),
    radial-gradient(ellipse 70% 28% at 50% 16%, rgba(0, 0, 0, 0.55), transparent 72%);
}

.np-war-table-hero__vignette {
  z-index: 4;
  background:
    radial-gradient(ellipse 95% 85% at 50% 45%, transparent 42%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 14%, transparent 86%, rgba(0, 0, 0, 0.45) 100%);
  box-shadow: inset 0 48px 64px rgba(0, 0, 0, 0.35);
}

.np-war-table-hero__bottom {
  z-index: 5;
  background:
    linear-gradient(180deg, transparent 35%, rgba(8, 7, 11, 0.55) 68%, var(--wth-void) 100%);
}

.np-war-table-hero__content {
  position: relative;
  z-index: 6;
  width: min(44rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 12vh, 7rem) 0 clamp(2.75rem, 7vh, 4.25rem);
  text-align: center;
}

.np-war-table-hero__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.05;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.85),
    0 0 42px rgba(0, 0, 0, 0.45);
}

.np-war-table-hero__lead {
  margin: 0 auto 1.55rem;
  max-width: 28rem;
  color: var(--wth-mute);
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.np-war-table-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.55rem;
  border: 1px solid rgba(143, 166, 91, 0.45);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(143, 166, 91, 0.22), rgba(40, 48, 28, 0.55));
  color: var(--wth-ink);
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.np-war-table-hero__cta:hover,
.np-war-table-hero__cta:focus-visible {
  border-color: rgba(143, 166, 91, 0.85);
  background:
    linear-gradient(180deg, rgba(143, 166, 91, 0.34), rgba(50, 62, 34, 0.7));
  outline: none;
  transform: translateY(-1px);
}

.np-war-table-hero__cta:focus-visible {
  box-shadow:
    0 0 0 2px rgba(8, 7, 11, 0.9),
    0 0 0 4px rgba(143, 166, 91, 0.65);
}

.np-war-table-hero__dissolve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  height: clamp(4.5rem, 12vh, 7.5rem);
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8, 7, 11, 0.55) 45%, #060508 100%);
}

.np-war-table-hero__ornament {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  z-index: 8;
  width: min(14rem, 52vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(143, 166, 91, 0.55), transparent);
  pointer-events: none;
}

.np-war-table-hero__ornament::before,
.np-war-table-hero__ornament::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(143, 166, 91, 0.55);
  transform: translate(-50%, -50%) rotate(45deg);
  background: rgba(8, 7, 11, 0.85);
}

.np-war-table-hero__ornament::before { left: 18%; }
.np-war-table-hero__ornament::after { left: 82%; }

/* Bridge into arsenal host — remove hard seam */
#guild-constellation.np-arsenal-host {
  margin-top: -1px;
  padding-top: 2.25rem;
}

/* Soft narrative handoff (no duplicate artwork) */
.np-war-table-hero-bridge {
  position: relative;
  z-index: 9;
  display: flex;
  justify-content: center;
  margin: 0 auto 1.25rem;
  padding: 0 1rem;
}

.np-war-table-hero-bridge__link {
  color: var(--wth-moss-ink);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
}

.np-war-table-hero-bridge__link:hover,
.np-war-table-hero-bridge__link:focus-visible {
  opacity: 1;
  text-decoration: underline;
  outline: none;
}

@media (max-width: 900px) {
  .np-war-table-hero {
    min-height: clamp(16rem, 42vh, 28rem);
    max-height: 48vh;
  }

  .np-war-table-hero__img {
    object-position: 48% 36%;
    transform: scale(1.12);
  }
}

@media (max-width: 640px) {
  .np-war-table-hero {
    min-height: clamp(14rem, 38vh, 22rem);
    max-height: 42vh;
  }

  .np-war-table-hero__img {
    /* Artistic crop: identity + central role frames, not all six columns */
    object-position: 50% 34%;
    transform: scale(1.28);
  }

  .np-war-table-hero__content {
    width: min(100%, calc(100% - 1.5rem));
    padding-bottom: 3.25rem;
  }

  .np-war-table-hero__title {
    letter-spacing: 0.08em;
  }

  .np-war-table-hero__lead {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .np-war-table-hero__img {
    transform: none !important;
  }

  .np-war-table-hero__cta {
    transition: none;
  }

  .np-war-table-hero__cta:hover,
  .np-war-table-hero__cta:focus-visible {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .np-war-table-hero[data-parallax='1'] .np-war-table-hero__img {
    transform: translate3d(0, var(--wth-parallax-y, 0px), 0) scale(1.05);
  }
}
