/* Timeline, partners, footer — from landing */
.lock-section {
  position: relative;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line-soft);
}
.lock-section--stats {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 18rem),
    #040507;
}

.lock-section__header {
  max-width: 46rem;
  margin-bottom: 1.8rem;
}
.lock-section__header h1,
.lock-section__header h2 {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h1);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

#timeline-title {
  white-space: nowrap;
}
#timeline {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70rem 36rem at 85% -6rem, rgba(243, 240, 234, 0.055), transparent 60%),
    linear-gradient(180deg, #0a0b0d 0%, #232527 48%, #101113 100%);
  border-top: 1px solid var(--line-soft);
}

#timeline::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
}

#timeline .lock-shell {
  position: relative;
  z-index: 2;
}

.glassbg.lock-section--timeline::after,
.glassbg.partners-footer-band::after {
  display: none;
}

.glassbg__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.glassbg--through .glassbg__img {
  filter: grayscale(1) blur(7px) brightness(0.72) contrast(1.08);
  transform: scale(1.06);
}

#timeline.glassbg--through .glassbg__img,
.lock-section--timeline.glassbg--through .glassbg__img {
  filter: grayscale(1) blur(3px) brightness(0.76) contrast(1.08);
  transform: scale(1.02);
  object-position: center 55%;
}

#timeline.glassbg--through .glassbg__veil,
.lock-section--timeline.glassbg--through .glassbg__veil {
  background:
    linear-gradient(
      180deg,
      rgba(var(--glass-tint), 0.34) 0%,
      rgba(var(--glass-tint), 0.5) 48%,
      rgba(18, 20, 24, 0.74) 100%
    ),
    radial-gradient(ellipse 70rem 40rem at 78% 0%, transparent, rgba(18, 20, 24, 0.26) 75%);
}

.glassbg {
  position: relative;
  overflow: clip;
  isolation: isolate;
  border-top: 1px solid var(--film-line);
}

.glassbg > .lock-shell,
.glassbg > .partners-band,
.glassbg > .site-footer,
.glassbg > .partners-band__intro,
.glassbg > .partners-band__roster-wrap {
  position: relative;
  z-index: 3;
}

.glassbg.lock-section--timeline,
.glassbg.partners-footer-band {
  background: transparent !important;
}

.glassbg__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.lock-shell {
  width: min(100% - 2.5rem, 1220px);
  margin: 0 auto;
}

.lock-kicker {
  margin: 0;
  color: var(--color-text-muted);
  font: 800 var(--text-xs)/1.2 var(--font-ui);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

#timeline.lock-section--timeline,
#timeline.glassbg {
  container-type: inline-size;
  container-name: timeline;
}


@media (min-width: 721px) {
  .lock-shell {
    width: min(100% - 2rem, 1220px);
  }
}

/* Партнёры и футер вынесены в styles/partners-footer.css —
   общий блок partials/shared/partners-footer.html (главная + страницы треков). */


/* ── Этапы премии: программа церемонии (акты I–IV, золото) ── */
.acts {
  position: relative;
  margin-top: clamp(38px, 4vw, 68px);
  --acts-line-w: 2.5px;
  --acts-dot-size: calc(6px + var(--acts-line-w) * 2);
  --acts-line-color: rgba(232, 195, 106, 0.32);
  /* Вертикаль: то же золото, что у горизонтали; затухание сверху ≈ 8% как у боков */
  --acts-vline: linear-gradient(
      180deg,
      transparent 0%,
      var(--acts-line-color) 8%,
      var(--acts-line-color) 100%
    )
    0 0 / var(--acts-line-w) 100% no-repeat;
}
.acts__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.acts__item {
  position: relative;
  display: flex; flex-direction: column;
  padding: 46px clamp(22px, 2vw, 40px) 14px;
  border-left: 0;
  background: var(--acts-vline);
  min-height: 360px;
  transition: opacity 0.4s ease, background-color 0.4s ease, background 0.4s ease;
}
/* нарастающая подсветка: Этап I приглушён → Этап IV яркий */
.acts__item:nth-child(1) { opacity: 0.66; }
.acts__item:nth-child(2) { opacity: 0.78; }
.acts__item:nth-child(3) { opacity: 0.9; }
.acts__item--finale { opacity: 1; }
/* Текущий этап премии: та же метафора, что у финала, но тише — финал остаётся
   кульминацией. Ставится вручную в разметке, как data-stage на треках. */
.acts__item--now {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(232, 195, 106, 0.06), rgba(232, 195, 106, 0) 58%),
    var(--acts-vline);
}
.acts__item--now::before { background: rgba(232, 195, 106, 0.55); }
.acts__item--now::after { box-shadow: 0 0 0 5px rgba(232, 195, 106, 0.14), 0 0 18px rgba(232, 195, 106, 0.7); }
/* наведение выносит любой акт вперёд */
.acts__item:hover {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(232, 195, 106, 0.08), rgba(232, 195, 106, 0) 62%),
    var(--acts-vline);
}
.acts__item--finale:hover {
  background:
    linear-gradient(180deg, rgba(232, 195, 106, 0.15), rgba(232, 195, 106, 0) 64%),
    var(--acts-vline);
}
.acts__item:hover .acts__num { -webkit-text-stroke-color: rgba(232, 195, 106, 0.95); text-stroke-color: rgba(232, 195, 106, 0.95); }
.acts__item:hover::before { background: rgba(232, 195, 106, 0.7); }
.acts__item:hover::after { box-shadow: 0 0 0 5px rgba(232, 195, 106, 0.18), 0 0 22px rgba(232, 195, 106, 0.85); }
@media (hover: none) { .acts__item { opacity: 1; } }
.acts__item:first-child {
  padding-left: 0;
  --acts-vline: none;
}
.acts__item:last-child { padding-right: 0; }
/* Точка на линии; сама горизонталь — единый слой .acts::after (desktop) */
.acts__item::before {
  content: ''; position: absolute; top: 0; left: 0; right: -1px; height: var(--acts-line-w);
  background: var(--acts-line-color);
  transition: background-color 0.3s ease;
}
.acts__item::after {
  content: ''; position: absolute;
  z-index: 1;
  top: calc(var(--acts-line-w) / 2 - var(--acts-dot-size) / 2);
  left: calc(var(--acts-line-w) / 2 - var(--acts-dot-size) / 2);
  width: var(--acts-dot-size); height: var(--acts-dot-size);
  border-radius: var(--radius-pill); background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 195, 106, 0.12), 0 0 14px rgba(232, 195, 106, 0.55);
  transition: box-shadow 0.3s ease;
}
.acts__num {
  font: 700 clamp(72px, 7vw, 124px)/0.8 'IBM Plex Sans Condensed', sans-serif;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(232, 195, 106, 0.5);
  text-stroke: 1.4px rgba(232, 195, 106, 0.5);
  transition: -webkit-text-stroke-color 0.3s ease;
}
.acts__head {
  margin-top: 22px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.acts__act {
  color: var(--gold);
  font: 800 var(--text-xs)/1 var(--font-ui);
  letter-spacing: var(--ls-caps); text-transform: uppercase;
}
.acts__period {
  color: rgba(244, 241, 234, 0.4);
  font: 800 var(--text-xs)/1 var(--font-ui);
  letter-spacing: var(--ls-caps); text-transform: uppercase;
}
.acts__title {
  margin: 14px 0 0;
  font: 600 var(--text-h3)/1.1 var(--font-display);
  color: var(--ink); letter-spacing: 0.004em;
  /* Выравниваем .acts__line по всем колонкам: самый длинный заголовок — 3 строки */
  min-height: calc(var(--text-h3) * 1.1 * 3);
}
.acts__line {
  margin: 12px 0 0;
  color: rgba(243, 240, 234, 0.72);
  font-size: var(--text-lg);
  line-height: 1.72;
  text-wrap: pretty;
  max-width: 34ch;
}
/* Правила этапа: каждое живёт на своей станции оси, а не в общем полотне.
   Маркер нейтральный — правил семь, золотые тире зашумели бы колонку.
   Типографика как у абзацев основателя (.vC__body p). */
.acts__rules {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.acts__rules li {
  position: relative;
  padding-left: 16px;
  color: rgba(243, 240, 234, 0.72);
  font-size: var(--text-lg);
  line-height: 1.72;
  text-wrap: pretty;
  max-width: 34ch;
}
.acts__rules li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 1px;
  background: rgba(244, 241, 234, 0.28);
}
/* Этап III — формула голосования как строки гроссбуха. Три пары в один ряд
   в колонку не помещаются (цифра + подпись до 11 знаков ×3), поэтому ledger
   вертикальный: цифра в левой колонке, подпись справа. */
.acts__formula {
  margin-top: auto; padding-top: 22px;
  display: grid; gap: 9px;
}
.acts__f {
  display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px;
}
.acts__f b {
  font: 700 clamp(26px, 2.2vw, 34px)/0.85 'IBM Plex Sans Condensed', sans-serif;
  color: var(--gold); letter-spacing: -0.02em;
}
.acts__f i {
  font: 900 var(--text-2xs)/1.2 var(--font-ui); font-style: normal;
  letter-spacing: var(--ls-caps); text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
}
/* Этап IV — finale climax */
.acts__item--finale {
  background:
    linear-gradient(180deg, rgba(232, 195, 106, 0.09), rgba(232, 195, 106, 0) 62%),
    var(--acts-vline);
}
.acts__item--finale::before { background: rgba(232, 195, 106, 0.6); }
.acts__item--finale::after { box-shadow: 0 0 0 5px rgba(232, 195, 106, 0.16), 0 0 20px rgba(232, 195, 106, 0.8); }
.acts__item--finale .acts__num {
  -webkit-text-stroke: 0; text-stroke: 0;
  background: linear-gradient(180deg, #f7ecd0 0%, #e8c36a 52%, #bd8c34 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.acts__finale-mark {
  position: absolute; top: 24px; right: 0;
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--gold); font: 900 var(--text-2xs)/1 var(--font-ui);
  letter-spacing: var(--ls-caps); text-transform: uppercase;
}
.acts__finale-mark::before {
  content: ''; width: 6px; height: 6px; border-radius: var(--radius-pill);
  background: var(--gold); box-shadow: 0 0 12px var(--gold);
}
/* right по padding колонки: у среднего акта он есть, у крайних обнулён */
.acts__now-mark {
  position: absolute; top: 24px; right: clamp(22px, 2vw, 40px);
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(232, 195, 106, 0.8); font: 900 var(--text-2xs)/1 var(--font-ui);
  letter-spacing: var(--ls-caps); text-transform: uppercase;
}
.acts__now-mark::before {
  content: ''; width: 5px; height: 5px; border-radius: var(--radius-pill);
  background: var(--gold); box-shadow: 0 0 9px rgba(232, 195, 106, 0.8);
}
@media (max-width: 900px) {
  .acts__list { grid-template-columns: 1fr 1fr; }
  .acts__item { min-height: 300px; }
  .acts__item:nth-child(2) { padding-right: 0; }
  .acts__item:nth-child(3) {
    padding-left: 0;
    --acts-vline: none;
  }
}
@media (max-width: 600px) {
  .acts__list { grid-template-columns: 1fr; }
  .acts__item {
    min-height: 0;
    padding: 34px 0 14px !important;
    --acts-vline: none;
  }
}

/* Линия снизу (desktop): точки под текстом; горизонталь шире контента —
   как .live-track__inner в .prototype-shell. На мобиле линия сверху у колонок. */
@media (min-width: 601px) {
  .acts__item { padding-top: 14px; padding-bottom: 46px; }
  .acts__item::before { display: none; }
  .acts__item::after {
    top: auto;
    bottom: calc(var(--acts-line-w) / 2 - var(--acts-dot-size) / 2);
  }
  .acts__item:hover {
    background:
      linear-gradient(0deg, rgba(232, 195, 106, 0.08), rgba(232, 195, 106, 0) 62%),
      var(--acts-vline);
  }
  .acts__item--finale {
    background:
      linear-gradient(0deg, rgba(232, 195, 106, 0.09), rgba(232, 195, 106, 0) 62%),
      var(--acts-vline);
  }
  .acts__item--finale:hover {
    background:
      linear-gradient(0deg, rgba(232, 195, 106, 0.15), rgba(232, 195, 106, 0) 64%),
      var(--acts-vline);
  }

  .acts::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 0;
    /* Ширина как у .live-track__inner: контейнер треков минус pad prototype-shell */
    width: calc(100cqw - 2 * clamp(10px, 1.4vw, 20px));
    height: var(--acts-line-w);
    transform: translateX(-50%);
    background: var(--acts-line-color);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    pointer-events: none;
  }

  /* 5-я точка: правый край 4-го этапа (замыкает ось) */
  .acts__item--finale::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    top: auto;
    bottom: calc(var(--acts-line-w) / 2 - var(--acts-dot-size) / 2);
    left: auto;
    right: calc(var(--acts-line-w) / 2 - var(--acts-dot-size) / 2);
    width: var(--acts-dot-size);
    height: var(--acts-dot-size);
    border-radius: var(--radius-pill);
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(232, 195, 106, 0.16), 0 0 20px rgba(232, 195, 106, 0.8);
  }
}
