@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --dark:    #0e0c0a;
  --mid:     #1c1814;
  --gold:    #c9a84c;
  --gold2:   #f0d070;
  --text:    #f0ece4;
  --muted:   rgba(240,236,228,0.55);
  --border:  rgba(201,168,76,0.2);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Topbar ── */
.story-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14,12,10,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform .4s ease;
}
.story-topbar.visible { transform: translateY(0); }
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.topbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--gold);
  text-decoration: none;
}
.topbar-title {
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  flex: 1;
}
.topbar-back {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.topbar-back:hover { color: var(--gold); }

/* ── Panels ── */
.panel {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.panel.revealed { opacity: 1; transform: translateY(0); }

/* ── Hero panel ── */
.panel-hero {
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.4) saturate(0.7);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14,12,10,0.6) 0%,
    rgba(14,12,10,0.4) 50%,
    rgba(14,12,10,0.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem;
  max-width: 700px;
}

.breadcrumb {
  display: flex;
  gap: .4rem;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: .4; }

.hero-meta {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}
.hero-dot { opacity: .4; }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.95;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 4px 40px rgba(201,168,76,0.3);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-labels { display: flex; gap: .5rem; flex-wrap: wrap; }
.label-tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .22rem .7rem;
  border-radius: 2px;
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border);
  color: var(--gold);
  text-decoration: none;
  transition: all .2s;
}
.label-tag:hover { background: rgba(201,168,76,0.22); }

/* ── Split panel ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  align-items: stretch;
}
.split-text {
  background: var(--mid);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}
.split-image {
  overflow: hidden;
  background: #000;
}
.split-image a { display: block; height: 100%; }
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(0.75) saturate(0.8);
  transition: filter .5s;
  cursor: zoom-in;
}
.split-image:hover img { filter: brightness(0.9) saturate(1); }

.panel-label {
  font-family: 'Playfair Display', serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.panel-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}

.panel-body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text);
}
.panel-body p { margin-bottom: 1.2rem; }
.panel-body p:last-child { margin-bottom: 0; }

/* ── Full content panel ── */
.panel-content {
  background: var(--dark);
  padding: 6rem 0;
  align-items: flex-start;
  min-height: auto;
}
.content-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 3rem;
}

.event-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}
.event-body blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1rem 0 2rem;
  background: rgba(201,168,76,0.04);
  border-radius: 0 8px 8px 0;
}
.event-body blockquote p { margin-bottom: 1rem; }
.event-body blockquote p:last-child { margin-bottom: 0; }
.event-body p { margin-bottom: 1rem; }
.event-body img {
  max-width: 100%;
  border-radius: 6px;
  display: block;
  margin: 1.5rem 0;
  cursor: zoom-in;
  transition: transform .3s;
}
.event-body img:hover { transform: scale(1.02); }
.event-body a { color: var(--gold); text-decoration: none; }

/* ── Closing panel ── */
.panel-close {
  background: var(--mid);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem;
}
.close-inner {
  max-width: 500px;
}
.close-sword {
  font-size: 4rem;
  margin-bottom: 2rem;
  animation: swordSpin 8s linear infinite;
}
@keyframes swordSpin {
  0%, 100% { transform: rotate(-10deg); }
  50%       { transform: rotate(10deg); }
}
.close-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold2);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.close-credit {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-weight: 500;
}
.back-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.back-link:hover { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; min-height: auto; }
  .split-text { padding: 2.5rem 1.5rem; }
  .split-image { height: 300px; }
  .hero-content { padding: 2rem 1.5rem; }
  .content-inner { padding: 0 1.5rem; }
  .hero-title { font-size: 5rem; }
  .topbar-inner { padding: .75rem 1rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 3.5rem; }
  .hero-content { padding: 1.5rem 1rem; }
  .content-inner { padding: 0 1rem; }
  .panel-close { padding: 3rem 1.5rem; }
  .close-quote { font-size: 1.2rem; }
}

/* ── 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(--gold,#c9a84c);text-decoration:none;opacity:.8;transition:opacity .2s}
nav.event-collections .ec-link:hover{opacity:1}
