@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;600;800&family=Source+Serif+4:ital,wght@0,300;0,400;1,300&display=swap');

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

body.is-spectral {
  background: #f0ece6;
  color: #1a1208;
  font-family: 'Source Serif 4', Georgia, serif;
}

/* ── Hero ── */
.sp-hero {
  min-height: 100svh;
  background: var(--hero-img) center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.sp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,5,0,0.2) 0%, rgba(15,5,0,0.75) 60%, rgba(15,5,0,0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 4rem 2rem 3rem;
}
.sp-hero__content { max-width: 700px; }
.sp-hero__eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #f4c869;
  margin-bottom: 0.6rem;
}
.sp-hero__title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}
.sp-hero__meta {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.2rem;
}

/* ── Topnav ── */
.sp-topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1rem 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
}
.sp-logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ── Labels ── */
.sp-labels { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.label-tag {
  background: rgba(244,200,105,0.18);
  border: 1px solid rgba(244,200,105,0.5);
  color: #f4c869;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: 'Raleway', sans-serif;
  text-decoration: none;
  transition: background 0.2s;
}
.label-tag:hover { background: rgba(244,200,105,0.35); }

/* ── Main ── */
.sp-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .sp-main { grid-template-columns: 1fr; }
  .sp-sidebar { order: -1; }
}

/* ── Gradient bar ── */
.sp-gradient-bar {
  height: 4px;
  background: linear-gradient(90deg, #c0392b, #f4c869, #27ae60);
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

/* ── Body text ── */
.sp-body { line-height: 1.8; }
.sp-body h1,.sp-body h2,.sp-body h3 {
  font-family: 'Raleway', sans-serif;
  color: #6b2d0f;
  margin: 1.5rem 0 0.5rem;
}
.sp-body p { margin-bottom: 1.1rem; }
.sp-body blockquote {
  border-left: 3px solid #f4c869;
  padding: 0.8rem 1.4rem;
  margin: 1.4rem 0;
  background: rgba(244,200,105,0.08);
  font-style: italic;
  color: #4a3520;
  line-height: 1.9;
}
.sp-body em { color: #8b3a18; }
.sp-body strong { color: #1a1208; }
.sp-body img { max-width: 100%; border-radius: 4px; margin: 1rem 0; }
.sp-body a { color: #8b3a18; }

/* ── Sidebar ── */
.sp-aside-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  position: sticky;
  top: 2rem;
}
.sp-aside-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}
.sp-aside-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sp-aside-info h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b2d0f;
  margin-bottom: 0.4rem;
}
.sp-aside-info p { font-size: 0.9rem; }
.sp-labels--aside .label-tag {
  background: rgba(139,58,24,0.08);
  border-color: rgba(139,58,24,0.3);
  color: #6b2d0f;
}

/* ── 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}
