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

html, body {
  background-color: #000000;
}

body {
  min-height: 100vh;
  padding: 80px 24px 60px;
  font-family: sans-serif;
}

.back-link {
  position: fixed;
  top: 20px;
  left: 20px;
  color: #ffffff;
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.back-link:hover { opacity: 1; }

.archive-header {
  text-align: center;
  margin-bottom: 60px;
}

.archive-header h1 {
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.archive-subtitle {
  color: #555;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 8px;
}

.archive-section {
  max-width: 1100px;
  margin: 0 auto 64px;
}

.section-title {
  color: #444;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 20px;
}

.subsection-title {
  color: #666;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 28px 0 14px;
}

.subsection-title:first-of-type { margin-top: 0; }

/* Projects */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-card {
  background: #0a0a0a;
  border-radius: 6px;
  padding: 16px;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.project-cover {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #111;
}

.project-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.project-tracks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 10px;
  flex-wrap: wrap;
}

.track-name {
  color: #999;
  font-size: 0.82rem;
  min-width: 140px;
}

.track-row audio {
  flex: 1;
  min-width: 220px;
  height: 32px;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px;
}

.photo-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: #0a0a0a;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.photo-item:hover img {
  transform: scale(1.04);
  opacity: 1;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.video-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-item video {
  width: 100%;
  border-radius: 4px;
  background: #0a0a0a;
}

.video-title {
  color: #777;
  font-size: 0.78rem;
}

.empty-msg {
  color: #333;
  font-size: 0.8rem;
  font-style: italic;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  cursor: zoom-out;
}

.lightbox.hidden { display: none; }

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
