/* ============================================================================
   SOWA — внутренние страницы «Шари титрів» (25.09.2026)
   Горизонтальная лента из трёх слоёв: гигантское слово страницы едет медленно
   (0.32 скорости), кадры и карточки — со скоростью ленты, рукописные строки —
   быстрее (1.3). Мир главной: чёрный, красный, узкие прописные Roboto Flex,
   рукописный Comforter, служебное Martian Mono, видео владельца.
   ========================================================================== */

:root {
  --ui-inset: clamp(16px, 2.2vw, 32px);
  --e-display: cubic-bezier(0.16, 1, 0.3, 1);
  --e-body: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --e-ui: cubic-bezier(0.4, 0, 0.2, 1);
  --ink-2: rgb(255 255 255 / 0.72);
  --ink-3: rgb(255 255 255 / 0.5);
  --line: rgb(255 255 255 / 0.22);
  --gap: clamp(40px, 7vw, 140px);
  --display: 'Roboto Flex', 'Arial Narrow', sans-serif;
  --script: 'Comforter', cursive;
  --mono: 'Martian Mono', ui-monospace, monospace;
  --body: 'Inter Tight', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::-webkit-scrollbar { display: none; }

html, body {
  height: 100%;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--red); color: var(--black); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 1.5px solid var(--red);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Сцена ---------------------------------------------------------------- */
/* .wrapper — имя, которое знает меню (отъезд назад при открытии). */
.wrapper.reel {
  position: fixed;
  inset: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  transform-origin: 50% 50%;
}

.reel__track {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100svh;
  width: max-content;
  padding-right: var(--gap);
}

/* Медленный слой: слово страницы. Живёт вне ленты (fixed), двигает его JS. */
.reel__word {
  position: fixed;
  left: clamp(-24px, -1vw, 0px);
  bottom: -0.2em;
  z-index: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 118svh;
  line-height: 0.8;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  /* маска режет только по вертикали: хвост слова за правым краем не теряется */
  clip-path: inset(-100vh -300vw 0 -100vw);
}

.reel__word-inner {
  display: inline-block;
  transform-origin: 0 100%;
}

.js .reel__word-inner { translate: 0 100%; }
.is-ready .reel__word-inner {
  translate: 0 0;
  transition: translate 1.35s var(--e-display) 0.15s;
}

/* Всё содержимое ленты — над словом */
.panel {
  position: relative;
  z-index: 1;
  flex: none;
  height: 100svh;
}

/* ---- Первый кадр --------------------------------------------------------- */
.panel--open {
  width: 100vw;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--ui-inset) + 72px) var(--ui-inset) var(--ui-inset);
}

.open__script {
  align-self: center;
  justify-self: end;
  margin-right: 6vw;
  font-family: var(--script);
  font-size: clamp(64px, 11vw, 200px);
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
  transform: rotate(-6deg);
  text-shadow: 0 2px 30px rgb(0 0 0 / 0.35);
}

.open__foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.meta {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  max-width: 38ch;
}

.meta b { color: var(--white); font-weight: 400; }

.cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white);
  white-space: nowrap;
}

.cue__arrow {
  width: 56px; height: 12px;
  overflow: visible;
  animation: cue 2.4s var(--e-body) infinite;
}

@keyframes cue {
  0%, 100% { translate: 0 0; }
  50% { translate: 12px 0; }
}

/* ---- Появление по мере прокрутки --------------------------------------- */
.js [data-reveal] {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.1s var(--e-display) var(--d, 0s);
}
.js [data-reveal="up"] {
  clip-path: inset(100% 0 -0.3em 0);
  translate: 0 0.35em;
  transition: clip-path 0.95s var(--e-display) var(--d, 0s), translate 0.95s var(--e-display) var(--d, 0s);
}
.js [data-reveal="fade"] {
  clip-path: none;
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.8s var(--e-body) var(--d, 0s), translate 0.8s var(--e-body) var(--d, 0s);
}
.js [data-reveal].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="up"].is-in { clip-path: inset(-0.3em -100vw -0.3em -100vw); translate: 0 0; }
.js [data-reveal="fade"].is-in { clip-path: none; opacity: 1; translate: 0 0; }

/* ---- Кадр: видео или постер ------------------------------------------- */
.shot {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
}

.shot video,
.shot img {
  position: absolute;
  inset: 0 -8%;               /* запас под внутренний параллакс */
  width: 116%;
  height: 100%;
  object-fit: cover;
  translate: var(--px, 0) 0;
}

/* ---- Быстрый слой: рукописные строки ----------------------------------- */
.fly {
  position: absolute;
  z-index: 3;
  font-family: var(--script);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.4);
  will-change: transform;
}

/* ---- Заголовки -------------------------------------------------------- */
.display {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.88;
  color: var(--white);
}

.display--red { color: var(--red); }

/* ---- Таблетки-ссылки (сервисы, YouTube) ------------------------------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s var(--e-ui), color 0.4s var(--e-ui);
}

.pill::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s var(--e-display);
}

.pill:hover,
.pill:focus-visible { border-color: var(--red); color: var(--black); }
.pill:hover::before,
.pill:focus-visible::before { clip-path: inset(0 0 0 0); }

.pill svg { width: 18px; height: 18px; flex: none; fill: currentColor; }

.tbd {
  display: inline-block;
  margin-left: 0.6em;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px dashed rgb(255 255 255 / 0.4);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  vertical-align: middle;
  text-transform: lowercase;
}

/* ==== МУЗИКА ============================================================ */
.release {
  display: grid;
  grid-template-columns: auto minmax(300px, 36vw);
  align-items: end;
  column-gap: clamp(28px, 3vw, 56px);
  padding: calc(var(--ui-inset) + 88px) 0 clamp(40px, 9svh, 96px) var(--gap);
}

.release__cover {
  width: min(64svh, 44vw);
  aspect-ratio: 1;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.55);
}

.release__cover::after {
  /* лёгкий виньет по краю, чтобы кадр читался как предмет, а не окно */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 30% 25%, transparent 55%, rgb(0 0 0 / 0.45));
  pointer-events: none;
}

.release__body { display: grid; gap: 22px; padding-bottom: 4px; }

.release__kind {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}

.release__title {
  font-size: clamp(56px, 13svh, 150px);
}

.tracks {
  list-style: none;
  border-top: 1px solid var(--line);
  counter-reset: t;
}

.tracks li {
  display: grid;
  grid-template-columns: 2.4em 1fr auto;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
  counter-increment: t;
  transition: color 0.3s var(--e-ui), translate 0.4s var(--e-display);
}

.tracks li::before {
  content: counter(t, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

.tracks li:hover { color: var(--white); translate: 8px 0; }

.tracks time {
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

/* ==== КЛІПИ ============================================================= */
.clip {
  display: grid;
  align-content: end;
  gap: 20px;
  padding: calc(var(--ui-inset) + 88px) 0 clamp(32px, 7svh, 72px) var(--gap);
  --focus: 0;
}

.clip__screen {
  width: min(118svh, 72vw);
  aspect-ratio: 16 / 9;
  box-shadow: 0 40px 100px rgb(0 0 0 / 0.6);
  /* кадр вне центра — приглушён, в центре — в полном цвете */
  filter: grayscale(calc(0.85 - var(--focus) * 0.85)) brightness(calc(0.55 + var(--focus) * 0.45));
  scale: calc(0.94 + var(--focus) * 0.06);
  transform-origin: 50% 100%;
}

.clip__row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: min(118svh, 72vw);
}

.clip__title { font-size: clamp(44px, 9svh, 104px); }

.clip__meta {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}

/* ==== ІСТОРІЯ =========================================================== */
.chapter {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  column-gap: clamp(28px, 3.4vw, 64px);
  padding: calc(var(--ui-inset) + 88px) 0 clamp(40px, 9svh, 96px) var(--gap);
}

.chapter__year {
  grid-column: 1 / -1;
  align-self: start;
  margin-bottom: auto;
  font-size: clamp(120px, 34svh, 380px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(255 255 255 / 0.85);
  line-height: 0.8;
}

.chapter__portrait {
  width: min(40svh, 30vw);
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.55);
}

.chapter__text {
  width: min(38ch, 34vw);
  display: grid;
  gap: 16px;
}

.chapter__lead {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 5.2svh, 52px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.chapter__text p { color: var(--ink-2); font-size: 16px; }

/* ==== КОНТАКТИ ========================================================== */
.contact {
  display: grid;
  align-content: end;
  gap: clamp(16px, 3svh, 32px);
  padding: calc(var(--ui-inset) + 88px) 0 clamp(40px, 9svh, 96px) var(--gap);
}

.contact__label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}

.bigline {
  position: relative;
  display: inline-block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(56px, 14svh, 168px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.35s var(--e-ui);
}

.bigline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.06em;
  height: 0.045em;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.6s var(--e-display);
}

.bigline:hover, .bigline:focus-visible { color: var(--red); }
.bigline:hover::after, .bigline:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }

.socials {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  column-gap: clamp(32px, 4vw, 72px);
  border-top: 1px solid var(--line);
}

.socials a {
  display: grid;
  grid-template-columns: 28px minmax(9ch, auto) auto;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 4.4svh, 44px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: color 0.3s var(--e-ui), translate 0.45s var(--e-display);
}

.socials svg { width: 24px; height: 24px; fill: currentColor; }
.socials small {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-3);
}
.socials a:hover, .socials a:focus-visible { color: var(--red); translate: 14px 0; }

/* ==== Финальный кадр: следующая страница =============================== */
.panel--next {
  display: grid;
  align-content: center;
  padding: 0 var(--gap);
}

.next {
  display: grid;
  justify-items: start;
  gap: 4px;
  color: var(--white);
}

.next__script {
  font-family: var(--script);
  font-size: clamp(48px, 9svh, 110px);
  line-height: 1;
  color: var(--white);
  transform: rotate(-4deg) translateY(0.25em);
  margin-left: 0.2em;
}

.next__word {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(110px, 30svh, 340px);
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.45s var(--e-ui);
}

.next__arrow {
  width: 0.5em;
  height: 0.5em;
  flex: none;
  transition: translate 0.6s var(--e-display);
}

.next:hover .next__word, .next:focus-visible .next__word { color: var(--red); }
.next:hover .next__arrow, .next:focus-visible .next__arrow { translate: 0.18em 0; }

/* ---- Прогресс ленты ---------------------------------------------------- */
.progress {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  height: 3px;
  background: var(--red);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---- Занавес перехода между страницами --------------------------------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: var(--red);
  pointer-events: none;
  clip-path: inset(0 0 0 100%);
}
.curtain.is-covering {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.55s cubic-bezier(0.77, 0, 0.18, 1);
}
.curtain.is-entering { clip-path: inset(0 0 0 0); }
.curtain.is-leaving {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.18, 1) 0.05s;
}

/* ---- Узкие экраны ------------------------------------------------------ */
@media (max-width: 767.98px) {
  :root { --gap: 44px; }

  .reel__word { font-size: 76svh; bottom: -0.16em; }

  .panel--open { padding-top: calc(var(--ui-inset) + 64px); }
  .open__script { justify-self: start; margin: 0; font-size: 74px; }
  .open__foot { flex-direction: column; align-items: start; }

  .release {
    grid-template-columns: 1fr;
    align-content: end;
    row-gap: 22px;
    width: calc(88vw + var(--gap));
    padding-top: calc(var(--ui-inset) + 64px);
    padding-bottom: 36px;
  }
  .release__cover { width: min(88vw, 44svh); }
  .release__body { gap: 14px; }
  .release__title { font-size: 60px; }
  .tracks li { padding: 8px 0; font-size: 14px; }

  .clip { padding-bottom: 40px; }
  .clip__screen, .clip__row { width: 86vw; }
  .clip__row { flex-direction: column; align-items: start; }
  .clip__title { font-size: 48px; }

  .chapter {
    grid-template-columns: 1fr;
    row-gap: 18px;
    width: calc(84vw + var(--gap));
    padding-top: calc(var(--ui-inset) + 64px);
    padding-bottom: 40px;
  }
  .chapter__year { font-size: 26svh; margin-bottom: 0; }
  .chapter__portrait { width: 52vw; }
  .chapter__text { width: 84vw; }
  .chapter__lead { font-size: 30px; }
  .chapter__text p { font-size: 15px; }

  .contact { width: calc(88vw + var(--gap)); padding-bottom: 44px; }
  .bigline { font-size: clamp(34px, 11.5vw, 60px); white-space: normal; overflow-wrap: anywhere; }
  .socials { grid-auto-flow: row; grid-template-rows: none; }
  .socials a { min-height: 54px; font-size: 26px; }

  .next__word { font-size: 25svh; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reel__word-inner, .is-ready .reel__word-inner { translate: 0 0; transition: none; }
  .js [data-reveal] { clip-path: none !important; opacity: 1 !important; translate: 0 0 !important; transition: none !important; }
  .cue__arrow { animation: none; }
  .clip__screen { filter: none; scale: 1; }
}

/* ---- Подложки для мелкого текста (25.09.2026, проверка глазами) ---------
   Слово страницы проезжает под лентой красным; белый мелкий текст на красном
   теряет контраст (4:1 и ниже). Крупные заголовки остаются на красном, мелкое
   садится на чёрную титровую карточку. */
.meta,
.release__body,
.chapter__text,
.contact__label,
.socials,
.clip__row {
  background: var(--black);
}

.meta { padding: 10px 14px; margin: -10px -14px; }
.release__body { padding: 26px 28px 28px; margin-left: -28px; }
.chapter__text { padding: 24px 28px 26px; margin-left: -28px; }
.contact__label { justify-self: start; padding: 8px 12px; margin-left: -12px; }
.socials { padding: 0 14px; margin-left: -14px; }
.clip__row { padding-top: 18px; }

.panel--next { padding-left: calc(var(--gap) * 2.2); }

@media (max-width: 767.98px) {
  .release__body, .chapter__text { padding: 18px 18px 20px; margin-left: -18px; }
  .panel--next { padding-left: calc(var(--gap) * 1.4); }
}

/* Телефон: рукописные выноски внутри карточек снимаются (приём кадрирования на
   узкие не переносится, налезают на обложку и текст); остаётся строка первого
   экрана. Почта и телефон — одной строкой, кегль от ширины. */
@media (max-width: 767.98px) {
  .panel:not(.panel--open) > .fly { display: none; }
  .bigline { font-size: 10.2vw; white-space: nowrap; overflow-wrap: normal; }
}

/* Телефон: слово страницы — наверху, иначе верхняя половина экрана пустая,
   а содержимое и слово толкутся внизу. */
@media (max-width: 767.98px) {
  .reel__word { top: calc(var(--ui-inset) + 56px); bottom: auto; font-size: 58svh; clip-path: inset(0 -300vw -100vh -100vw); }
  .js .reel__word-inner { translate: 0 -100%; }
  .is-ready .reel__word-inner { translate: 0 0; }
}

/* Рукописная строка первого кадра — абсолютная (быстрый слой), поэтому нижний
   блок явно ставится во вторую строку сетки, иначе на телефоне он уезжает вверх. */
.open__foot { grid-row: 2; }
@media (max-width: 767.98px) {
  .open__foot { gap: 18px; }
  .open__script { top: 50svh; left: var(--ui-inset); }
}

/* ==== КЛІПИ: 22 обложки по годам (25.09.2026) ========================== */
.years {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: calc(var(--ui-inset) + 76px) 0 clamp(28px, 5svh, 56px) var(--gap);
  --c: min(44svh, 30vw);
}

/* год — контурный титр за обложками, срезан верхним краем группы */
.years__num {
  position: absolute;
  top: calc(var(--ui-inset) + 48px);
  left: calc(var(--gap) - 0.04em);
  z-index: 0;
  font-size: clamp(120px, 30svh, 330px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(255 255 255 / 0.8);
  pointer-events: none;
}

.years__row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(22px, 2.6vw, 48px);
  align-items: flex-start;
}

.cover {
  position: relative;
  display: grid;
  gap: 0;
  width: var(--c);
  flex: none;
  margin-top: 20svh;
  color: var(--white);
  --focus: 1;
  outline-offset: 6px;
}

/* ритм: карточки через одну опущены — строка титров, а не полка */
.cover:nth-child(even) { margin-top: 32svh; }

.cover--lead { --c: min(60svh, 42vw); margin-top: 12svh; }

.cover__img {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.55);
  filter: grayscale(calc(0.7 - var(--focus) * 0.7)) brightness(calc(0.5 + var(--focus) * 0.5));
}

.cover__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.001;
  transition: scale 0.9s var(--e-display);
}

.cover__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cover__play svg {
  width: clamp(64px, 18%, 96px);
  overflow: visible;
  opacity: 0;
  scale: 0.7;
  transition: opacity 0.35s var(--e-ui), scale 0.6s var(--e-display);
  filter: drop-shadow(0 6px 24px rgb(0 0 0 / 0.45));
}

.cover__ring {
  fill: rgb(0 0 0 / 0.25);
  stroke: var(--white);
  stroke-width: 2;
  stroke-dasharray: 86 14;
  transform-origin: 40px 40px;
  transition: rotate 1.2s var(--e-display), stroke 0.3s var(--e-ui);
}

.cover__tri { fill: var(--white); transition: fill 0.3s var(--e-ui); }

.cover:hover .cover__img img,
.cover:focus-visible .cover__img img { scale: 1.07; }

.cover:hover .cover__play svg,
.cover:focus-visible .cover__play svg { opacity: 1; scale: 1; }

.cover:hover .cover__ring,
.cover:focus-visible .cover__ring { rotate: 200deg; stroke: var(--red); fill: var(--red); }

.cover__cap {
  display: grid;
  gap: 6px;
  padding: 14px 16px 16px;
  margin-top: 0;
  background: var(--black);
}

.cover__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 4.2svh, 40px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.3s var(--e-ui);
}

.cover--lead .cover__title { font-size: clamp(34px, 7svh, 64px); }

.cover__meta {
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

.cover:hover .cover__title,
.cover:focus-visible .cover__title { color: var(--red); }

/* ==== Плеер поверх сайта: раскрывается кругом из точки нажатия ========== */
.player {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(64px, 9svh, 110px) clamp(16px, 5vw, 96px) clamp(24px, 5svh, 56px);
  background: #060607;
  visibility: hidden;
  clip-path: circle(0px at var(--ox, 50%) var(--oy, 50%));
}

.player[aria-hidden="false"] { visibility: visible; }

.player__stage {
  display: grid;
  gap: 18px;
  width: min(100%, calc((100svh - 220px) * 16 / 9));
}

.player__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 40px 120px rgb(0 0 0 / 0.7);
}

.player__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.player__title { font-size: clamp(30px, 6svh, 64px); }

.player__close {
  position: absolute;
  top: calc(var(--ui-inset) - 4px);
  right: calc(var(--ui-inset) - 4px);
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
}

.player__close svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.player__close svg circle { transition: stroke 0.3s var(--e-ui); }
.player__close:hover svg circle { stroke: var(--red); }
.player__close:focus-visible { outline: 1.5px solid var(--red); outline-offset: 4px; border-radius: 50%; }

@media (max-width: 767.98px) {
  .years { --c: 66vw; padding-top: calc(var(--ui-inset) + 60px); }
  .years__num { font-size: 18svh; top: calc(var(--ui-inset) + 64px); }
  .cover { margin-top: 30svh; }
  .cover:nth-child(even) { margin-top: 38svh; }
  .cover--lead { --c: 78vw; margin-top: 26svh; }
  .cover__title { font-size: 26px; }
  .cover--lead .cover__title { font-size: 34px; }
  .player__bar { flex-direction: column; align-items: start; }
  .player__title { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover__img { filter: none; }
  .cover__img img, .cover__play svg, .cover__ring { transition: none; }
}

/* ==== Кліпи, правки владельца 25.09.2026 ================================
   годы — рукописным белым; первый кадр узкий, клипы начинаются на первом экране */
.page-klipy .panel--open { width: clamp(300px, 30vw, 520px); }

.page-klipy .years { padding-left: calc(var(--gap) * 0.6); }

.years__num {
  top: calc(var(--ui-inset) + 30px);
  left: calc(var(--gap) * 0.6 - 0.1em);
  z-index: 2;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(96px, 21svh, 230px);
  line-height: 1;
  color: var(--white);
  -webkit-text-stroke: 0;
  text-transform: none;
  letter-spacing: 0;
  rotate: -6deg;
  transform-origin: 0 100%;
  text-shadow: 0 4px 30px rgb(0 0 0 / 0.45);
}

@media (max-width: 767.98px) {
  .page-klipy .panel--open { width: 34vw; }
  .page-klipy .open__foot .meta { width: 72vw; }
  .years__num { font-size: 15svh; top: calc(var(--ui-inset) + 40svh); }
}

@media (max-width: 767.98px) {
  /* год над обложкой, на красном слове — не на лице в кадре */
  .years__num { top: calc(var(--ui-inset) + 17svh); font-size: 13svh; }
}

/* ==== ІСТОРІЯ: біографія по роках, від нового до старого (25.09.2026) ===== */
.bio-final {
  display: grid;
  align-content: center;
  gap: 22px;
  width: min(78vw, 1100px);
  padding: calc(var(--ui-inset) + 60px) 0 40px var(--gap);
}

.bio-final__lead {
  justify-self: start;
  max-width: 46ch;
  padding: 10px 14px;
  margin-left: -14px;
  background: var(--black);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}

.bio-final__big {
  max-width: 15ch;
  font-size: clamp(56px, 11svh, 132px);
  text-shadow: 0 6px 40px rgb(0 0 0 / 0.5);
}

.bio {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  column-gap: clamp(28px, 3.2vw, 60px);
  padding: calc(var(--ui-inset) + 150px) 0 clamp(36px, 8svh, 88px) var(--gap);
}

.bio--flip { align-items: start; padding-top: calc(var(--ui-inset) + 190px); }
.bio--flip .bio__photo { order: 2; }
.bio--flip .bio__text { order: 1; }

.bio__year {
  position: absolute;
  top: calc(var(--ui-inset) + 26px);
  left: calc(var(--gap) - 0.08em);
  z-index: 3;
  font-family: var(--script);
  font-size: clamp(96px, 20svh, 220px);
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
  rotate: -6deg;
  transform-origin: 0 100%;
  text-shadow: 0 4px 30px rgb(0 0 0 / 0.45);
  pointer-events: none;
}

.bio__year--range { font-size: clamp(76px, 15svh, 170px); }

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

.bio__img { display: block; }

.bio__img img {
  display: block;
  height: min(54svh, 560px);
  width: auto;
  max-width: 46vw;
  object-fit: cover;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.55);
}

.bio__photo figcaption {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 8px;
  background: var(--black);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

.bio__text {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  width: min(42ch, 36vw);
  padding: 26px 28px 28px;
  background: var(--black);
}

.bio__title { font-size: clamp(40px, 8svh, 84px); margin-bottom: 6px; }

.bio__text p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.bio__text strong { color: var(--white); font-weight: 500; }

.song {
  display: inline;
  color: var(--white);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.3s var(--e-ui);
}

.song svg {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-right: 0.3em;
  vertical-align: 0.02em;
  fill: var(--red);
  transition: translate 0.4s var(--e-display);
}

.song:hover, .song:focus-visible { color: var(--red); }
.song:hover svg, .song:focus-visible svg { translate: 2px 0; }

@media (max-width: 767.98px) {
  .bio-final { width: calc(86vw + var(--gap)); }
  .bio-final__big { font-size: 12.5vw; }

  .bio, .bio--flip {
    grid-template-columns: 1fr;
    align-items: end;
    align-content: end;
    row-gap: 14px;
    width: calc(86vw + var(--gap));
    padding-top: calc(var(--ui-inset) + 60px);
    padding-bottom: 32px;
  }
  .bio--flip .bio__photo { order: 0; }
  .bio__year, .bio__year--range { top: calc(var(--ui-inset) + 17svh); font-size: 12svh; }
  .bio__year--range { font-size: 9svh; }
  .bio__img img { height: 30svh; max-width: 86vw; }
  .bio__text { width: 86vw; padding: 18px 18px 20px; margin-left: -18px; }
  .bio__title { font-size: 34px; }
  .bio__text p { font-size: 15px; }
}

/* Історія: первый кадр узкий — входом служит итоговая фраза; кадр 2022 маленький
   (474 px) — не растягивать больше ~1.15 раза */
.page-istoriia .panel--open { width: clamp(300px, 26vw, 460px); }
.bio__img img[src$="war-2022.webp"] { height: auto; width: min(545px, 46vw); }
@media (max-width: 767.98px) {
  .page-istoriia .panel--open { width: 30vw; }
  .page-istoriia .open__foot .meta { width: 72vw; }
  .bio__img img[src$="war-2022.webp"] { width: 86vw; }
}

/* узкий первый кадр: служебная строка — по содержимому, а не столбиком */
.page-istoriia .open__foot .meta,
.page-klipy .open__foot .meta { width: max-content; max-width: 44ch; }
@media (max-width: 767.98px) {
  .page-istoriia .panel--open { width: 100vw; }
  .page-istoriia .open__foot .meta { width: auto; }
}

/* ==== МУЗИКА: площадки артистки + дискографія по роках (25.09.2026) ======== */
.page-muzyka .panel--open { width: clamp(300px, 26vw, 460px); }
.page-muzyka .open__foot .meta { width: max-content; max-width: 44ch; }

.listen {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: calc(var(--ui-inset) + 70px) 0 40px var(--gap);
}

.listen__script {
  font-family: var(--script);
  font-size: clamp(72px, 15svh, 170px);
  line-height: 1;
  color: var(--white);
  rotate: -5deg;
  transform-origin: 0 100%;
  margin-bottom: 10px;
  text-shadow: 0 4px 30px rgb(0 0 0 / 0.45);
}

.platforms {
  list-style: none;
  width: min(52vw, 760px);
  background: var(--black);
  padding: 0 18px;
  margin-left: -18px;
  border-top: 1px solid var(--line);
}

.platforms a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: clamp(64px, 10svh, 96px);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 6.4svh, 64px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.3s var(--e-ui), translate 0.45s var(--e-display);
}

.platforms a > svg:first-child { width: 36px; height: 36px; fill: currentColor; }
.platforms__arrow { width: 30px; height: 30px; transition: translate 0.5s var(--e-display); }
.platforms a:hover, .platforms a:focus-visible { color: var(--red); translate: 12px 0; }
.platforms a:hover .platforms__arrow { translate: 6px -6px; }

.rel { --focus: 1; }
.rel__main { display: grid; }
.rel .cover__img { display: block; }

.rel__note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white);
  margin-top: -2px;
}

.svc { display: flex; gap: 8px; margin-top: 8px; }

.svc__a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--white);
  transition: background 0.3s var(--e-ui), border-color 0.3s var(--e-ui), color 0.3s var(--e-ui), scale 0.4s var(--e-display);
}

.svc__a svg { width: 17px; height: 17px; fill: currentColor; }
.svc__a:hover, .svc__a:focus-visible { background: var(--red); border-color: var(--red); color: var(--black); scale: 1.08; }

/* альбом «Вініл»: обложка крупнее, рядом треклист на титровой подложке */
.rel--album {
  width: auto;
  display: grid;
  grid-template-columns: var(--c) minmax(280px, 30vw);
  column-gap: clamp(20px, 2vw, 36px);
  align-items: end;
}

.rel__tracks {
  align-self: end;
  padding: 16px 20px 18px;
  background: var(--black);
  border-top: 0;
}

.rel__tracks li { padding: 6px 0; font-size: 14px; }

@media (max-width: 767.98px) {
  .page-muzyka .panel--open { width: 100vw; }
  .page-muzyka .open__foot .meta { width: auto; }
  .listen { width: calc(88vw + var(--gap)); }
  .listen__script { font-size: 64px; }
  .platforms { width: 88vw; }
  .platforms a { grid-template-columns: 32px 1fr auto; gap: 14px; font-size: 32px; min-height: 60px; }
  .platforms a > svg:first-child { width: 26px; height: 26px; }
  .rel--album { grid-template-columns: 1fr; row-gap: 12px; width: 78vw; }
  .rel__tracks { display: none; }
  .svc__a { width: 40px; height: 40px; }
}

/* Музика, правки после проверки: «Слухай SOWA» не должно сливаться с годом
   соседней группы; альбом не участвует в ступеньке и влезает по высоте */
.listen { padding-right: calc(var(--gap) * 1.6); }
.listen__script { font-size: clamp(64px, 12svh, 140px); }

.cover.rel--album,
.cover.rel--album:nth-child(even) { --c: min(50svh, 36vw); margin-top: 8svh; }
.rel__tracks li { padding: 4px 0; font-size: 13px; }
.rel__tracks { padding: 12px 18px 14px; }

@media (max-width: 767.98px) {
  .cover.rel--album, .cover.rel--album:nth-child(even) { --c: 78vw; margin-top: 26svh; }
  .listen { padding-right: var(--gap); }
}

/* ==== «Слухай SOWA»: пять пластинок вместо таблицы (правка владельца 25.09.2026) ==
   предмет с массой: бороздки, неподвижный блик, этикетка с логотипом; вращается сам
   винил, блик стоит — как свет в комнате. Ступенька, как у обложек ниже. */
.discs {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.2vw, 40px);
  --d-size: min(25svh, 16vw);
}

.discs li:nth-child(even) { margin-top: 13svh; }

.disc {
  display: grid;
  justify-items: center;
  gap: 16px;
  color: var(--white);
}

.disc__vinyl {
  position: relative;
  display: block;
  width: var(--d-size);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 34px 70px rgb(0 0 0 / 0.65), 0 0 0 1px rgb(255 255 255 / 0.05);
  transition: translate 0.6s var(--e-display), scale 0.6s var(--e-display);
}

/* неподвижный блик поверх вращающегося винила */
.disc__vinyl::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 8%, rgb(255 255 255 / 0.16) 12%, transparent 18% 56%, rgb(255 255 255 / 0.1) 60%, transparent 66%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.disc__grooves {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 33%, #050505 33.4% 35%, transparent 35.4%),
    repeating-radial-gradient(circle, #0a0a0a 0 1.6px, #181818 1.6px 2.4px),
    #0b0b0b;
  animation: disc-spin 7s linear infinite;
}

.discs li:nth-child(2n) .disc__grooves { animation-duration: 8.5s; }
.discs li:nth-child(3n) .disc__grooves { animation-duration: 6.2s; }

.disc__label {
  position: relative;
  display: grid;
  place-items: center;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  transition: background 0.4s var(--e-ui), color 0.4s var(--e-ui);
}

/* шпиндель */
.disc__label::after {
  content: '';
  position: absolute;
  width: 7%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 0 2px rgb(0 0 0 / 0.2);
}

.disc__label svg {
  width: 44%;
  height: 44%;
  fill: currentColor;
  translate: 0 -14%;
}

.disc__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 4svh, 40px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: var(--black);
  transition: color 0.3s var(--e-ui);
}

.disc:hover .disc__vinyl, .disc:focus-visible .disc__vinyl { translate: 0 -10px; scale: 1.05; }
.disc:hover .disc__label, .disc:focus-visible .disc__label { background: var(--white); color: var(--black); }
.disc:hover .disc__name, .disc:focus-visible .disc__name { color: var(--red); }
.disc:focus-visible { outline: none; }
.disc:focus-visible .disc__vinyl { outline: 1.5px solid var(--red); outline-offset: 6px; }

@keyframes disc-spin { to { rotate: 360deg; } }

@media (max-width: 767.98px) {
  .discs {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    column-gap: 22px;
    row-gap: 18px;
    --d-size: 34vw;
  }
  .discs li:nth-child(even) { margin-top: 5svh; }
  .disc__name { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .disc__grooves { animation: none; }
}

/* подписи пластинок — без чёрных плашек (владелец: «чёрный квадрат некрасиво») */
.disc__name { background: none; padding: 0; text-shadow: 0 2px 18px rgb(0 0 0 / 0.75), 0 0 2px rgb(0 0 0 / 0.6); }

/* этикетка неподвижна (логотип читается), вращение видно по блику в бороздках */
.disc__vinyl { display: grid; place-items: center; }
.disc__grooves {
  background:
    conic-gradient(from 0deg, transparent 0 30%, rgb(255 255 255 / 0.07) 36%, transparent 42% 80%, rgb(255 255 255 / 0.05) 86%, transparent 92%),
    radial-gradient(circle, transparent 0 33%, #050505 33.4% 35%, transparent 35.4%),
    repeating-radial-gradient(circle, #0a0a0a 0 1.6px, #181818 1.6px 2.4px),
    #0b0b0b;
}
.disc__label { position: relative; z-index: 1; }
.disc__label svg { translate: 0 0; }
.disc__label::after { display: none; }
.disc__name { color: var(--white); text-shadow: 0 1px 14px rgb(0 0 0 / 0.45); }

@media (max-width: 767.98px) {
  .listen { padding-top: calc(var(--ui-inset) + 90px); }
  .listen__script { font-size: 54px; }
  .discs { grid-template-columns: repeat(3, auto); column-gap: 12px; row-gap: 14px; --d-size: 27vw; }
  .discs li:nth-child(even) { margin-top: 0; }
  .discs li:nth-child(3n+2) { margin-top: 4svh; }
  .disc { gap: 10px; }
  .disc__name { font-size: 17px; }
}

/* Наведение не красным там, где под текстом может проехать красное слово страницы
   (владелец 25.09.2026: «красный ховер на красном»). */
.disc__name { padding: 5px 12px; border-radius: 999px; transition: color 0.3s var(--e-ui), background 0.3s var(--e-ui), text-shadow 0.3s var(--e-ui); }
.disc:hover .disc__name, .disc:focus-visible .disc__name { color: var(--black); background: var(--white); text-shadow: none; }

.next__word { position: relative; }
.next__word::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.04em;
  height: 0.035em;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.6s var(--e-display);
}
.next:hover .next__word, .next:focus-visible .next__word { color: var(--white); }
.next:hover .next__word::after, .next:focus-visible .next__word::after { transform: scaleX(1); transform-origin: 0 50%; }

.bigline:hover, .bigline:focus-visible { color: var(--white); }
.bigline::after { background: var(--white); }

/* ==== Без скруглений в интерфейсе (владелец 25.09.2026). Пластинки — предмет,
   кольцо бургера и «плей» — мотив «О» из знака, они остаются круглыми. ======== */
.pill, .svc__a, .tbd, .player__yt, .disc__name { border-radius: 0; }

/* подпись пластинки: белый блок прорезается слева, буквы перепечатываются
   (приём Tsula из меню главной) */
.disc__name {
  position: relative;
  isolation: isolate;
  background: none;
  padding: 6px 12px;
}
.disc__name::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.55s var(--e-display);
}
.disc:hover .disc__name, .disc:focus-visible .disc__name {
  background: none;
  color: var(--black);
  text-shadow: none;
  transition: color 0.15s var(--e-ui) 0.08s;
}
.disc:hover .disc__name::before, .disc:focus-visible .disc__name::before { clip-path: inset(0 0 0 0); }
.disc__name .l { display: inline-block; white-space: pre; }

/* кнопки сервисов: квадрат, заливка поднимается снизу */
.svc__a { position: relative; isolation: isolate; overflow: hidden; }
.svc__a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.45s var(--e-display);
}
.svc__a:hover, .svc__a:focus-visible { background: none; scale: 1; }
.svc__a:hover::before, .svc__a:focus-visible::before { clip-path: inset(0 0 0 0); }
.svc__a svg { transition: translate 0.45s var(--e-display); }
.svc__a:hover svg, .svc__a:focus-visible svg { translate: 0 -1px; }

/* ==== ЗМІ: ★ — карточки в два ряда, остальное — плотный список рядом (25.09.2026) ==== */
.page-zmi .panel--open { width: clamp(300px, 26vw, 460px); }
.page-zmi .open__foot .meta { width: max-content; max-width: 44ch; }

.press__row-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 2vw, 32px);
  padding-top: 20svh;
}

.press__cards {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  align-items: end;
  gap: 16px;
}

.press__card {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: space-between;
  gap: 22px;
  width: clamp(270px, 23vw, 370px);
  min-height: 29svh;
  padding: 22px 24px 24px;
  background: var(--black);
  border: 1px solid var(--line);
  color: var(--white);
  overflow: hidden;
  transition: color 0.2s var(--e-ui) 0.06s, border-color 0.3s var(--e-ui);
}

/* наведение: белый блок поднимается снизу, текст чернеет — не красным (под лентой красное слово) */
.press__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.55s var(--e-display);
}

a.press__card:hover, a.press__card:focus-visible { color: var(--black); border-color: var(--white); }
a.press__card:hover::before, a.press__card:focus-visible::before { clip-path: inset(0 0 0 0); }

.press__meta {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  color: inherit;
  opacity: 0.75;
  padding-right: 34px;
}
.press__meta b { font-weight: 700; opacity: 1; }

.press__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 3.7svh, 38px);
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.press__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 22px;
  height: 22px;
  transition: translate 0.5s var(--e-display);
}
a.press__card:hover .press__arrow { translate: 4px -4px; }

.press__list {
  list-style: none;
  width: clamp(320px, 29vw, 450px);
  padding: 6px 20px 8px;
  background: var(--black);
}

.press__row {
  display: grid;
  grid-template-columns: 86px 1fr;
  column-gap: 14px;
  row-gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  transition: translate 0.45s var(--e-display);
}
.press__list li:last-child .press__row { border-bottom: 0; }

.press__row time {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  transition: color 0.3s var(--e-ui);
}
.press__row b { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--white); }
.press__row span { font-size: 14px; line-height: 1.45; color: var(--ink-2); transition: color 0.3s var(--e-ui); }

a.press__row:hover, a.press__row:focus-visible { translate: 6px 0; }
a.press__row:hover span, a.press__row:focus-visible span { color: var(--white); }
a.press__row:hover time, a.press__row:focus-visible time { color: var(--red); }

@media (max-width: 767.98px) {
  .page-zmi .panel--open { width: 100vw; }
  .page-zmi .open__foot .meta { width: auto; }
  .press__row-wrap { padding-top: 30svh; align-items: flex-end; }
  .press__cards { grid-template-rows: auto; }
  .press__card { width: 76vw; min-height: 24svh; }
  .press__title { font-size: 26px; }
  .press__list { width: 84vw; }
}

/* длинный список года переносится в соседние колонки: не выше 6 строк */
.press__list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(6, auto);
  grid-auto-columns: clamp(300px, 26vw, 400px);
  column-gap: 26px;
  align-content: end;
  width: auto;
}
.press__list li { border-bottom: 1px solid var(--line); }
.press__row { border-bottom: 0; }
@media (max-width: 767.98px) {
  .press__list { grid-template-rows: repeat(5, auto); grid-auto-columns: 80vw; }
}

/* ==== ЗМІ: логотипы и фото из статей (25.09.2026) ========================= */
/* стена логотипов: белые/серые, при наведении — родные цвета */
.press-wall {
  display: grid;
  align-content: center;
  gap: 28px;
  padding: calc(var(--ui-inset) + 70px) calc(var(--gap) * 1.4) 40px var(--gap);
}
.press-wall__script {
  font-family: var(--script);
  font-size: clamp(64px, 12svh, 140px);
  line-height: 1;
  color: var(--white);
  rotate: -5deg;
  transform-origin: 0 100%;
  text-shadow: 0 4px 30px rgb(0 0 0 / 0.45);
}
.press-wall__logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, auto);
  align-items: center;
  justify-content: start;
  column-gap: clamp(36px, 4vw, 72px);
  row-gap: clamp(30px, 5svh, 54px);
}
.press-wall__logos img {
  display: block;
  height: clamp(30px, 5.4svh, 52px);
  width: auto;
  max-width: 220px;
  transition: filter 0.5s var(--e-ui), scale 0.5s var(--e-display);
}
img[data-mode="white"] { filter: brightness(0) invert(1); }
img[data-mode="gray"] { filter: grayscale(1) brightness(1.15) contrast(1.05); }
.press-wall__logos li:hover img { filter: none; scale: 1.08; }

/* карточка: тело отдельно, фото — во всю карточку с затемнением снизу */
.press__card { padding: 0; }
.press__body {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: inherit;
  padding: 22px 24px 24px;
}
.press__meta { display: flex; align-items: center; gap: 12px; }
.press__meta b { font-family: var(--mono); }
.press__logo { height: 18px; width: auto; max-width: 120px; transition: filter 0.3s var(--e-ui); }
a.press__card:not(.has-img):hover .press__logo,
a.press__card:not(.has-img):focus-visible .press__logo { filter: brightness(0); }

.press__card.has-img { min-height: 33svh; border-color: transparent; }
.press__card.has-img::before { display: none; }
.press__card.has-img .press__body { align-content: end; }
.press__img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.press__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.9s var(--e-display);
}
.press__card.has-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgb(0 0 0 / 0.94) 0 38%, rgb(0 0 0 / 0.55) 62%, rgb(0 0 0 / 0.1));
}
.press__card.has-img .press__meta { opacity: 1; }
.press__card.has-img .press__title {
  background: linear-gradient(var(--white), var(--white)) 0 100% / 0% 2px no-repeat;
  padding-bottom: 6px;
  transition: background-size 0.6s var(--e-display);
}
a.press__card.has-img:hover, a.press__card.has-img:focus-visible { color: var(--white); border-color: transparent; }
a.press__card.has-img:hover .press__img img { scale: 1.06; }
a.press__card.has-img:hover .press__title { background-size: 100% 2px; }
.press__row-wrap { padding-top: 17svh; }

@media (max-width: 767.98px) {
  .press-wall { width: calc(88vw + var(--gap)); padding-right: var(--gap); }
  .press-wall__script { font-size: 54px; }
  .press-wall__logos { grid-template-columns: repeat(3, auto); column-gap: 26px; row-gap: 24px; }
  .press-wall__logos img { height: 26px; max-width: 100px; }
  .press__card.has-img { min-height: 30svh; }
  .press__row-wrap { padding-top: 30svh; }
}

/* стена: при наведении не перекрашивать — только крупнее (владелец 25.09.2026) */
.press-wall__logos li:hover img[data-mode="white"] { filter: brightness(0) invert(1); }
.press-wall__logos li:hover img[data-mode="gray"] { filter: grayscale(1) brightness(1.15) contrast(1.05); }
.press-wall__logos li:hover img { scale: 1.18; }
/* карточка без фото: у логотипов с цветной плашкой на белом — родной цвет, а не чёрное пятно */
a.press__card:not(.has-img):hover .press__logo[src*="novyi"],
a.press__card:not(.has-img):hover .press__logo[src*="24kanal"],
a.press__card:not(.has-img):focus-visible .press__logo[src*="novyi"],
a.press__card:not(.has-img):focus-visible .press__logo[src*="24kanal"] { filter: none; }

.press-wall__logos { grid-template-columns: repeat(4, auto); }
.press-wall__more {
  font-family: var(--script);
  font-size: clamp(36px, 6svh, 64px);
  line-height: 1;
  color: var(--white);
  rotate: -3deg;
  transform-origin: 0 50%;
  margin-top: 6px;
  text-shadow: 0 3px 24px rgb(0 0 0 / 0.45);
}
/* 24 канал на карточках — всегда в родном красном (владелец 25.09.2026) */
.press__logo[src*="24kanal"] { filter: none; }
@media (max-width: 767.98px) {
  .press-wall__logos { grid-template-columns: repeat(2, auto); }
  .press-wall__more { font-size: 34px; }
}

/* «та інші →» — прописными, стрелка подгоняет к прокрутке (владелец 25.09.2026) */
.press-wall__more {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 6px 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 5svh, 52px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  rotate: 0deg;
  text-shadow: 0 3px 24px rgb(0 0 0 / 0.45);
}
.press-wall__more svg {
  width: clamp(70px, 7vw, 110px);
  height: auto;
  animation: cue 2.4s var(--e-body) infinite;
}
.press-wall__more:hover svg { animation-duration: 1s; }
@media (max-width: 767.98px) { .press-wall__more { font-size: 30px; } }

/* ==== КОНТАКТИ: почта и соцсети логотипами (25.09.2026) ===================== */
.page-kontakty .panel--open { width: clamp(300px, 26vw, 460px); }
.page-kontakty .open__foot .meta { width: max-content; max-width: 44ch; }

.contact--main {
  align-content: center;
  gap: clamp(20px, 4svh, 40px);
  padding-right: calc(var(--gap) * 1.5);
}

.contact__script {
  font-family: var(--script);
  font-size: clamp(60px, 11svh, 130px);
  line-height: 1;
  color: var(--white);
  rotate: -5deg;
  transform-origin: 0 100%;
  text-shadow: 0 4px 30px rgb(0 0 0 / 0.45);
}

.contact--main .bigline {
  font-size: clamp(64px, 16svh, 190px);
  justify-self: start;
  text-shadow: 0 6px 40px rgb(0 0 0 / 0.35);
}

.soc {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 3.4vw, 60px);
  margin-top: 6px;
}

.soc__a {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--white);
}

.soc__icon svg {
  display: block;
  width: clamp(44px, 7.5svh, 76px);
  height: auto;
  fill: currentColor;
  filter: drop-shadow(0 6px 20px rgb(0 0 0 / 0.45));
  transition: scale 0.55s var(--e-display), translate 0.55s var(--e-display);
}

.soc__a .disc__name { font-size: clamp(16px, 2.4svh, 22px); }
.soc__a:hover .soc__icon svg, .soc__a:focus-visible .soc__icon svg { scale: 1.14; translate: 0 -6px; }
.soc__a:hover .disc__name, .soc__a:focus-visible .disc__name { color: var(--black); background: none; text-shadow: none; transition: color 0.15s var(--e-ui) 0.08s; }
.soc__a:hover .disc__name::before, .soc__a:focus-visible .disc__name::before { clip-path: inset(0 0 0 0); }
.soc__a:focus-visible { outline: none; }

@media (max-width: 767.98px) {
  .page-kontakty .panel--open { width: 100vw; }
  .page-kontakty .open__foot .meta { width: auto; }
  .contact--main { width: calc(88vw + var(--gap)); padding-right: var(--gap); align-content: end; padding-bottom: 60px; }
  .contact__script { font-size: 56px; }
  .contact--main .bigline { font-size: 12.5vw; }
  .soc { gap: 22px 26px; }
  .soc__icon svg { width: 40px; }
}

/* телефон: контакты — сразу на первом экране (владелец: «непонятно, что надо скроллить») */
@media (max-width: 767.98px) {
  .page-kontakty .panel--open { display: none; }
  .page-kontakty .contact--main { width: 100vw; padding-left: calc(var(--ui-inset) + 4px); padding-right: var(--ui-inset); }
  .soc { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px 28px; }
}

/* буквы подписи — отдельные span: без запрета переноса слово рвётся посередине */
.disc__name { white-space: nowrap; }
/* служебной строки больше нет — «Гортай» прижат влево */
.open__foot { justify-content: flex-start; }
@media (max-width: 767.98px) {
  .soc { gap: 22px 22px; }
  .soc__a .disc__name { font-size: 15px; padding: 5px 8px; }
}

/* Контакти: сначала «Слідкуйте» + соцсети, ниже «Пишіть нам» + почта (владелец 25.09.2026) */
.contact--main { gap: clamp(14px, 2.4svh, 26px); }
.contact--main .soc { margin: 0 0 clamp(10px, 2svh, 22px); }
.contact__script { font-size: clamp(52px, 9svh, 110px); }
.contact--main .bigline { font-size: clamp(60px, 13svh, 160px); }
@media (max-width: 767.98px) {
  .contact__script { font-size: 50px; }
  .contact--main .bigline { font-size: 12vw; }
}

/* Контакти: два блока по ленте — соцсети, правее почта (владелец 25.09.2026) */
.contact--main .soc { margin: 0; }
.contact--mail { padding-left: calc(var(--gap) * 0.4); }
@media (max-width: 767.98px) {
  .page-kontakty .contact--main { width: 100vw; align-content: center; padding-bottom: 0; }
  .contact--mail { padding-left: calc(var(--ui-inset) + 4px); }
}

/* шторка перехода — чёрная, в тон прелоадеру (уход и приход одним движением) */
.curtain { background: #000; }

/* Слово страницы: размытие и прозрачность растут с прокруткой — ставит inner.js (владелец 25.09.2026) */

/* Телефон: контент поднят ближе к центру экрана (владелец 25.09.2026) — было прижато к низу */
@media (max-width: 767.98px) {
  .cover { margin-top: 17svh; }
  .cover:nth-child(even) { margin-top: 23svh; }
  .cover--lead { margin-top: 14svh; }
  .cover.rel--album, .cover.rel--album:nth-child(even) { margin-top: 14svh; }
  .press__row-wrap { padding-top: 14svh; align-items: center; }
}
