:root {
  --bg: #000;
  --bg-card: #0b1220;
  --surface: #101a2e;
  --text: #eef4ff;
  --text-soft: #b9c7e2;
  --text-muted: #6e7f9c;
  --accent: #5aa2ff;
  --accent-dim: rgba(90, 162, 255, 0.22);
  --accent-glow: rgba(90, 162, 255, 0.08);
  --border: #1a2740;
  --border-light: #274067;
  --radius: 8px;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --sidebar-w: 84px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #000;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--text); }
img { max-width: 100%; display: block; }
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: #000;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0;
  z-index: 1000;
}
.sidebar-logo {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  text-decoration: none;
}
.sidebar-logo img { width: 44px; height: 44px; border-radius: 10px; }
.sidebar-close { display: none; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; width: 100%; align-items: center; }
.sidebar-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 2px; width: 100%; align-items: center; }
.sidebar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 4px;
  width: 72px;
  border-radius: var(--radius);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.62rem;
  font-weight: 500;
  position: relative;
  transition: all 0.2s;
}
.sidebar-link i { font-size: 0.95rem; }
.sidebar-link:hover { color: var(--text); background: var(--accent-glow); }
.sidebar-link.active { color: var(--accent); background: var(--accent-dim); }
.sidebar-link.active::before {
  content: "";
  position: absolute;
  left: -7px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 16px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}
.mobile-bar, .mobile-overlay, .burger { display: none; }
main { margin-left: var(--sidebar-w); min-height: 100vh; }
.tab { display: none; }
.tab.active { display: block; animation: tabIn 0.35s ease; }
@keyframes tabIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.top-title { padding: 56px 48px 24px; }
.top-title h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.02em; }
.page { padding: 48px; max-width: 1200px; }
.page.narrow { max-width: 720px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 32px; }
.page-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.05; }
.year { font-size: 1.6rem; white-space: nowrap; }
.year em, .hero-sub em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.text p { margin-bottom: 16px; color: var(--text-soft); }
.text .lead { font-family: var(--serif); font-size: 1.25rem; color: var(--text); }
.text h3 { margin-top: 20px; font-size: 1.35rem; font-weight: 700; color: var(--text); }
.text em { font-family: var(--serif); }
.text a:hover { color: var(--accent); }
.lyrics { font-size: 1.5rem; line-height: 1.5; }
.caption { color: var(--text-soft); margin-top: 12px; font-family: var(--serif); }
.arrow-link { text-decoration: none; font-size: 1.4rem; }
.arrow-link em { font-family: var(--serif); }
.arrow-link:hover { color: var(--accent); }
.hero { position: relative; }
.hero-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 24px 48px 64px; font-family: var(--serif); font-size: 1.1rem; }
.hero-sub { text-align: right; }
.hero-sub strong { display: block; font-family: var(--sans); font-size: 2.2rem; font-weight: 800; margin-top: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split.slim-left { grid-template-columns: 280px 1fr; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.qr-row { display: flex; gap: 32px; }
.qr-row em { font-family: var(--serif); }
.media { width: 100%; border-radius: 8px; border: 1px solid var(--border); }
.media-portrait { aspect-ratio: 3/4; object-fit: cover; }
.media-wide { aspect-ratio: 16/9; object-fit: cover; }
.media-hero { aspect-ratio: 16/9; object-fit: cover; border-radius: 0; border-left: none; border-right: none; }
.media-qr { width: 180px; height: 180px; border-radius: 8px; background: #fff; margin-top: 8px; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.video-card { position: relative; display: block; text-decoration: none; transition: opacity 0.2s; }
.video-card:hover { opacity: 0.85; }
.video-badge { position: absolute; top: 12px; left: 12px; background: rgba(0, 0, 0, 0.75); padding: 4px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.foto-block + .foto-block { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.foto-block h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.foto-years { font-family: var(--serif); color: var(--text-soft); margin-bottom: 20px; }
.zoomable { cursor: pointer; transition: opacity 0.2s; }
.zoomable:hover { opacity: 0.85; }
.page.narrow h3 { margin: 24px 0 6px; font-size: 1rem; }
.page.narrow p { color: var(--text-soft); font-size: 0.95rem; }
.footer {
  margin-left: var(--sidebar-w);
  border-top: 1px solid var(--border);
  padding: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.94);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 2001;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 16px; right: 20px; font-size: 2rem; padding: 8px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 2.5rem; padding: 16px; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
@media (max-width: 860px) {
  .sidebar {
    width: 230px;
    align-items: stretch;
    padding-top: 60px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }
  .sidebar.open { transform: none; }
  .sidebar-logo { margin: 0 0 12px 20px; }
  .sidebar-link { flex-direction: row; gap: 12px; width: auto; margin: 0 12px; padding: 12px; font-size: 0.9rem; }
  .sidebar-link.active::before { left: 0; }
  .sidebar-close {
    display: block;
    position: absolute;
    top: 10px; right: 14px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
  }
  .mobile-bar {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 52px;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--border);
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    z-index: 1001;
  }
  .mobile-logo { text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: 8px; }
  .mobile-logo img { width: 28px; height: 28px; border-radius: 6px; }
  .burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
  .burger span { width: 20px; height: 2px; background: var(--text); display: block; border-radius: 1px; }
  .mobile-overlay.open { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 999; }
  main, .footer { margin-left: 0; }
  main { padding-top: 52px; }
  .page, .top-title, .hero-bottom { padding-left: 20px; padding-right: 20px; }
  .split, .split.slim-left, .grid3, .video-grid { grid-template-columns: 1fr; }
  .hero-bottom { flex-direction: column; }
  .hero-sub { text-align: left; }
}
