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

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

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

/* ── Sticky header ── */
.ms-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #f8f5f0;
  border-bottom: 2px solid #1a1208;
  padding: 0.6rem 1.5rem;
  transition: box-shadow 0.3s;
}
.ms-header.shadow { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.ms-nav {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ms-logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: #c0392b;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ms-nav__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: #666;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* ── Hero block ── */
.ms-hero-block {
  max-width: 760px;
  margin: 4rem auto 0;
  padding: 0 1.5rem;
  border-left: 6px solid #c0392b;
}
.ms-hero-deco { margin-bottom: 1rem; }
.ms-wordmark-svg { width: 100%; max-width: 360px; height: auto; }
.ms-headline {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #1a1208;
}
.ms-byline {
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ms-sep { color: #ccc; }
.ms-date, .ms-place { color: #c0392b; font-weight: 600; }

/* ── Labels ── */
.ms-labels { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.label-tag {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.3);
  color: #c0392b;
  padding: 0.2rem 0.7rem;
  border-radius: 2px;
  font-size: 0.78rem;
  font-family: 'Raleway', sans-serif;
  text-decoration: none;
  transition: background 0.2s;
}
.label-tag:hover { background: rgba(192,57,43,0.18); }

/* ── Rule ── */
.ms-rule {
  height: 3px;
  background: repeating-linear-gradient(90deg, #1a1208 0px, #1a1208 8px, transparent 8px, transparent 12px);
  margin-bottom: 3rem;
}

/* ── Main ── */
.ms-main { max-width: 760px; margin: 0 auto; padding: 0 1.5rem 5rem; }

/* ── Article ── */
.ms-article { line-height: 1.9; font-size: 1.05rem; }
.ms-article h1,.ms-article h2,.ms-article h3,.ms-article h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: #c0392b;
  margin: 2rem 0 0.6rem;
}
.ms-article h4 { font-size: 1.1rem; }
.ms-article p { margin-bottom: 1.1rem; }
.ms-article blockquote {
  border-left: 3px solid #c0392b;
  margin: 1.5rem 0;
  padding: 0.8rem 1.5rem;
  background: rgba(192,57,43,0.04);
  font-style: italic;
  color: #4a3020;
}
.ms-article em { color: #c0392b; font-style: italic; }
.ms-article strong { font-weight: 700; }
.ms-article a { color: #c0392b; }
.ms-article img { max-width: 100%; border-radius: 3px; margin: 1rem 0; }

@media (max-width: 480px) {
  .ms-hero-block { border-left: 4px solid #c0392b; }
  .ms-headline { font-size: 2.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(--accent,#888);text-decoration:none;opacity:.8;transition:opacity .2s}
nav.event-collections .ec-link:hover{opacity:1}
