.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

/* Ruffle SWF layer (launcher intro) */
.hero__swf {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050608;
}

.hero__swf ruffle-player,
.hero__swf #heroRufflePlayer,
.hero__swf object,
.hero__swf embed {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.hero__swf.is-failed {
  display: none;
}

.hero__swf-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,14,20,.82) 0%, rgba(11,14,20,.35) 52%, rgba(11,14,20,.55) 100%),
    linear-gradient(180deg, rgba(11,14,20,.15) 0%, rgba(11,14,20,.55) 60%, var(--ink) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,14,20,.88) 0%, rgba(11,14,20,.45) 55%, rgba(11,14,20,.7) 100%),
    linear-gradient(180deg, rgba(11,14,20,.2) 0%, rgba(11,14,20,.85) 78%, var(--ink) 100%),
    url("../../img/background.jpg") center/cover no-repeat;
  z-index: -1;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
}

.hero__mist {
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
  z-index: 2;
  opacity: .9;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 72px;
  animation: heroIn .9s var(--ease) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin: 0 0 12px;
}

.hero__headline {
  margin: 0 0 10px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  color: var(--text);
  max-width: 16ch;
}

.hero__sub {
  margin: 0 0 28px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 15px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.events-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.events-strip a {
  display: block;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: rgba(22, 26, 34, 0.65);
  color: var(--text);
}

.events-strip a:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
}

.events-strip strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.events-strip span {
  color: var(--muted);
  font-size: 12px;
}

.home-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .home-split { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 78vh; }
  .hero__content { padding-bottom: 48px; }
}
