@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;600;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.is-highlights {
  background: #111;
  color: #eee;
  font-family: 'Raleway', sans-serif;
  overflow: hidden;
  height: 100svh;
}

/* ── Nav bar ── */
.hl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hl-logo {
  font-weight: 900;
  font-size: 1rem;
  color: #e74c3c;
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hl-progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.hl-progress::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: #e74c3c;
  width: var(--prog, 33%);
  transition: width 0.4s;
}
.hl-counter { font-size: 0.8rem; color: rgba(238,238,238,0.5); white-space: nowrap; }
.hl-arrows { display: flex; gap: 0.4rem; }
.hl-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: #eee;
  font-size: 1.1rem;
  width: 32px; height: 32px;
  border-radius: 4px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.hl-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.hl-btn:disabled { opacity: 0.3; cursor: default; }

/* ── Track ── */
.hl-track {
  display: flex;
  flex-direction: row;
  height: 100svh;
  padding-top: 52px;
  transition: transform 0.55s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}

/* ── Slides ── */
.hl-slide {
  flex: 0 0 100vw;
  width: 100vw;
  height: calc(100svh - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Hero slide */
.hl-slide--hero { background: #0a0a0a; }
.hl-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}
.hl-slide__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
  text-align: center;
}
.hl-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e74c3c;
  margin-bottom: 1rem;
}
.hl-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 0.8rem;
}
.hl-location { font-size: 0.9rem; color: rgba(238,238,238,0.55); margin-bottom: 1.2rem; }
.hl-labels { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-bottom: 1.5rem; }
.label-tag {
  background: rgba(231,76,60,0.15);
  border: 1px solid rgba(231,76,60,0.4);
  color: #e74c3c;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-decoration: none;
  transition: background 0.2s;
}
.label-tag:hover { background: rgba(231,76,60,0.3); }
.hl-hint { font-size: 0.8rem; color: rgba(238,238,238,0.35); animation: pulse-hint 2s ease-in-out infinite; }
@keyframes pulse-hint { 0%,100%{opacity:0.35} 50%{opacity:0.7} }

/* Text slide */
.hl-slide--text { background: #f5f0ea; color: #1a1208; align-items: flex-start; }
.hl-slide__inner {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  scrollbar-width: thin;
}
.hl-slide__inner h4 { font-size: 1.3rem; color: #e74c3c; margin: 1.5rem 0 0.5rem; }
.hl-slide__inner p { margin-bottom: 1rem; line-height: 1.75; }
.hl-slide__inner img { max-width: 120px; height: auto; border-radius: 4px; margin: 0.25rem; }
.hl-slide__inner figure { display: inline-block; margin: 0.25rem; }
.hl-slide__inner [itemtype] { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hl-slide__inner a { color: #e74c3c; }

/* Credits slide */
.hl-slide--credits {
  background: linear-gradient(135deg, #1a0a0a 0%, #2d0f0f 50%, #1a0a0a 100%);
}
.hl-slide__credits-content {
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.hl-credits-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: #e74c3c;
  letter-spacing: 0.05em;
}
.hl-credits-sub { font-size: 1.1rem; color: rgba(238,238,238,0.7); font-weight: 300; }
.hl-credits-date { font-size: 0.85rem; color: rgba(238,238,238,0.4); }
.hl-labels--center { justify-content: center; }
.hl-credits-back {
  margin-top: 1rem;
  color: #e74c3c;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid rgba(231,76,60,0.4);
  padding: 0.5rem 1.2rem;
  border-radius: 3px;
  transition: background 0.2s;
}
.hl-credits-back:hover { background: rgba(231,76,60,0.15); }

@media (max-width: 480px) {
  .hl-title { font-size: 2rem; }
  .hl-slide__inner { padding: 2rem 1rem; }
}

/* ── Lightbox ── */
#lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.9);
  z-index:9999;align-items:center;justify-content:center;
  flex-direction:column;gap:.5rem}
#lightbox img{max-width:90vw;max-height:80vh;object-fit:contain}
.lb-close{position:fixed;top:1rem;right:1.5rem;font-size:2.5rem;
  color:#fff;cursor:pointer;line-height:1;opacity:.8}
.lb-close:hover{opacity:1}
.lb-nav{position:fixed;top:50%;transform:translateY(-50%);font-size:3rem;
  color:#fff;cursor:pointer;padding:.5rem;user-select:none;opacity:.7}
.lb-nav:hover{opacity:1}
.lb-prev{left:1rem}.lb-next{right:1rem}
.lb-caption{color:#ccc;font-size:.9rem;text-align:center;max-width:80vw}

/* ── Collection links ── */
nav.event-collections{display:flex;flex-wrap:wrap;gap:.5rem 1rem;padding:1rem 1.5rem;border-top:1px solid rgba(128,128,128,.2);font-family:var(--font-head,sans-serif);font-size:.82rem}
nav.event-collections .ec-link{color:var(--accent,#888);text-decoration:none;opacity:.8;transition:opacity .2s}
nav.event-collections .ec-link:hover{opacity:1}
