/* ============================================
   /festivals/:slug — SEO hub index
   Mirrors lp-festival token usage (var(--accent-teal), dark gradient bg).
   ============================================ */

body[data-page="festival-hub"],
body[data-page="festival-index"] {
  background: var(--bg, #07070d);
  color: var(--fg, #f0efe8);
}

.festival-hub {
  display: flex;
  flex-direction: column;
}

/* ---- Hero ---- */
.festival-hub-hero {
  position: relative;
  padding: 120px clamp(24px, 5vw, 64px) 60px;
  overflow: hidden;
}

.festival-hub-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 50% 0%, rgba(88, 28, 135, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 80% 30%, rgba(30, 58, 138, 0.4) 0%, transparent 50%),
    linear-gradient(175deg, #0b0018 0%, #07070d 50%, #07070d 100%);
  pointer-events: none;
}

.festival-hub-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.festival-hub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal, #00e8c8);
  background: rgba(0, 232, 200, 0.08);
  border: 1px solid rgba(0, 232, 200, 0.22);
  border-radius: var(--radius-pill, 999px);
}

.festival-hub-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal, #00e8c8);
  box-shadow: 0 0 10px var(--accent-teal, #00e8c8);
}

.festival-hub-headline {
  font-family: var(--font-display, 'Syne'), sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 22px 0 18px;
}

.festival-hub-sub {
  font-size: 1.05rem;
  color: var(--fg-muted, #7c7c8a);
  line-height: 1.7;
  max-width: 560px;
  margin: 0;
}

/* ---- Card grid ---- */
.hub-cards {
  padding: 24px clamp(24px, 5vw, 64px) clamp(80px, 10vw, 120px);
}

.hub-cards-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  background: var(--bg-card, #0d0d16);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.07));
  border-radius: var(--radius-lg, 16px);
  text-decoration: none;
  color: var(--fg, #f0efe8);
  transition: background 160ms ease, border-color 160ms ease, transform 200ms ease;
}

.hub-card:hover,
.hub-card:focus-visible {
  background: var(--bg-card-hover, #12121c);
  border-color: var(--border-strong, rgba(255, 255, 255, 0.14));
  transform: translateY(-2px);
}

.hub-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.hub-card-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted, #7c7c8a);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.07));
  border-radius: var(--radius-pill, 999px);
}

.hub-card-title {
  font-family: var(--font-display, 'Syne'), sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #ffffff;
}

.hub-card-meta {
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--fg-muted, #7c7c8a);
}

.hub-card-count {
  font-weight: 500;
}

.hub-card-cta {
  margin-top: auto;
  font-family: var(--font-body, 'DM Sans'), sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-teal, #00e8c8);
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .festival-hub-hero {
    padding: 100px 24px 40px;
  }

  .hub-cards-inner {
    grid-template-columns: 1fr;
  }
}
