/* =========================================================
   Unified hero carousel — brand + event banner
   Event slide: banner image + live clickable details
   ========================================================= */

.hero {
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--dark);
  transition: opacity 0.55s ease;
}
.hero-media-zoom {
  position: absolute;
  inset: -3%;
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  will-change: transform;
}
.hero[data-hero-ready] .hero-media-zoom {
  animation: heroKenBurns 24s ease-in-out infinite alternate;
}
.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(12, 10, 8, 0.58) 0%,
      rgba(12, 10, 8, 0.48) 40%,
      rgba(12, 10, 8, 0.68) 100%);
  transition: opacity 0.55s ease;
}
.hero.is-event-slide .hero-media,
.hero.is-event-slide .hero-overlay {
  opacity: 0;
  pointer-events: none;
}

/* Keep site logo/nav readable over the event slide */
body.hero-showing-event .site-header {
  background: rgba(12, 10, 14, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero.has-event-promo.hero-large,
.hero.has-event-promo.hero-full { min-height: 86vh; }
.hero.has-event-promo.hero-medium { min-height: 72vh; }
.hero.has-event-promo {
  align-items: stretch;
  justify-content: stretch;
}

/* Slides fill the hero */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s ease, visibility 0.65s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---- brand slide ---- */
.hero-brand-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 88px;
  box-sizing: border-box;
  text-align: center;
}
.hero.has-event-promo .hero-content {
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}
.hero.has-event-promo .hero-content h1 {
  font-size: clamp(30px, 5vw, 56px);
  color: #f7f3ec;
  margin-bottom: 8px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero.has-event-promo .hero-sub {
  margin: 0 auto;
  font-size: clamp(15px, 1.7vw, 18px);
  max-width: 540px;
  color: rgba(247, 243, 236, 0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.hero-actions .btn { padding: 13px 22px; }

.btn-hero-ghost {
  display: inline-block;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f7f3ec;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.55);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.btn-hero-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

/* ---- event slide: split info + cropped visual ---- */
.hero-slide-event {
  display: flex;
  background: #120816;
}
.hero-event-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 1.05fr);
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.hero-event-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 100px clamp(22px, 4vw, 56px) 72px;
  text-align: left;
  color: #f7f3ec;
  box-sizing: border-box;
  background:
    linear-gradient(160deg, #161018 0%, #1b1220 55%, #140e18 100%);
  border-right: 1px solid rgba(201, 162, 39, 0.22);
  overflow-y: auto;
}
.hero-event-kicker {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-event-heading {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.12;
  color: #fff;
  text-shadow: none;
}
.hero-event-heading a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero-event-heading a:hover { color: var(--gold); }

.hero-event-tagline {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.7vw, 17px);
  font-style: italic;
  font-weight: 400;
  color: rgba(247, 243, 236, 0.82);
  line-height: 1.45;
  max-width: 30em;
}

.hero-event-visual {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: #1a0a24;
}
.hero-event-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transform: scale(1.04);
  transition: transform 9s ease;
}
.hero-slide-event.is-active .hero-event-visual img {
  transform: scale(1);
}
.hero-event-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 8, 22, 0.35) 0%, transparent 28%);
}

.hero-event-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(201, 162, 39, 0.28);
}
.hero-event-fact {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: baseline;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.1);
  transition: color 0.2s ease;
}
a.hero-event-fact:hover .hero-event-fact-value,
a.hero-event-fact:hover .hero-event-fact-hint {
  color: var(--gold);
}
.hero-event-fact-label {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-event-fact-value {
  grid-column: 2;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.35;
  transition: color 0.2s ease;
}
.hero-event-fact-hint {
  grid-column: 2;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(247, 243, 236, 0.58);
  line-height: 1.35;
  transition: color 0.2s ease;
}

.hero-event-actions {
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.hero-event-actions .btn,
.hero-event-actions .btn-hero-ghost {
  padding: 13px 22px;
}

.hero-countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.65);
}
.hero-countdown-pair strong {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin-right: 5px;
}
.hero-countdown.is-passed .hero-countdown-pair strong {
  color: rgba(247, 243, 236, 0.45);
}

/* Carousel chrome */
.hero-carousel-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  pointer-events: none;
}
.hero-carousel-ui > * {
  pointer-events: auto;
}
.hero-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: rgba(247, 243, 236, 0.85);
  background: rgba(8, 8, 8, 0.35);
  border: 1px solid rgba(201, 162, 39, 0.45);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.hero-nav:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(8, 8, 8, 0.55);
}
.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.85);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.hero-dot.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 2px;
  background: rgba(201, 162, 39, 0.18);
  overflow: hidden;
  pointer-events: none;
}
.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
}

@keyframes heroKenBurns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.08) translate3d(-0.8%, -0.4%, 0); }
}
@keyframes heroProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

@media (max-width: 820px) {
  .hero.has-event-promo.hero-large,
  .hero.has-event-promo.hero-full,
  .hero.has-event-promo.hero-medium { min-height: 0; }
  .hero-brand-inner { padding: 108px 18px 80px; }
  .hero-event-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(220px, 42vh);
  }
  .hero-event-panel {
    order: 2;
    padding: 28px 18px 92px;
    border-right: 0;
    border-top: 1px solid rgba(201, 162, 39, 0.22);
  }
  .hero-event-visual {
    order: 1;
    min-height: 220px;
    max-height: 42vh;
  }
  .hero-event-visual img {
    object-position: center 12%;
  }
  .hero-event-actions { width: 100%; }
  .hero-event-actions .btn,
  .hero-event-actions .btn-hero-ghost {
    flex: 1 1 auto;
    text-align: center;
  }
  .hero-actions { width: 100%; }
  .hero-actions .btn,
  .hero-actions .btn-hero-ghost {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media-zoom,
  .hero[data-hero-ready] .hero-media-zoom,
  .hero-slide-event.is-active .hero-event-visual img {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-slide { transition: none !important; }
  .hero-progress span {
    animation: none !important;
    width: 0 !important;
  }
}
