/* Home page only: the Chaos Convoy capsule at the top. Loaded after /styles.css. */

.hero.hero-capsule {
  isolation: isolate;
  padding: 28px 0 64px;
  background: var(--bg) url("chaos-convoy/img/v2/cavern-1438.jpg") center top / cover no-repeat;
}
.hero.hero-capsule::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 46% at 50% 30%, rgba(255, 128, 24, 0.2), transparent 72%),
    linear-gradient(to bottom, rgba(11, 14, 20, 0.45) 20%, rgba(11, 14, 20, 0.86) 68%, var(--bg) 100%);
}
.hero.hero-capsule .wrap { display: block; max-width: 1160px; text-align: center; }
.hero-capsule .eyebrow { color: #ffb35c; }
/* as wide as the window allows while the Wishlist button stays on the first screen */
.hero h1.home-capsule { margin: 0 auto 24px; width: min(100%, 1120px, max(640px, calc((100vh - 250px) * 1.745))); line-height: 0; }
.home-capsule a { display: block; border-radius: 16px; }
.home-capsule img {
  width: 100%; height: auto; border-radius: 16px; background: #3a1d0e;
  box-shadow: 0 0 0 1px rgba(255, 176, 90, 0.4), 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 90px rgba(255, 118, 18, 0.2);
  transition: filter 0.2s ease;
}
.home-capsule a:hover img { filter: brightness(1.07); }
.hero-capsule .actions { justify-content: center; }
.hero-capsule .lede { max-width: 46ch; margin: 36px auto 22px; }
.hero-capsule .badges { justify-content: center; margin-bottom: 0; }

@media (max-width: 600px) {
  .hero.hero-capsule { padding: 16px 0 48px; }
  .hero.hero-capsule .wrap { padding: 0 12px; }
  .hero h1.home-capsule { width: 100%; margin-bottom: 18px; }
  .home-capsule a, .home-capsule img { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .home-capsule img { transition: none; } }
