/* Общий стиль сайта: цвета, шрифты, шапка, меню, кнопки, подвал, появление блоков.
   Главная добавляет к нему new-home.css, внутренние страницы — pages-ui.css. */
:root {
  --ink: #0c0b0a;
  --paper: #f7f4ef;
  --line: rgba(12, 11, 10, 0.16);
  --muted: #6d6760;
  --accent: #8c1d2f;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --text: 'Onest', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 3.2vw, 48px);
  --row-title: clamp(20px, 1.9vw, 28px); /* главная строка в списках: концерты, награды */
  /* Ритм страницы (DESIGN.md, «Сетка и отступы»): */
  --space-section: clamp(80px, 11vw, 160px); /* между любыми блоками и перед подвалом */
  --space-head: clamp(56px, 7vw, 112px);     /* от заголовка страницы (его линии) до первого блока */
  --space-title: clamp(28px, 4vw, 56px);     /* от заголовка раздела до его содержимого */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.nh-skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px;
}
.nh-skip:focus { top: 12px; }

/* ---------- Шапка: белая над видео (с тенью сверху), после первого экрана — светлая подложка ---------- */
.nh-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) 18px;
  color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.35);
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nh-header::before {
  content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0));
  transition: opacity 0.5s var(--ease);
}
.nh-header.is-solid {
  color: var(--ink); text-shadow: none; padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: 12px;
  background: rgba(247, 244, 239, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nh-header.is-solid::before { opacity: 0; }
/* Зона строки состояния / Dynamic Island в Safari на iPhone. Шапка над видео и фото
   прозрачная, чтобы кадр шёл до верха экрана, а зону над ней Safari красит сам —
   по одному из трёх признаков, в зависимости от версии iOS:
   1) цвет фона документа (html) — пока над первым экраном, он тёмный (ниже);
   2) <meta name="theme-color"> — его переключает site-ui.js вместе с шапкой;
   3) закреплённый элемент у верхнего края — плашка .nh-statusbar. Safari 26
      берёт цвет именно отсюда; если верхний закреплённый элемент прозрачный
      (наша шапка), рисует серую матовую подложку. Ищет он элемент так же, как
      нажатие пальцем, поэтому плашка лежит поверх шапки и не пропускает
      нажатия (pointer-events: none её прятал). В обычной вкладке отступ строки
      состояния нулевой — плашка тогда 6 px, а тень шапки начинается с того же
      тёмного цвета, чтобы между плашкой и видео не было шва.
   Тело страницы остаётся светлым, поэтому тёмный фон html виден только за краями
   страницы. Когда шапка становится светлой, всё возвращается к светлому. */
html:has(.nh-hero, .ln-cover):has(.nh-header:not(.is-solid)) { background-color: #0c0b0a; }
.nh-statusbar { display: none; }
@supports (-webkit-touch-callout: none) {
  .nh-statusbar {
    display: block; position: fixed; inset: 0 0 auto; z-index: 51;
    height: max(6px, env(safe-area-inset-top, 0px)); background: #0c0b0a;
  }
  .nh-header:not(.is-solid)::before {
    background: linear-gradient(to bottom, #0c0b0a 0, rgba(12, 11, 10, 0.55) 34%, rgba(12, 11, 10, 0) 100%);
  }
  .nh-header.is-solid ~ .nh-statusbar { display: none; }
}
.nh-header a { text-decoration: none; }
/* Зона нажатия у логотипа, «Меню» и ссылки на PDF — не меньше 40 px (DESIGN.md, «Телефон»):
   поля добавлены и тут же сняты отрицательным отступом, вёрстка не сдвигается. */
.nh-logo { display: inline-flex; width: fit-content; padding: 6px; margin: -6px; }
.nh-logo__mark { display: block; width: auto; height: clamp(34px, 3.2vw, 46px); filter: drop-shadow(0 1px 8px rgba(0,0,0,0.3)); transition: opacity 0.5s var(--ease), height 0.5s var(--ease); }
.nh-header.is-solid .nh-logo__mark { height: clamp(30px, 2.6vw, 38px); filter: none; }
@media (hover: hover) { .nh-logo:hover .nh-logo__mark { opacity: 0.7; } }
.nh-nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nh-nav a, .nh-lang a { position: relative; }
.nh-nav a::after, .nh-lang a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) { .nh-nav a:hover::after,
  .nh-lang a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nh-header__end { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.nh-lang b { font-weight: 500; }
.nh-menu-btn {
  display: none; background: none; border: 0; color: inherit;
  font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer;
  padding: 10px 0; margin: -10px 0;
}
.nh-menu-btn span { display: inline-block; transition: transform 0.5s var(--ease); }
.nh-menu-btn[aria-expanded='true'] span { transform: rotate(45deg); }

/* Меню: панель справа (как у Askonas Holt), но светлая и тёплая (как у театра);
   страница за ней затемняется и размывается. */
.nh-menu { position: fixed; inset: 0; z-index: 60; }
.nh-menu[hidden] { display: none; }
.nh-menu__scrim {
  position: absolute; inset: 0; background: rgba(12, 11, 10, 0.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: nh-fade 0.5s var(--ease);
}
.nh-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  display: flex; flex-direction: column; overflow-y: auto;
  padding: calc(18px + env(safe-area-inset-top, 0px)) clamp(20px, 3vw, 40px) calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--paper); color: var(--ink);
  animation: nh-menu-in 0.6s var(--ease-out);
}
@keyframes nh-menu-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.nh-menu__top {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 40px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.nh-menu__top .nh-lang { display: inline; }
.nh-menu__top a { text-decoration: none; }
.nh-menu__close {
  display: inline-flex; gap: 8px; align-items: center; padding: 0; background: none; border: 0; color: inherit; cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
}
.nh-menu__close span { font-size: 18px; line-height: 1; }
.nh-menu__main { margin-top: clamp(32px, 8vh, 72px); border-top: 1px solid var(--ink); }
.nh-menu__link {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font: 400 clamp(22px, 2vw, 28px)/1.15 var(--text); letter-spacing: -0.02em;
  transition: padding 0.5s var(--ease), color 0.5s var(--ease);
}
.nh-menu__arrow { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: 0.4; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
@media (hover: hover) {
  .nh-menu__link:hover { padding-left: 8px; color: var(--accent); }
  .nh-menu__link:hover .nh-menu__arrow { opacity: 1; transform: translateX(4px); }
}
.nh-menu__link[aria-current='page'] { color: var(--accent); }
.nh-menu__link[aria-current='page'] .nh-menu__arrow { opacity: 1; }
.nh-menu__more { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; }
.nh-menu__sub { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color 0.5s var(--ease); }
.nh-menu__sub[aria-current='page'] { color: var(--ink); }
@media (hover: hover) { .nh-menu__sub:hover { color: var(--ink); } }
.nh-menu__bottom { margin-top: auto; padding-top: 40px; }
.nh-menu__bottom .nh-eyebrow { margin-bottom: 8px; }
.nh-menu__bottom a { font-size: 17px; text-decoration: none; overflow-wrap: anywhere; }

/* Длинный заголовок («Политика конфиденциальности»): кегль по ширине экрана, чтобы слово не рвалось. */
.nh-page-head_long .nh-page-head__title { font-size: clamp(19px, 5.4vw, 96px); }

/* Шапка со ссылкой справа (PDF репертуара): заголовок слева, ссылка — на его нижней линии. */
.nh-page-head_action { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.nh-download {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 500 13px/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.5s var(--ease);
  padding: 13px 0; margin: -13px 0;
}
@media (hover: hover) { .nh-download:hover { color: var(--accent); } }
.nh-download__icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* Шапка внутренней страницы без фото: имя мелкими заглавными, крупный заголовок, линия. */
.nh-page-head {
  padding: calc(clamp(104px, 14vw, 200px) + env(safe-area-inset-top, 0px)) var(--gutter) clamp(24px, 3.5vw, 44px);
  border-bottom: 1px solid var(--ink); margin: 0 var(--gutter);
  padding-left: 0; padding-right: 0;
}
.nh-page-head__title {
  margin: 0; font: 700 clamp(40px, 5.5vw, 96px)/0.9 var(--display); letter-spacing: -0.035em; text-transform: uppercase;
  overflow-wrap: anywhere;
}

/* ---------- Общие элементы ---------- */
.nh-eyebrow {
  margin: 0 0 18px; color: var(--muted);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}
.nh-h2 {
  margin: 0; font: 600 clamp(34px, 5vw, 80px)/0.95 var(--display);
  letter-spacing: -0.035em; text-transform: uppercase;
}
.nh-link {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 15px; text-decoration: none; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.5s var(--ease);
}
@media (hover: hover) { .nh-link:hover { color: var(--accent); background-size: 0 1px; background-position: 100% 100%; } }
.nh-link span { transition: transform 0.5s var(--ease); }
@media (hover: hover) { .nh-link:hover span { transform: translateX(6px); } }

.nh-section { padding: clamp(80px, 12vw, 180px) var(--gutter) 0; }
.nh-section_head { padding-bottom: 0; }
.nh-section__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding-bottom: clamp(28px, 4vw, 56px);
}

/* Стрелка «наружу» — своя иконка: символ ↗ айфон рисует цветным эмодзи. */
.nh-arrow {
  display: inline-block; width: 0.75em; height: 0.75em; vertical-align: -0.02em;
  fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Биография крупным текстом ---------- */
.nh-statement {
  padding: clamp(96px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
}
.nh-statement > .nh-eyebrow { grid-column: 1 / 4; padding-top: 0.9em; }
.nh-statement__lead {
  grid-column: 4 / 13; margin: 0;
  font: 400 clamp(26px, 3.2vw, 48px)/1.12 var(--text); letter-spacing: -0.02em;
}
/* Мелкий текст встаёт под крупный с того же левого края, в две колонки — без «лесенки». */
.nh-statement__cols {
  grid-column: 4 / 13; margin-top: clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px);
  color: #2e2b28;
}
.nh-statement__cols p { margin: 0 0 1em; }
.nh-statement__cols .nh-link { grid-column: 1 / -1; justify-self: start; margin-top: 12px; }

/* Длинный текст — колонками газетной вёрстки (страница «Биография»). */
.nh-statement__prose { grid-column: 4 / 13; margin-top: clamp(40px, 5vw, 72px); columns: 2; column-gap: clamp(24px, 4vw, 64px); color: #2e2b28; }
.nh-statement__prose p { margin: 0 0 1em; break-inside: avoid-column; }

/* Кнопки-«таблетки» в строку (ссылки на PDF и т. п.) */
.nh-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.nh-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none;
  font: 500 13px/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
@media (hover: hover) { .nh-pill:hover { background: var(--ink); color: var(--paper); } }
.nh-statement__lead_small { font-size: clamp(24px, 2.8vw, 44px); line-height: 1.15; }

/* ---------- Кнопка «Показать ещё» ---------- */
.nh-more {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 32px; padding: 20px 24px;
  background: none; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); cursor: pointer;
  font: 500 13px/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
@media (hover: hover) { .nh-more:hover { background: var(--ink); color: var(--paper); } }
.nh-more span { font-size: 18px; line-height: 0; transition: transform 0.5s var(--ease); }
@media (hover: hover) { .nh-more:hover span { transform: rotate(90deg); } }
.nh-more[hidden] { display: none; }
.is-new { animation: nh-rise 0.8s var(--ease-out) both; }
@keyframes nh-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Видео: сетка по два, подпись в одну строку ---------- */
.nh-media__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) 24px; }
.nh-video { min-width: 0; }
.nh-video__caption {
  display: flex; align-items: baseline; gap: 14px; min-width: 0;
  margin: 18px 0 0; font-size: 17px; line-height: 1.3; white-space: nowrap;
}
.nh-video__title { font-weight: 500; flex-shrink: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.nh-video__credit { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-weight: 400; font-size: 15px; }
.nh-video__credit::before { content: '·'; margin-right: 14px; }
.nh-video__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 4px;
}
.nh-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Обложка вместо плеера: YouTube и Vimeo загружаются только по нажатию (site-ui.js). */
.ln-embed {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden;
  background: #000; color: #fff; font: inherit; text-align: left; cursor: pointer;
}
.nh-video__frame .ln-embed { position: absolute; inset: 0; height: 100%; }
.ln-embed img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.ln-embed::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 40%);
}
.ln-embed__play {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.92);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.ln-embed__play::before {
  content: ''; position: absolute; top: 50%; left: 50%; margin: -9px 0 0 -6px;
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--ink);
  transition: border-color 0.3s var(--ease);
}
.ln-embed__note {
  position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 12px;
  font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, 0.8);
}
.ln-embed:hover img { transform: scale(1.03); }
.ln-embed:hover .ln-embed__play { background: var(--accent); transform: scale(1.06); }
.ln-embed:hover .ln-embed__play::before { border-left-color: #fff; }
.ln-embed:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
@media (max-width: 560px) {
  .ln-embed__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .ln-embed__note { left: 12px; bottom: 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .ln-embed img, .ln-embed__play { transition: none; } }

/* ---------- Награды и конкурсы: строки с премией, названием, местом и годом ---------- */
.nh-awards__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.nh-awards__list li {
  display: grid; grid-template-columns: 150px minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
/* display: grid перебивал атрибут hidden: все 20 конкурсов «Органа и клавира» были видны
   сразу, и «Показать ещё» ничего не делала. */
.nh-awards__list li[hidden] { display: none; }
/* Под последней видимой наградой линии нет — как у концертов и в репертуаре. */
.nh-awards__list li:last-child, .nh-awards__list li:has(+ li[hidden]) { border-bottom: 0; }
/* Строки наград набраны той же шкалой, что и строки афиши (new-home.css): название —
   --row-title, подпись справа — 15 px, метка слева — 12 px заглавными. */
.nh-awards__prize { font: 500 12px/1.4 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.nh-awards__name {
  font: 400 var(--row-title)/1.2 var(--text); letter-spacing: -0.02em;
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) { .nh-awards__list li:hover .nh-awards__name { transform: translateX(14px); } }
.nh-awards__meta { color: var(--muted); font-size: 15px; text-align: right; }

/* ---------- Контакты ---------- */
.nh-contact { padding: clamp(80px, 12vw, 180px) 12px 12px; }
.nh-contact__panel {
  background: var(--ink); color: var(--paper); border-radius: 14px;
  padding: clamp(40px, 6vw, 88px) clamp(20px, 4vw, 64px) 28px;
}
/* Имя слева, почта справа по нижнему краю имени; подвал — на всю ширину под ними. */
.nh-contact__panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 5vw, 96px); align-items: end; }
.nh-contact__panel > .nh-footer { grid-column: 1 / -1; }
.nh-contact__name {
  margin: 0;
  font: 700 clamp(42px, 7vw, 124px)/0.9 var(--display); letter-spacing: -0.035em; text-transform: uppercase; /* как имя на первом экране */
}
.nh-contact__name span { display: block; }
.nh-contact .nh-eyebrow { color: rgba(247,244,239,0.55); }
.nh-contact__grid { display: grid; gap: 8px; }
.nh-contact__grid--two { gap: 28px; }
.nh-contact__mail {
  display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere;
  font: 400 clamp(20px, 2.4vw, 34px)/1.3 var(--text); letter-spacing: -0.02em; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
@media (hover: hover) { .nh-contact__mail:hover { background-size: 100% 1px; } }
.nh-footer {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(64px, 9vw, 140px); padding-top: 22px; border-top: 1px solid rgba(247,244,239,0.18);
  font-size: 12px; letter-spacing: 0.06em; color: rgba(247,244,239,0.6);
}
.nh-footer nav { display: flex; gap: 22px; flex-wrap: wrap; text-transform: uppercase; }
.nh-footer a { text-decoration: none; transition: color 0.5s var(--ease); }
@media (hover: hover) { .nh-footer a:hover { color: var(--paper); } }
.nh-footer p { margin: 0; }

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

/* ---------- Ритм страницы: одинаковые расстояния между блоками ----------
   Раньше каждый блок нёс свои отступы сверху и снизу (от 60 до 200 px), и на стыках
   они складывались по-разному: между разделами выходило от 54 до 328 px. Теперь у
   разделов внутри <main> нет своих внешних отступов, а расстояние между соседями
   задаёт одно правило. Внутренние отступы, которые видны как часть блока (место под
   шапкой у заголовка страницы, поля фото), не трогаем.
   !important — потому что старые блоки Тильды задают отступы в pages.css и pages-ui.css
   более сильными селекторами; новых отступов этим блокам задавать не нужно. */
main > .nh-statement, main > .nh-section, main > .ln-contact, main > .ln-feed, main > .ln-photos,
main > .ln-text, main > .ln-column, main > .ln-videos, main > .nh-legal, main > .ln-repertoire {
  padding-top: 0 !important; padding-bottom: 0 !important;
}
.ln-heading_repertoire .ln-frame { padding-top: 0 !important; padding-bottom: 0 !important; }
.nh-legal__section:last-child { padding-bottom: 0; }
main > * + * { margin-top: var(--space-section); }
/* Отступ под последним абзацем внутри блока тоже складывался с расстоянием между блоками. */
.nh-statement__prose > :last-child { margin-bottom: 0; }
main > .nh-page-head + * { margin-top: var(--space-head); }
/* Продолжение того же раздела — заголовок раздела отдельным блоком и его содержимое,
   заголовок группы репертуара и её список, второй столбец текста — идут на расстоянии
   заголовка, а не раздела. */
main > .nh-section_head + *, main > .ln-heading_repertoire + .ln-repertoire,
main > .ln-column + .ln-column_offset { margin-top: var(--space-title); }
main > .nh-section_head .nh-section__head { padding-bottom: 0; }
main + .nh-contact { padding-top: var(--space-section); }
main > .nh-contact { padding-top: 0; } /* на главной подвал внутри <main>: отступ уже дал main > * + * */

/* ---------- Появление при прокрутке ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes nh-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 960px) {
  .nh-statement > .nh-eyebrow, .nh-statement__lead, .nh-statement__cols, .nh-statement__prose { grid-column: 1 / -1; }
  .nh-statement__cols { grid-template-columns: minmax(0, 1fr); }
  .nh-statement__prose { columns: 1; }
  .nh-contact__panel { grid-template-columns: minmax(0, 1fr); }
  .nh-contact__name { margin-bottom: clamp(40px, 8vw, 72px); }
  .nh-only-wide { display: none; }
  .nh-nav { display: none; }
  .nh-header { grid-template-columns: 1fr auto; }
  .nh-menu-btn { display: inline-block; }
  .nh-contact__grid, .nh-media__grid { grid-template-columns: minmax(0, 1fr); }
  .nh-awards__list li { grid-template-columns: 1fr; gap: 8px; }
  .nh-awards__meta { text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nh-lang { display: none; }
  /* Ссылка «Все конкурсы / Все видео» на телефоне стоит справа от заголовка,
     на его базовой линии, и без подчёркивания: под крупным заголовком
     подчёркнутая строка выглядела отдельным пунктом. */
  .nh-h2 { font-size: min(34px, 9vw); }
  .nh-section__head { align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
  .nh-section__head .nh-link {
    flex: none; margin: -9px 0 -9px auto; padding: 9px 0; gap: 6px; background: none;
    font-size: 14px; color: var(--muted);
  }
  .nh-section__head .nh-link span { color: var(--ink); }
  .nh-section__head .nh-download { margin-left: auto; white-space: nowrap; } /* «Вся афиша, PDF» — так же справа */
  /* Рядом с «Концертами» на телефоне умещается только «PDF ↓»: начало подписи
     остаётся для экранного диктора, иначе кнопка уезжала на вторую строку. */
  .nh-section__head .nh-download__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
