/* aerial template – Der Dezibel-Rülpser
   London, Dezember 2002. Foggy night. A legendary Rülpser. */

:root {
  --bg:            #1a1a1f;
  --accent:        #cc2222;
  --accent-light:  #ff6666;
  --text:          #c8c8d0;
  --text-muted:    #6a6a7a;
  --glass-bg:      rgba(255, 255, 255, 0.04);
  --glass-border:  rgba(255, 255, 255, 0.08);
  --glass-shadow:  0 8px 40px rgba(0, 0, 0, 0.6);
  --font:          'Inter', system-ui, sans-serif;
  --radius:        1.2rem;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body.is-aerial {
  font-family: var(--font);
  background: var(--bg);
  background-image: radial-gradient(ellipse at center, #2a2a35 0%, #0f0f14 70%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Fog atmosphere ─────────────────────────────────────────── */

.fog-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

.fog-1 {
  background: radial-gradient(
    ellipse 65% 45% at 28% 62%,
    rgba(255, 255, 255, 0.032) 0%,
    transparent 70%
  );
  animation: fog-drift-1 20s ease-in-out infinite alternate;
}

.fog-2 {
  background: radial-gradient(
    ellipse 55% 38% at 72% 38%,
    rgba(255, 255, 255, 0.022) 0%,
    transparent 65%
  );
  animation: fog-drift-2 27s ease-in-out infinite alternate;
}

.fog-3 {
  background: radial-gradient(
    ellipse 42% 32% at 50% 82%,
    rgba(210, 195, 230, 0.018) 0%,
    transparent 60%
  );
  animation: fog-drift-3 34s ease-in-out infinite alternate;
}

@keyframes fog-drift-1 {
  0%   { transform: translate(0,    0)    scale(1);    opacity: 0.65; }
  40%  { transform: translate(4%,   3%)   scale(1.04); opacity: 1;    }
  100% { transform: translate(-5%,  7%)   scale(0.97); opacity: 0.55; }
}

@keyframes fog-drift-2 {
  0%   { transform: translate(0,    0)    scale(1);    opacity: 0.5;  }
  50%  { transform: translate(-6%,  -4%)  scale(1.07); opacity: 0.9;  }
  100% { transform: translate(5%,   6%)   scale(0.95); opacity: 0.55; }
}

@keyframes fog-drift-3 {
  0%   { transform: translate(0,   0);   opacity: 0.4; }
  100% { transform: translate(3%,  -5%)  scale(1.1);   opacity: 0.75; }
}

/* ── Layout ──────────────────────────────────────────────────── */

#wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

/* ── Glass card ──────────────────────────────────────────────── */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  padding: 2.6rem 3.2rem;
  max-width: 680px;
  width: 100%;
  animation: card-enter 0.8s ease-out both;
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Header ──────────────────────────────────────────────────── */

.site-title {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1.1rem;
  transition: color 0.2s;
}

.site-title:hover { color: var(--text); }

h1 {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: -0.015em;
  color: #eaeaf2;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.meta {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

/* ── Label pills ─────────────────────────────────────────────── */

.meta-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
}

.label-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.22em 0.8em;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.label-pill:hover {
  color: #eaeaf2;
  border-color: rgba(255, 255, 255, 0.28);
}

/* ── Divider ─────────────────────────────────────────────────── */

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 1.5rem 0;
}

/* ── Event body ──────────────────────────────────────────────── */

.event-body {
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
}

.event-body p {
  margin-bottom: 1.1rem;
}

/* Quote paragraph — last <p> gets the red treatment */
.event-body p:last-child {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: var(--accent-light);
  font-style: italic;
  margin-bottom: 0;
}

/* ── Card footer ─────────────────────────────────────────────── */

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.card-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.card-footer a:hover { color: var(--text); }

/* ── Site footer ─────────────────────────────────────────────── */

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0.8rem 1rem 1.2rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.13);
}

/* ── Lightbox ────────────────────────────────────────────────── */

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#lightbox.is-active { display: flex; }

#lightbox-figure {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

#lightbox-caption {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-style: italic;
  text-align: center;
}

#lightbox-close,
#lightbox-prev,
#lightbox-next {
  position: fixed;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

#lightbox-close:hover,
#lightbox-prev:hover,
#lightbox-next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

#lightbox-close { top:  1.5rem; right: 1.5rem; }
#lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
#lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 600px) {
  .glass-card {
    padding: 1.6rem 1.4rem;
    border-radius: 0.9rem;
  }

  h1 {
    font-size: 1.3rem;
  }

  .meta {
    font-size: 0.72rem;
  }

  .card-footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  #lightbox-prev { left: 0.5rem; }
  #lightbox-next { right: 0.5rem; }
}

@media (max-width: 360px) {
  .glass-card {
    padding: 1.2rem 1rem;
  }

  h1 {
    font-size: 1.15rem;
  }
}

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