/* Devoid of Rights MCC — Custom Design System */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-deep: #050506;
  --bg-surface: #0a0a0c;
  --bg-card: #0e0e11;
  --bg-elevated: #121216;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(229, 57, 53, 0.4);
  --text: #f0ede8;
  --text-muted: #9a9590;
  --text-dim: #6b6660;
  --accent: #b71c1c;
  --accent-bright: #e53935;
  --accent-glow: rgba(183, 28, 28, 0.4);
  --gold: #c9a07a;
  --danger: #ef4444;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 90% 55% at 12% -10%, rgba(183, 28, 28, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 30%, rgba(120, 40, 20, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(183, 28, 28, 0.05), transparent 55%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ff6b66; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* soft ember haze only — diagonals live on hero */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 88% 12%, rgba(229, 57, 53, 0.05), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.028;
}

body > *:not(.nav) {
  position: relative;
  z-index: 1;
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(8, 8, 10, 0.88);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: rgba(8, 8, 10, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.nav.nav--over-hero {
  background: rgba(0, 0, 0, 0.28);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.nav.nav--over-hero .nav__logo,
.nav.nav--over-hero .nav__links a {
  color: rgba(240, 237, 232, 0.88);
}

.nav.nav--over-hero .nav__links a:hover,
.nav.nav--over-hero .nav__links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav.nav--over-hero .nav__burger span {
  background: #f0ede8;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  min-width: 0;
  flex: 1;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
  background: rgba(183, 28, 28, 0.16);
}

.nav__links a[href="/pages/contacts"] {
  color: var(--text);
  font-weight: 600;
  border: 1px solid rgba(229, 57, 53, 0.45);
  background: rgba(183, 28, 28, 0.14);
  box-shadow: 0 0 0 1px rgba(183, 28, 28, 0.08);
}

.nav__links a[href="/pages/contacts"]:hover,
.nav__links a[href="/pages/contacts"].active {
  color: #fff;
  border-color: var(--accent-bright);
  background: rgba(183, 28, 28, 0.32);
  box-shadow: 0 0 18px rgba(183, 28, 28, 0.25);
}

.nav.nav--over-hero .nav__links a[href="/pages/contacts"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.nav.nav--over-hero .nav__links a[href="/pages/contacts"]:hover,
.nav.nav--over-hero .nav__links a[href="/pages/contacts"].active {
  border-color: rgba(229, 57, 53, 0.7);
  background: rgba(183, 28, 28, 0.35);
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  z-index: 1001;
  position: relative;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ─── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 24px) 0 56px;
  overflow: hidden;
  background: #000;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #000;
}

.hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlideFade 28s ease-in-out infinite;
  will-change: opacity, transform;
  filter: brightness(0.72) contrast(1.12) saturate(1.05);
}

.hero__photo--1 {
  background-image: url('../images/hero-bg.jpg');
  animation-delay: 0s;
}

.hero__photo--2 {
  background-image: url('../images/hero-bg-2.jpg');
  animation-delay: 7s;
  background-position: center 40%;
}

.hero__photo--3 {
  background-image: url('../images/hero-bg-3.jpg');
  animation-delay: 14s;
  background-position: center 35%;
}

.hero__photo--4 {
  background-image: url('../images/hero-bg-4.jpg');
  animation-delay: 21s;
  background-position: center 28%;
}

@keyframes heroSlideFade {
  0% { opacity: 0; transform: scale(1.08); }
  4% { opacity: 1; transform: scale(1.04); }
  21% { opacity: 1; transform: scale(1.02); }
  25% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, transparent 48%, rgba(0, 0, 0, 0.28) 100%),
    radial-gradient(ellipse 70% 50% at 50% 18%, rgba(183, 28, 28, 0.22), transparent 62%);
}

.hero__glow {
  position: absolute;
  width: 55%;
  height: 40%;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(229, 57, 53, 0.2), transparent 70%);
  filter: blur(40px);
  animation: heroGlow 6s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.9; transform: translateX(-50%) scale(1.12); }
}

.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    repeating-linear-gradient(
      128deg,
      transparent 0,
      transparent 140px,
      rgba(183, 28, 28, 0.06) 140px,
      rgba(183, 28, 28, 0.06) 162px
    );
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0, 0, 0, 0.3) 55%, #000 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0, 0, 0, 0.3) 55%, #000 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__sparks {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__brand {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__logo {
  width: min(200px, 46vw);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.65));
  animation: heroLogoFloat 5.5s ease-in-out infinite;
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(232, 93, 4, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 20px;
}
.hero__badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9.5vw, 7.8rem);
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  margin: 0 auto 14px;
  color: #fff;
  text-shadow:
    0 0 32px rgba(255, 255, 255, 0.22),
    0 0 64px rgba(244, 140, 6, 0.35),
    0 10px 32px rgba(0, 0, 0, 0.6);
}

.hero__mcc {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero__motto {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  letter-spacing: 0.08em;
  color: var(--accent-bright);
  margin-bottom: 18px;
}

.hero__desc {
  font-size: 1.05rem;
  color: rgba(240, 237, 232, 0.82);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero__fest-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.hero__fest-link:hover {
  color: var(--accent-bright);
  border-bottom-color: rgba(244, 140, 6, 0.5);
}

.countdown--inline {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  margin: 0 auto 40px;
  padding: 20px 24px;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: rgba(232, 93, 4, 0.08);
}

/* ─── COUNTDOWN ─── */
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown__item {
  text-align: center;
  min-width: 90px;
  padding: 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.countdown__value {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-bright);
  display: block;
}

.countdown__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px 0;
  position: relative;
}

.section--alt {
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.03em;
  line-height: 1;
}

.section__desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

/* ─── FESTIVAL INFO ─── */
.festival-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.home-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.home-highlight {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.home-highlight--warn {
  border-color: rgba(183, 28, 28, 0.35);
  background: linear-gradient(160deg, rgba(183, 28, 28, 0.08), var(--bg-card) 65%);
}

.home-highlight h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.home-highlight p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.home-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 50% 80% at 0% 0%, rgba(183, 28, 28, 0.08), transparent 55%),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.home-contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.home-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-contact-list a {
  font-size: 1.1rem;
  font-weight: 600;
}

.home-contact-list span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (max-width: 860px) {
  .home-highlights,
  .home-bottom {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), transform var(--transition);
}

.info-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.info-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 93, 4, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.info-card p, .info-card li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-card ul {
  list-style: none;
  margin-top: 12px;
}

.info-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
}

.info-card li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
}

.info-card li:last-child { border-bottom: none; }

.alert {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 24px;
}

.alert--warning {
  background: rgba(232, 93, 4, 0.1);
  border-color: rgba(232, 93, 4, 0.3);
}

.alert h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--accent-bright);
}

.alert p, .alert li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.alert ul {
  list-style: none;
  margin-top: 8px;
}

.alert li {
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.alert li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--danger);
}

/* ─── POSTERS ─── */
.posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.poster {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.poster:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.poster img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ─── NEWS CARDS ─── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.news-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.news-card__img {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
}

.news-card__img--photo {
  background-size: cover;
  background-position: center;
  font-size: 0;
}

/* ─── FESTIVAL PREVIEW (events) ─── */
.fest-preview {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(183, 28, 28, 0.1), transparent 55%),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.fest-preview__poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(26, 22, 18, 0.18);
  background: #111;
}

.fest-preview__poster img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease;
}

.fest-preview__poster:hover img {
  transform: scale(1.03);
}

.fest-preview__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: rgba(183, 28, 28, 0.92);
  color: #fff;
}

.fest-preview__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 4px 0 10px;
}

.fest-preview__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.fest-preview__date {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}

.fest-preview__countdown {
  margin: 0 0 22px;
  max-width: none;
  justify-content: flex-start;
}

.fest-preview__meta {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
}

.fest-preview__meta li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.fest-preview__meta li:last-child { border-bottom: none; padding-bottom: 0; }

.fest-preview__meta strong {
  display: inline-block;
  min-width: 110px;
  color: var(--text);
  font-weight: 600;
  margin-right: 8px;
}

.fest-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {
  .fest-preview {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .fest-preview__poster {
    max-width: 320px;
    margin: 0 auto;
  }
  .fest-preview__countdown {
    justify-content: center;
  }
}

.news-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__date {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}

.news-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.news-card__link {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── NEWS PAGE ─── */
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.news-main {
  display: grid;
  gap: 28px;
}

.news-post {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-post__cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
}

.news-post__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-post__cover:hover img {
  transform: scale(1.04);
}

.news-post__cover--plain {
  aspect-ratio: 16 / 7;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 40%, rgba(183, 28, 28, 0.18), transparent 60%),
    #111114;
}

.news-post__cover--plain img {
  width: min(140px, 36%);
  height: auto;
  object-fit: contain;
}

.news-post__body {
  padding: clamp(20px, 3vw, 28px);
}

.news-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.news-post__cat {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-post__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.news-post__excerpt {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.news-post__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}

.news-widget {
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.news-widget--fest {
  border-color: rgba(183, 28, 28, 0.35);
  background:
    linear-gradient(160deg, rgba(183, 28, 28, 0.12), transparent 55%),
    var(--bg-card);
}

.news-widget__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 6px;
}

.news-widget__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.news-widget--fest .news-widget__title {
  margin-bottom: 8px;
}

.news-widget--fest p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.news-widget__list {
  list-style: none;
  display: grid;
  gap: 0;
}

.news-widget__list li {
  border-top: 1px solid var(--border);
}

.news-widget__list li:first-child {
  border-top: none;
}

.news-widget__list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}

.news-widget__list a:hover {
  color: var(--accent);
}

.news-widget__list time {
  color: var(--text-dim);
  font-size: 0.8rem;
  white-space: nowrap;
}

.news-widget__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-widget__tags a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-elevated);
}

.news-widget__tags a:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}

@media (max-width: 960px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .news-sidebar {
    grid-template-columns: 1fr;
  }
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__logo {
  text-align: center;
}

.about__logo img {
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px var(--accent-glow));
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about__text strong {
  color: var(--text);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent-bright);
  line-height: 1;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ─── SOCIAL ─── */
.social-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: rgba(232, 93, 4, 0.08);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}

/* ─── CONTACTS ─── */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color var(--transition);
}

.contact-card:hover { border-color: var(--border-accent); }

.contact-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(183, 28, 28, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-card a {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ─── MAP ─── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 450px;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(25%) contrast(1.08);
}

.map-container--camp {
  height: min(560px, 70vh);
}

.camp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.btn--on-dark {
  color: #f0ede8;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--on-dark:hover {
  color: #fff;
  border-color: var(--accent-bright);
  background: rgba(183, 28, 28, 0.25);
}

.camp-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.camp-fact {
  padding: 26px 24px;
  background:
    linear-gradient(160deg, rgba(183, 28, 28, 0.06), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.camp-fact__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 14px;
  background: rgba(183, 28, 28, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent);
}

.camp-fact__icon svg { width: 22px; height: 22px; }

.camp-fact h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.camp-fact p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.camp-fact__hint {
  margin-top: 8px;
  font-size: 0.85rem !important;
  color: var(--text-dim) !important;
}

.camp-coords {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.04em;
  color: var(--text) !important;
  margin: 4px 0 14px !important;
}

.camp-coords__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.camp-coords__actions .btn {
  padding: 8px 14px;
  font-size: 0.8rem;
}

.camp-coords__actions a {
  font-size: 0.88rem;
  font-weight: 600;
}

.camp-scheme {
  margin-bottom: 48px;
}

.camp-scheme__head,
.camp-map-block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.camp-scheme__desc {
  color: var(--text-muted);
  max-width: 520px;
}

.camp-scheme__frame {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #0e0e11;
  box-shadow: var(--shadow);
}

.camp-scheme__frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease;
}

.camp-scheme__frame:hover img {
  transform: scale(1.02);
}

.camp-map-block {
  margin-bottom: 56px;
}

.camp-map-block__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.camp-map-block__links a {
  font-size: 0.9rem;
  font-weight: 600;
}

.camp-rules {
  margin-bottom: 48px;
}

.camp-rules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.camp-rule {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.camp-rule--ok {
  border-color: rgba(34, 160, 90, 0.35);
  background: linear-gradient(160deg, rgba(34, 160, 90, 0.08), var(--bg-card) 60%);
}

.camp-rule--warn {
  border-color: rgba(183, 28, 28, 0.4);
  background: linear-gradient(160deg, rgba(183, 28, 28, 0.1), var(--bg-card) 60%);
}

.camp-rule__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 12px;
}

.camp-rule--ok .camp-rule__badge { color: #1f8a4c; }

.camp-rule h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.camp-rule p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.camp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-accent);
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(183, 28, 28, 0.14), transparent 55%),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.camp-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.camp-cta p { color: var(--text-muted); }

.camp-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .camp-facts,
  .camp-rules__grid {
    grid-template-columns: 1fr;
  }
}

/* ─── GALLERY ─── */
.gallery-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gallery-toolbar__count {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.gallery-toolbar__link {
  font-size: 0.9rem;
  font-weight: 600;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

@media (min-width: 720px) {
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }
}

.photo-grid__item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.photo-grid__item:hover img,
.photo-grid__item:focus-visible img {
  transform: scale(1.06);
}

.photo-grid__item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 72px 48px;
}

.photo-lightbox[hidden] { display: none !important; }

.photo-lightbox__img {
  max-width: min(96vw, 1200px);
  max-height: calc(100vh - 100px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.photo-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.photo-lightbox__nav:hover {
  background: rgba(183, 28, 28, 0.85);
}

.photo-lightbox__nav--prev { left: 16px; }
.photo-lightbox__nav--next { right: 16px; }

.photo-lightbox__counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 640px) {
  .photo-lightbox {
    padding: 64px 12px 40px;
  }
  .photo-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
  .photo-lightbox__nav--prev { left: 6px; }
  .photo-lightbox__nav--next { right: 6px; }
}

/* ─── PROGRAM TABLE ─── */
.program-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.program-tab {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.program-tab.active,
.program-tab:hover {
  background: rgba(232, 93, 4, 0.12);
  border-color: var(--accent);
  color: var(--accent-bright);
}

.program-day { display: none; }
.program-day.active { display: block; }

.program-list {
  list-style: none;
}

.program-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.program-item__time {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-bright);
  letter-spacing: 0.05em;
}

.program-item__title {
  font-weight: 500;
  color: var(--text);
}

.program-item__desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ─── VIDEO ─── */
.video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}

.video-filter {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.video-filter.active,
.video-filter:hover {
  background: rgba(183, 28, 28, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  width: 100%;
  box-shadow: var(--shadow);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.video-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 22, 18, 0.12);
}

.video-card:hover .video-card__title { color: var(--accent); }
.video-card:hover .video-card__play {
  background: rgba(183, 28, 28, 0.92);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-card__thumb img { transform: scale(1.05); }

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.video-card__play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.video-card__body {
  padding: 16px 18px 18px;
}

.video-card__year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.video-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card__cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-lightbox[hidden] { display: none !important; }

.video-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.video-lightbox__frame {
  width: min(96vw, 1100px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-lightbox__frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── FOOTER ─── */
.footer {
  position: relative;
  overflow: hidden;
  contain: paint;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(183, 28, 28, 0.12), transparent 55%),
    linear-gradient(180deg, #08080a 0%, #050506 100%);
  border-top: 1px solid rgba(183, 28, 28, 0.22);
  padding: 72px 0 28px;
}

.footer__sparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  contain: strict;
}

.footer__aura {
  position: absolute;
  left: 50%;
  top: -40px;
  width: min(640px, 90vw);
  height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(229, 57, 53, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer__inner {
  position: relative;
  z-index: 1;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  margin-bottom: 16px;
}

.footer__logo img {
  width: 64px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(183, 28, 28, 0.35));
}

.footer__logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.footer__logo span {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 380px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.footer__motto--block {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-bright);
  letter-spacing: 0.08em;
}

.footer__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer__social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__icon-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer__icon-btn svg {
  width: 20px;
  height: 20px;
}

.footer__icon-btn img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.footer__icon-btn:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(183, 28, 28, 0.2);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-3px);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  color: var(--text);
}

.footer__heading svg {
  width: 18px;
  height: 18px;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.footer__links {
  list-style: none;
}

.footer__links li { margin-bottom: 10px; }

.footer__links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--accent-bright);
  padding-left: 4px;
}

.footer__contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer__contacts svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.footer__contacts a {
  color: var(--text-muted);
  word-break: break-word;
}

.footer__contacts a:hover { color: var(--accent-bright); }

.footer__contacts span {
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-left: 4px;
}

.footer__bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer__bottom p {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer__est {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
  color: var(--text-dim);
}

.footer__dev {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.footer__dev-spark {
  display: none;
}

.footer__dev-text {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.footer__dev-brand {
  font-size: 0.78rem;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__dev:hover {
  opacity: 0.9;
}

.footer__dev:hover .footer__dev-brand {
  color: rgba(255, 255, 255, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 640px) {
  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

.footer__motto {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent-bright);
  letter-spacing: 0.1em;
}

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.03em;
}

.page-hero p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 1.1rem;
}

.page-hero--dark {
  isolation: isolate;
  background: #050506;
  --bg-deep: #050506;
  --bg-surface: #0a0a0c;
  --bg-card: #0e0e11;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0ede8;
  --text-muted: #9a9590;
  --text-dim: #6b6660;
  --accent-bright: #e53935;
  color: var(--text);
  background: #050506;
  border-bottom-color: rgba(183, 28, 28, 0.28);
  padding: calc(var(--nav-height) + 72px) 0 80px;
}

.page-hero--dark .hero__sparks {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(183, 28, 28, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(229, 57, 53, 0.12), transparent 50%),
    linear-gradient(180deg, #111114 0%, #0a0a0b 100%);
  pointer-events: none;
}

.page-hero--photo {
  min-height: clamp(320px, 48vh, 520px);
  display: flex;
  align-items: center;
}

.page-hero--photo .page-hero__bg {
  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 10, 0.72) 0%,
      rgba(8, 8, 10, 0.55) 40%,
      rgba(8, 8, 10, 0.82) 100%
    ),
    linear-gradient(
      90deg,
      rgba(8, 8, 10, 0.55) 0%,
      rgba(8, 8, 10, 0.2) 50%,
      rgba(8, 8, 10, 0.55) 100%
    ),
    radial-gradient(ellipse 55% 60% at 50% 35%, rgba(183, 28, 28, 0.22), transparent 70%),
    url('/images/gallery/gallery_1783977696141_7152_010.jpg') center 28% / cover no-repeat;
}

.page-hero--camp .page-hero__bg {
  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 10, 0.7) 0%,
      rgba(8, 8, 10, 0.5) 45%,
      rgba(8, 8, 10, 0.88) 100%
    ),
    linear-gradient(
      90deg,
      rgba(8, 8, 10, 0.45) 0%,
      rgba(8, 8, 10, 0.15) 50%,
      rgba(8, 8, 10, 0.45) 100%
    ),
    radial-gradient(ellipse 50% 55% at 50% 40%, rgba(183, 28, 28, 0.2), transparent 70%),
    url('/images/camp-hero.jpg') center 40% / cover no-repeat;
}

.page-hero--photo .page-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 11, 0.95) 100%);
  pointer-events: none;
}

.page-hero--photo h1 {
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(229, 57, 53, 0.25);
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    repeating-linear-gradient(
      128deg,
      transparent 0,
      transparent 130px,
      rgba(183, 28, 28, 0.08) 130px,
      rgba(183, 28, 28, 0.08) 156px
    ),
    repeating-linear-gradient(
      128deg,
      transparent 0,
      transparent 26px,
      rgba(255, 255, 255, 0.02) 26px,
      rgba(255, 255, 255, 0.02) 27px
    );
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.35) 52%, #000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 24%, transparent 42%);
  mask-image:
    linear-gradient(90deg, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.35) 52%, #000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 24%, transparent 42%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px !important;
}

.page-hero__lead {
  max-width: 520px;
  margin: 16px auto 0;
  color: rgba(240, 237, 232, 0.7) !important;
  line-height: 1.6;
}

.about-hero__logo {
  width: min(160px, 38vw);
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.65));
  animation: heroLogoFloat 5.5s ease-in-out infinite;
}

.about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 6.5rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
  line-height: 1;
  margin: 0 0 10px;
  color: #fff;
  text-shadow:
    0 0 32px rgba(255, 255, 255, 0.18),
    0 0 56px rgba(229, 57, 53, 0.35),
    0 10px 32px rgba(0, 0, 0, 0.55);
}

.about-hero__mcc {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 8px;
}

.about-side-photos {
  display: grid;
  gap: 12px;
}

.about-side-photos__main {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
}

.about-side-photos__main img,
.about-side-photos__row a img,
.about-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-side-photos__main:hover img,
.about-side-photos__row a:hover img,
.about-photos__item:hover img {
  transform: scale(1.05);
}

.about-side-photos__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-side-photos__row a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  background: var(--bg-elevated);
}

.section--flush {
  padding-bottom: 20px;
}

.about-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 10px;
}

.about-photos__item {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-elevated);
  grid-row: span 2;
}

.about-photos__item--tall {
  grid-row: span 3;
}

.about-photos__item--wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .about-photos {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
  }
}

@media (max-width: 520px) {
  .about-photos {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 110px;
  }
  .about-photos__item--wide {
    grid-column: span 2;
  }
}

.about-mission {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-mission__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(183, 28, 28, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent);
}

.about-mission__icon svg { width: 24px; height: 24px; }

.about-mission p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.about-mission__date {
  color: var(--text) !important;
  margin-bottom: 0 !important;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-feature {
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: border-color var(--transition), transform var(--transition);
}

.about-feature:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.about-feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(183, 28, 28, 0.1);
  color: var(--accent);
  margin-bottom: 16px;
}

.about-feature__icon svg { width: 22px; height: 22px; }

.about-feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.about-feature p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about__stats--page {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  margin-bottom: 48px;
}

.stat__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: var(--accent);
}

.stat__icon svg { width: 100%; height: 100%; }

.about-timeline {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(183, 28, 28, 0.25);
  padding-left: 28px;
}

.about-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 0 0 36px;
}

.about-timeline__item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(183, 28, 28, 0.15);
}

.about-timeline__year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.about-timeline__item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.about-timeline__item p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .about-features { grid-template-columns: 1fr 1fr; }
  .about__stats--page { grid-template-columns: 1fr 1fr; }
  .about-hero__title {
    font-size: clamp(1.6rem, 8vw, 3rem);
    letter-spacing: 0.03em;
  }
}

@media (max-width: 600px) {
  .about-features { grid-template-columns: 1fr; }
  .about-mission { grid-template-columns: 1fr; }
  .about-timeline__item { grid-template-columns: 1fr; gap: 8px; }
}

.contacts-page .contacts-grid--rich {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card--link {
  display: block;
  color: inherit;
  text-align: left;
  padding: 28px 28px 26px;
}

.contact-card--link:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(183, 28, 28, 0.12);
  color: inherit;
}

.contact-card--link .contact-card__icon {
  margin: 0 0 18px;
}

.contact-card__value {
  font-size: 1.15rem !important;
  font-weight: 650;
  color: var(--text) !important;
  word-break: break-word;
}

.contact-card__hint {
  margin-top: 8px !important;
  font-size: 0.85rem !important;
  color: var(--text-dim) !important;
}

.contacts-social {
  text-align: center;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.social-bar--lg {
  margin-top: 28px;
}

.social-bar--lg .social-link {
  padding: 14px 22px;
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .contacts-page .contacts-grid--rich {
    grid-template-columns: 1fr;
  }
}

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .festival-grid,
  .about-grid,
  .footer__grid { grid-template-columns: 1fr; }

  .footer__top { flex-direction: column; }

  .posters { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

  .about__stats { grid-template-columns: 1fr; }

  .hero__logo { width: min(150px, 40vw); margin-bottom: 16px; }
  .hero__desc { font-size: 0.98rem; padding: 0 4px; }
  .hero__title {
    font-size: clamp(1.55rem, 8.2vw, 3.2rem);
    letter-spacing: 0.03em;
  }

  .nav__logo span {
    font-size: 1rem;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    pointer-events: none;
    z-index: 999;
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }

  .nav.nav--over-hero .nav__links {
    background: rgba(10, 10, 11, 0.98);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__links a {
    display: block;
    padding: 14px 12px;
    font-size: 1rem;
    width: 100%;
  }

  .nav__burger {
    display: inline-flex !important;
  }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .countdown__item { min-width: 70px; padding: 14px 10px; }
  .countdown__value { font-size: 2rem; }
  .program-item { grid-template-columns: 60px 1fr; gap: 12px; }
  .countdown--inline { gap: 8px; padding: 14px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__photo,
  .hero__photo--1,
  .hero__photo--2,
  .hero__photo--3,
  .hero__photo--4,
  .hero__glow,
  .hero__logo {
    animation: none !important;
  }
  .hero__photo--1 { opacity: 1; transform: none; }
  .hero__photo--2,
  .hero__photo--3,
  .hero__photo--4 { opacity: 0; }
  .hero__sparks,
  .footer__sparks { display: none; }
}


/* ─── COMPACT FEST TEASER ─── */
.fest-teaser {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  background:
    linear-gradient(105deg, rgba(183, 28, 28, 0.14), transparent 45%),
    var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.fest-teaser:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: inherit;
}

.fest-teaser__poster {
  width: 72px;
  height: 102px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.fest-teaser__body { flex: 1; min-width: 0; }

.fest-teaser__tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 4px;
}

.fest-teaser__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--text);
}

.fest-teaser__text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.fest-teaser__cta {
  flex-shrink: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .fest-teaser {
    flex-wrap: wrap;
  }
  .fest-teaser__cta {
    width: 100%;
    text-align: right;
  }
}

/* ─── MEMORY BOOK ─── */
.page-hero--memory .page-hero__bg {
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.72) 0%, rgba(8, 8, 10, 0.92) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(183, 28, 28, 0.18), transparent 55%),
    url('/images/hero-bg.jpg') center/cover no-repeat;
}

.memory-section {
  background: transparent;
}

.memory-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.memory-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.memory-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.memory-card__photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #121216;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.memory-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.memory-card:hover .memory-card__photo img {
  transform: scale(1.03);
  filter: grayscale(0.1);
}

.memory-card__body {
  padding: 20px 20px 22px;
}

.memory-card__years {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 6px;
}

.memory-card__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 6px;
}

.memory-card__nick {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-style: italic;
}

.memory-card__text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.memory-card__more {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  cursor: pointer;
}

.memory-card__more:hover {
  color: #ff6b66;
}

.memory-empty {
  text-align: center;
  max-width: 480px;
  margin: 20px auto 0;
  padding: 48px 24px;
}

.memory-empty__flame {
  width: 10px;
  height: 10px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(183, 28, 28, 0.55);
}

.memory-empty h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: var(--text);
}

.memory-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.memory-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 8, 10, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.memory-lightbox[hidden] { display: none !important; }

.memory-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.memory-lightbox__card {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(240px, 420px);
  gap: 0;
  max-width: 860px;
  width: 100%;
  max-height: min(90vh, 720px);
  background: #111114;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.memory-lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  background: #1a1a1c;
}

.memory-lightbox__body {
  padding: 36px 32px;
  overflow-y: auto;
  color: #f5f2ed;
}

.memory-lightbox__years {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
}

.memory-lightbox__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.memory-lightbox__nick {
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 20px;
}

.memory-lightbox__text {
  color: rgba(245, 242, 237, 0.82);
  line-height: 1.7;
  white-space: pre-line;
}

@media (max-width: 760px) {
  .memory-lightbox__card {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  .memory-lightbox__img {
    max-height: 42vh;
  }
}

/* ─── HISTORY ARCHIVE ─── */
.page-hero--history .page-hero__bg {
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(196, 90, 42, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 50% at 85% 20%, rgba(80, 100, 140, 0.12), transparent 50%),
    linear-gradient(180deg, #0c0b0a 0%, #141210 100%);
}

.history-section {
  padding-top: 48px;
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px 48px;
  align-items: start;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.history-article {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 242, 237, 0.08);
  scroll-margin-top: 96px;
}

.history-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.history-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.history-article__year {
  color: var(--accent-bright);
}

.history-article__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #f5f2ed;
}

.history-article__excerpt {
  color: rgba(245, 242, 237, 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 42em;
}

.history-article__media {
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 237, 0.08);
}

.history-article__media img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.history-article__body {
  color: rgba(245, 242, 237, 0.82);
  line-height: 1.75;
  max-width: 42em;
}

.history-article__body p {
  margin: 0 0 1em;
}

.history-article__body p:last-child {
  margin-bottom: 0;
}

.history-years {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history-years li {
  border-top: 1px solid rgba(245, 242, 237, 0.08);
}

.history-years li:first-child {
  border-top: none;
}

.history-years a {
  display: block;
  padding: 10px 0;
  color: rgba(245, 242, 237, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.history-years a:hover {
  color: var(--accent-bright);
}

.history-aside {
  position: sticky;
  top: 88px;
}

.history-aside .news-widget + .news-widget {
  margin-top: 24px;
}

@media (max-width: 960px) {
  .history-layout {
    grid-template-columns: 1fr;
  }
  .history-aside {
    position: static;
    order: -1;
  }
}
