/* ── spectral: Pierre Richard in Bilbao ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.is-spectral {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  background: #f5f0e8;
  color: #2a1a10;
  overflow-x: hidden;
}

/* ── HERO ── */
.sp-hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a0a2e 35%, #5c1a2e 70%, #8b2a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform;
}

.sp-hero__geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sp-geo-svg {
  width: 100%;
  height: 100%;
}

/* Warm terracotta grain texture overlay */
.sp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(180,80,30,.04) 2px,
      rgba(180,80,30,.04) 4px
    );
  pointer-events: none;
}

.sp-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 800px;
}

.sp-hero__meta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Raleway', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f5e6c8;
  border: 1px solid rgba(212,165,80,.4);
  padding: .35rem .9rem;
  border-radius: 2px;
  background: rgba(0,0,0,.2);
}
.sp-badge--loc { color: #f0d090; border-color: rgba(212,165,80,.6); }

.sp-hero__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
  letter-spacing: -.02em;
}
.sp-hero__title em {
  display: block;
  font-weight: 300;
  font-style: italic;
  font-family: 'Source Serif 4', serif;
  font-size: .65em;
  color: #f0d090;
  letter-spacing: .04em;
}

.sp-hero__labels {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.label-tag {
  font-family: 'Raleway', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0d1b3e;
  background: #c8922a;
  padding: .3rem .85rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.label-tag:hover { background: #f0d090; }

.sp-hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
}
.sp-scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(212,165,80,.8), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
.sp-scroll-text {
  font-family: 'Raleway', sans-serif;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(212,165,80,.7);
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .4; transform: scaleY(.7); }
}

/* ── AMBER STRIP ── */
.sp-strip {
  line-height: 0;
  margin-top: -2px;
}
.sp-strip svg { width: 100%; display: block; }

/* ── INTRO ── */
.sp-intro {
  padding: 4rem 2rem 2rem;
  background: #f5f0e8;
  text-align: center;
}
.sp-container { max-width: 1100px; margin: 0 auto; }
.sp-container--narrow { max-width: 680px; }

.sp-intro__ornament {
  margin: 0 auto 1.5rem;
  width: 60px;
}
.sp-intro__lead {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: #5c1a2e;
  letter-spacing: .03em;
  font-style: italic;
}

/* ── CONTENT ── */
.sp-content {
  padding: 3rem 2rem 5rem;
  background: #f5f0e8;
}
.sp-prose {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #2a1a10;
}
.sp-prose p { margin-bottom: 1.5rem; }
.sp-prose p:last-child { margin-bottom: 0; }

/* Decorative first letter */
.sp-prose p:first-child::first-letter {
  float: left;
  font-family: 'Raleway', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: .75;
  color: #8b2a1a;
  margin: .1rem .2rem -.1rem 0;
  padding-right: .05rem;
}

/* ── PATTERN ROW ── */
.sp-pattern-row {
  line-height: 0;
  overflow: hidden;
}
.sp-pattern-row svg { width: 100%; display: block; }

/* ── FOOTER SECTION ── */
.sp-footer-section {
  padding: 3rem 2rem 4rem;
  background: #2a1a10;
}
.sp-footer-section .sp-container--narrow { color: #c8a060; }

/* ── REVEAL ANIMATIONS ── */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal { transform: translateY(0); opacity: 0; transition: opacity .8s ease .1s; }
.reveal.is-visible, .reveal-up.is-visible { opacity: 1; transform: translateY(0); }

/* ── event-collections nav (injected by collect.py) ── */
.event-collections {
  font-family: 'Raleway', sans-serif;
  font-size: .8rem;
  color: #c8a060;
}
.event-collections a { color: #f0d090; }

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