/* ═══════════════════════════════════════════════════════════
   Festival Page
   Drop-in stylesheet — matches base.css design tokens.
   Class prefix: fp-
   ═══════════════════════════════════════════════════════════ */

.fp-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 60px;
  position: relative;
  z-index: 5;
  animation: fp-slide-up .45s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes fp-slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fp-loading {
  text-align: center; padding: 120px 24px; color: var(--muted);
}
.fp-back {
  position: absolute; top: 82px; left: 12px; z-index: 10;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(17, 24, 39, .75);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .7); cursor: pointer;
  transition: all var(--transition); font-size: 18px;
}
.fp-back:hover { color: var(--text); border-color: var(--accent); }
.fp-back-btn {
  margin-top: 12px; padding: 8px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface2);
  color: var(--text); cursor: pointer; font: inherit;
}
.fp-back-btn:hover { border-color: var(--accent); }

/* ─── Hero ─────────────────────────────────────────────── */

.fp-hero {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface);
  position: relative;
}
.fp-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg) 100%);
}
.fp-hero-placeholder {
  background: linear-gradient(135deg, var(--vita-v) 0%, var(--vita-i) 50%, var(--vita-t) 100%);
  display: flex; align-items: center; justify-content: center;
}
.fp-hero-emoji {
  font-size: 96px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.4));
  position: relative; z-index: 1;
}

/* ─── Header ─────────────────────────────────────────────── */

.fp-header {
  margin: -60px 20px 24px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.fp-eyebrow {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--accent);
  margin-bottom: 6px; font-weight: 600;
}

.fp-name {
  font-size: 32px; font-weight: 700; letter-spacing: -.02em;
  margin: 0 0 10px;
  background: linear-gradient(120deg, var(--vita-v) 0%, var(--vita-i) 50%, var(--vita-t) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fp-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 13px;
}
.fp-meta-text { color: var(--muted); font-size: 13px; }
.fp-meta-text:not(:last-child)::after { content: '·'; margin-left: 8px; opacity: .4; }

/* ─── Section common ─────────────────────────────────────────────── */

.fp-page > section { padding: 0 20px; margin-bottom: 24px; }

.fp-section-title {
  font-size: 14px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 600; margin-bottom: 12px;
}

/* ─── Dates section ─────────────────────────────────────────────── */

.fp-date-pill {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}
.fp-date-detail {
  font-size: 12px; color: var(--muted); margin-bottom: 12px;
}
.fp-event-links { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-event-link {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 12px; cursor: pointer;
  transition: all var(--transition);
  font: inherit;
}
.fp-event-link:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Vibe ─────────────────────────────────────────────── */

.fp-vibe-text {
  font-size: 15px; line-height: 1.65; color: var(--text-dim); margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
}

/* ─── Tags ─────────────────────────────────────────────── */

.fp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-tag {
  background: var(--surface3); color: var(--text);
  padding: 4px 10px; border-radius: var(--radius-xs);
  font-size: 12px; font-weight: 500;
}

/* ─── Map link ─────────────────────────────────────────────── */

.fp-link {
  display: inline-block;
  background: var(--surface2); border: 1px solid var(--border-light);
  color: var(--text); padding: 8px 14px; border-radius: var(--radius-sm);
  text-decoration: none; font-size: 13px;
  transition: all var(--transition);
}
.fp-link:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Other years ─────────────────────────────────────────────── */

.fp-other-years-list { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-year-pill {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  font: inherit;
}
.fp-year-pill:hover { border-color: var(--vita-i); color: var(--vita-i); }

/* ─── Sources ─────────────────────────────────────────────── */

.fp-sources {
  margin: 32px 20px 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 11px; color: var(--muted);
}
.fp-sources-label {
  text-transform: uppercase; letter-spacing: .08em; margin-right: 6px;
}
.fp-sources a {
  color: var(--muted); text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .15);
}
.fp-sources a:hover { color: var(--text); }
.fp-source-sep { opacity: .5; }

/* ─── Loading ─────────────────────────────────────────────── */

.fp-shows-loading {
  color: var(--muted); font-size: 13px; padding: 8px 0; font-style: italic;
}

/* ─── Mobile ─────────────────────────────────────────────── */

@media (max-width: 640px) {
  .fp-hero { height: 240px; }
  .fp-header { margin: -40px 16px 20px; padding: 20px; }
  .fp-name { font-size: 26px; }
  .fp-vibe-text { padding: 14px 16px; font-size: 14px; }
}
