/* Concordia — общие стили */

@view-transition { navigation: auto; }

@font-face { font-family: "Tilda Sans"; src: url("fonts/TildaSans-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Tilda Sans"; src: url("fonts/TildaSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tilda Sans"; src: url("fonts/TildaSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tilda Sans"; src: url("fonts/TildaSans-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #000;
  --paper: #e8e3d9;
  --paper-dim: #a8a298;
  --mute: #6f6a62;
  --line: rgba(232, 227, 217, 0.16);

  --font: "Tilda Sans", system-ui, sans-serif;

  --head-h: 92px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: clamp(1280px, 72vw, 1600px);   /* на больших мониторах колонка шире */
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
}

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

/* Прокрутка по блокам на ПК — её плавно ведёт скрипт (main.js).
   На телефонах и планшетах прокрутка обычная, без привязки к блокам:
   привязка там вызывала рывки (блоки выше экрана, прыгающая адресная строка) */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.is-locked { overflow: hidden; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(16px, 0.9vw + 10px, 19px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  animation: page-in 0.9s var(--ease) both;
}

@keyframes page-in { from { opacity: 0; } }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
button { font: inherit; }

:focus-visible { outline: 1px solid var(--paper); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Шапка ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  transition: background 0.6s var(--ease), border-color 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-solid {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--head-h);
}

/* Знак и надпись одной яркости, при наведении вместе мягко светлеют */
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; }
.brand img, .brand span { opacity: 0.7; transition: opacity 0.5s var(--ease), text-shadow 0.5s var(--ease); }
.brand img { width: 46px; height: auto; }
.brand:hover img, .brand:hover span, .brand:focus-visible img, .brand:focus-visible span { opacity: 1; }
.brand:hover span { text-shadow: 0 0 18px rgba(232, 227, 217, 0.35); }
.brand span { font-weight: 400; font-size: 18px; letter-spacing: 0.32em; }

.nav { display: flex; gap: clamp(24px, 3vw, 48px); }
.nav a {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--paper-dim);
  transition: color 0.4s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-btn {
  display: none;
  background: none;
  border: 0;
  padding: 17px 12px;
  margin-right: -12px;
  color: var(--paper);
  cursor: pointer;
}
.menu-btn span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform 0.4s var(--ease); }
.menu-btn span + span { margin-top: 8px; }
.menu-open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --head-h: 72px; }
  /* Размытие под шапкой тяжело для телефона при прокрутке — просто тёмный фон */
  .site-head.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0, 0, 0, 0.9); }
  .brand { gap: 12px; }
  .brand img { width: 38px; }
  .brand span { font-size: 15px; letter-spacing: 0.28em; }
  .menu-btn { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--gutter);
    gap: 14px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav a { font-size: 36px; font-weight: 300; color: var(--paper); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--paper-dim); }
  .menu-open .nav { opacity: 1; visibility: visible; }
}

/* ---------- Блоки-экраны ---------- */

.screen {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--head-h) + 32px) 0 56px;
  scroll-snap-align: start;
}
.screen--tail { min-height: 0; padding: 72px 0; scroll-snap-align: none; }

/* ---------- Главный экран с видео ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  scroll-snap-align: start;
}
/* Видеофайл вертикальный (9:16), но сама картинка в нём — горизонтальная полоса 16:9
   ровно по центру кадра, сверху и снизу чёрные поля. Поэтому видео не «cover»-ится
   целиком, а увеличивается так, чтобы эта полоса закрывала весь экран:
   ширина = max(ширина экрана, высота экрана × 16/9), высота кадра = ширина × 16/9. */
.hero video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100vw, max(100svh, 520px) * 1.7778);
  max-width: none;
  height: auto;
  aspect-ratio: 9 / 16;
  transform: translate(-50%, -50%) scale(1.06);
  animation: settle 3.2s var(--ease) forwards;
}
@keyframes settle { to { transform: translate(-50%, -50%) scale(1); } }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 28%),
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(36px, 7vh, 88px);
}

.wordmark {
  margin: 0;
  font-weight: 300;
  font-size: clamp(30px, 10vw, 200px);
  line-height: 0.9;
  letter-spacing: 0.14em;
  margin-right: -0.14em;
  white-space: nowrap;
}
.wordmark .ch {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.12em);
  animation: letter-in 1.6s var(--ease) forwards;
  animation-delay: calc(0.5s + var(--i) * 0.09s);
}
@keyframes letter-in { to { opacity: 1; filter: blur(0); transform: none; } }

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: clamp(20px, 3vh, 36px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fade 1.4s var(--ease) 1.9s forwards;
}
@keyframes fade { to { opacity: 1; } }

.hero-foot p { margin: 0; font-size: clamp(17px, 1.4vw, 22px); }
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  transition: color 0.4s var(--ease);
}
.scroll-cue:hover { color: var(--paper); }
.scroll-cue i {
  position: relative;
  width: 1px;
  height: 40px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: var(--paper);
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip { to { top: 100%; } }

/* ---------- Типографика блоков ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.title {
  margin: 0 0 0.6em;
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.title--sm { font-size: clamp(28px, 3vw, 44px); line-height: 1.15; }

.lead { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.55; max-width: 30em; }
.lead + .motto {
  margin-top: 1.6em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.3;
}
.prose { max-width: 34em; color: var(--paper-dim); }

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.head-row .title { margin: 0; }

.text-link {
  font-weight: 400;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color 0.4s var(--ease);
}
.text-link:hover { border-color: var(--paper); }

/* Фотографии */
.photo { position: relative; margin: 0; justify-self: start; }
.photo img { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - var(--head-h) - 120px); }
.photo::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: var(--ink);
  transform-origin: bottom;
  transition: transform 1.6s var(--ease);
}
.photo.is-in::after { transform: scaleY(0); }

/* Особенности */
.features { margin: 0; border-top: 1px solid var(--line); }
.features div {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(16px, 7vw, 120px);
  padding: clamp(22px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.features dt { font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; }
.features dd { margin: 0; color: var(--paper-dim); max-width: 34em; }

/* Подход */
.approach {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 7vw, 120px);
}
.approach .first { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.5; color: var(--paper); }

/* ---------- Афиша: список на главной ---------- */

.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event-row {
  display: grid;
  grid-template-columns: minmax(150px, 3fr) minmax(0, 6fr) auto;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  padding: clamp(22px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.6s var(--ease);
}
.event-row:hover { padding-left: clamp(8px, 1.4vw, 20px); }
.event-date .day { display: block; font-size: clamp(48px, 5vw, 76px); line-height: 1; font-weight: 300; }
.event-date .rest { display: block; margin-top: 8px; color: var(--paper-dim); font-size: 15px; }
.event-name { display: block; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; font-weight: 300; }
.event-sub { display: block; margin-top: 6px; color: var(--paper-dim); }
.event-thumb { width: clamp(100px, 11vw, 160px); aspect-ratio: 1400 / 1980; object-fit: cover; filter: grayscale(0.25); transition: filter 0.6s var(--ease); }
.event-row:hover .event-thumb { filter: none; }
.event-empty { padding: 32px 0; color: var(--paper-dim); border-bottom: 1px solid var(--line); }

/* ---------- Афиша: страница концерта ---------- */

.concert {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: center;
}
.poster-btn {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  justify-self: start;
}
.poster-btn img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - var(--head-h) - 110px);
  box-shadow: 0 30px 80px -30px rgba(40, 60, 110, 0.55);
  transition: transform 0.8s var(--ease);
}
.poster-btn:hover img { transform: scale(1.015); }

.concert-when { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; }
.concert-when .date { font-size: clamp(22px, 2vw, 30px); font-weight: 400; }
.concert-when .time { color: var(--paper-dim); }

.concert-title { margin: 0; font-weight: 300; font-size: clamp(52px, 7vw, 108px); line-height: 0.95; letter-spacing: 0.02em; }
.concert-sub { margin: 10px 0 0; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: 0.08em; color: var(--paper-dim); }

.facts { margin: clamp(28px, 3.4vw, 44px) 0 0; border-top: 1px solid var(--line); }
.facts div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--mute); font-size: 15px; padding-top: 2px; }
.facts dd { margin: 0; font-weight: 300; }
.facts div { padding: 12px 0; }
.concert-label { margin: 0 0 14px; color: var(--paper-dim); font-size: 15px; }
.facts ul { list-style: none; margin: 0; padding: 0; }
.facts li span { color: var(--paper-dim); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: none;
  color: var(--paper);
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn:hover, .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--solid:hover { background: transparent; color: var(--paper); border-color: var(--line); }

.archive .event-row { grid-template-columns: minmax(150px, 3fr) minmax(0, 6fr); opacity: 0.6; }

/* ---------- Главная: ближайший концерт на весь экран ---------- */

.featured {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0d1424;
}
.featured-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.04);
  transition: transform 6s var(--ease);
}
.featured:hover .featured-bg { transform: scale(1); }
.featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 32%, rgba(0,0,0,0) 62%),
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 22%);
}
.featured-body { position: relative; z-index: 1; padding-bottom: clamp(36px, 7vh, 80px); }
.featured-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 400;
  color: var(--paper-dim);
}
.soon { font-size: 14px; font-weight: 300; padding: 3px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--paper); }
.featured-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.featured-when { display: flex; flex-direction: column; gap: 4px; }
.featured-when .big { font-size: clamp(40px, 5vw, 76px); line-height: 1; font-weight: 300; margin-bottom: 8px; }
.featured-when .where { color: var(--paper-dim); }
.featured .actions { margin: 0; }
.btn--ghost { border-color: transparent; }
.featured { scroll-snap-align: start; }

/* На телефоне афиша не обрезается по бокам: показываем её верх целиком, текст — под ней */
@media (max-width: 860px) {
  .featured { display: block; min-height: 0; background: var(--ink); }
  .featured-bg {
    position: relative;
    height: auto;
    aspect-ratio: 1414 / 1450;
    object-position: center top;
    transform: none;
  }
  .featured::after {
    bottom: auto;
    height: calc(100vw * 1450 / 1414);
    background:
      linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 35%),
      linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 20%);
  }
  .featured-body { margin-top: -8px; padding-bottom: 56px; }
  .featured-row { flex-direction: column; align-items: stretch; }
  .featured .actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Окна: плавное появление ---------- */

dialog { color: var(--paper); }
dialog::backdrop { background: transparent; }

/* Просмотр афиши целиком */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.94);
  overflow: auto;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox.is-open { opacity: 1; }
.lightbox img {
  max-width: min(100%, 1100px); width: auto; height: auto; padding: 64px 16px 24px;
  transform: scale(0.97);
  transition: transform 0.6s var(--ease);
}
.lightbox.is-open img { transform: none; }
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  min-height: 44px;
  background: rgba(0, 0, 0, 0.6);
}

/* Программа концерта: панель справа на ПК, лист снизу на телефоне */
.program {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.program.is-open { opacity: 1; }
.program-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(620px, 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 36px clamp(24px, 4vw, 52px) 48px;
  background: #07090f;
  border-left: 1px solid var(--line);
  transform: translateX(40px);
  transition: transform 0.6s var(--ease);
}
.program.is-open .program-panel { transform: none; }

.program-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 20px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.program-kicker { grid-column: 1; margin: 0; color: var(--paper-dim); font-size: 15px; }
.program-title { grid-column: 1; margin: 0; font-weight: 300; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.program-close { grid-column: 2; grid-row: 1 / span 2; min-height: 42px; padding: 0 20px; }
.program-composer { margin: 24px 0 8px; font-size: 20px; font-weight: 400; }

.program-list { list-style: none; margin: 0; padding: 0; counter-reset: work; }
.program-list li {
  counter-increment: work;
  position: relative;
  padding: 22px 0 22px 44px;
  border-bottom: 1px solid var(--line);
}
.program-list li::before {
  content: counter(work);
  position: absolute;
  left: 0; top: 24px;
  font-size: 15px;
  color: var(--mute);
}
.program-list h3 { margin: 0; font-weight: 400; font-size: 20px; line-height: 1.3; }
.program-list .meta { margin: 4px 0 10px; font-size: 14px; color: var(--mute); }
.program-list p:last-child { margin: 0; color: var(--paper-dim); font-size: 16px; line-height: 1.6; }

.program-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-top: 28px; }
.program-performers { margin: 0; font-size: 15px; color: var(--paper-dim); line-height: 1.7; }

@media (max-width: 860px) {
  .program-panel {
    top: auto; left: 0;
    width: 100%;
    max-height: 90dvh;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-radius: 20px 20px 0 0;
    padding-top: 28px;
    transform: translateY(100%);
  }
  .program-list li { padding-left: 34px; }
}

/* ---------- Соцсети и контакты ---------- */

.follow { text-align: center; }
.follow p { margin: 0 auto 36px; max-width: 26em; font-size: clamp(18px, 1.5vw, 22px); }

.socials { display: flex; justify-content: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.socials a {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.socials a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.socials svg { width: 20px; height: 20px; }

/* Крупный блок соцсетей на главной: иконки стоят на нотном стане */
.follow-screen { position: relative; overflow: hidden; text-align: center; }
.staff { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.follow-inner { position: relative; z-index: 1; }
.follow-title {
  max-width: 18em;
  margin: 0 auto clamp(84px, 14vh, 150px);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.socials--big { gap: clamp(20px, 5vw, 72px); }
.socials--big a,
.socials--big a:hover {
  width: auto; height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--paper);
}
.socials--big .ico {
  display: grid;
  place-items: center;
  width: clamp(64px, 6.2vw, 92px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  transition: background 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease), transform 0.6s var(--ease);
}
.socials--big svg { width: 30%; height: 30%; }
.socials--big .lbl { font-size: 15px; color: var(--paper-dim); transition: color 0.6s var(--ease); }
.socials--big a:hover .ico,
.socials--big a:focus-visible .ico { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translateY(-6px); }
.socials--big a:hover .lbl { color: var(--paper); }
.socials--big a:focus-visible { outline: none; }

@media (max-width: 560px) {
  .socials--big { gap: 14px; }
  .socials--big .lbl { font-size: 13px; }
}

.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: clamp(14px, min(2.6vw, 2.4vh), 32px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.6s var(--ease);
}
.contact-list .name { font-size: clamp(30px, min(5vw, 7vh), 72px); line-height: 1; letter-spacing: -0.01em; }
.contact-list .handle { font-size: 15px; color: var(--paper-dim); white-space: nowrap; }
.contact-list a:hover { padding-left: clamp(8px, 2vw, 28px); }
.contact-list a:hover .handle { color: var(--paper); }

/* ---------- Подвал ---------- */

.site-foot { border-top: 1px solid var(--line); padding: 36px 0; font-size: 14px; color: var(--mute); scroll-snap-align: end; }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
/* В подвале знак и надпись одного тона, приглушённее, чем в шапке */
.site-foot .brand span { font-size: 15px; color: var(--paper); }
.site-foot .brand img { width: 46px; }
.site-foot .brand img, .site-foot .brand span { opacity: 0.5; }
.site-foot .brand:hover img, .site-foot .brand:hover span { opacity: 0.9; }

/* Подвал с маленькими иконками соцсетей («О нас», «Афиша») */
.site-foot--socials { padding: 32px 0; }
.site-foot--socials .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
.site-foot--socials .wrap > span { justify-self: end; text-align: right; }
.foot-socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.foot-socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper-dim);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.foot-socials a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.foot-socials svg { width: 16px; height: 16px; }

/* Абзац «зажигается» слово за словом */
.speak .w {
  color: rgba(232, 227, 217, 0.14);
  transition: color 0.9s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--wi, 0) * 0.055s);
}
.speak.is-in .w { color: inherit; }

/* Большое слово проплывает над фото («О нас») */
.glide {
  position: relative;
  overflow: hidden;
  padding: 0;
  justify-content: flex-end;
  background: var(--ink);
}
.glide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 7s var(--ease);
}
.glide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.55) 100%);
  transition: background 2s var(--ease);
}
.glide.is-in .glide-bg { opacity: 0.42; transform: scale(1); }
/* Слово въезжает справа и останавливается у левого края экрана — целиком в кадре */
.glide-word {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  top: 50%;
  margin: 0;
  font-weight: 300;
  font-size: clamp(60px, 18vw, 300px);
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--paper);
  transform: translate(45vw, -50%);
  transition: transform 5.5s cubic-bezier(0.16, 0.7, 0.2, 1);
}
.glide.is-in .glide-word { transform: translate(-0.06em, -50%); }
.glide-word .ch {
  display: inline-block;
  opacity: 0;
  filter: blur(18px);
  transition: opacity 1.6s var(--ease), filter 1.8s var(--ease);
  transition-delay: calc(0.3s + var(--i) * 0.16s);
}
.glide.is-in .glide-word .ch { opacity: 1; filter: blur(0); }
/* Подпись тоже у левого края экрана — на одной линии со словом */
.glide-cap { position: relative; z-index: 1; max-width: none; padding-bottom: clamp(36px, 7vh, 72px); }
.glide-cap p {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
  opacity: 0;
  transition: opacity 1.4s var(--ease) 2.6s;
}
.glide.is-in .glide-cap p { opacity: 1; }

/* Архив концертов: дата — программа — площадка */
.archive-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.archive-row {
  display: grid;
  grid-template-columns: minmax(150px, 2fr) minmax(0, 4fr) minmax(0, 4fr);
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease);
}
.archive-row:hover { background: rgba(232, 227, 217, 0.03); }
.a-date { color: var(--paper-dim); font-size: 15px; font-variant-numeric: tabular-nums; }
.a-name { font-size: clamp(18px, 1.5vw, 22px); }
.a-name span, .a-place span { display: block; margin-top: 2px; color: var(--mute); font-size: 14px; }
.a-place { color: var(--paper-dim); }

/* Пригласить Concordia */
.invite .split { align-items: start; }
.invite .facts { margin-top: 0; }

/* Постепенное появление текста */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Ноутбуки с невысоким экраном (1280×720, 1366×768 и т. п.) ----------
   На ПК страница листается по блокам, поэтому каждый блок должен помещаться
   в высоту экрана: отступы и крупные надписи подстраиваются под высоту */
@media (min-width: 861px) and (max-height: 900px) {
  :root { --head-h: 76px; }
  .screen { padding: calc(var(--head-h) + 12px) 0 28px; }
  .title { font-size: clamp(32px, min(4.6vw, 7.5vh), 68px); }
  .title--sm { font-size: clamp(26px, min(2.8vw, 5vh), 40px); margin-bottom: 0.45em; }
  .features div { padding: clamp(12px, 2vh, 28px) 0; }
  .concert-title { font-size: clamp(44px, min(7vw, 10vh), 108px); }
  .concert-when { margin-bottom: 10px; }
  .facts { margin-top: clamp(16px, 2.6vh, 32px); }
  .facts div { padding: clamp(6px, 1.2vh, 12px) 0; }
  .actions { margin-top: clamp(14px, 2.4vh, 28px); }
  .contact-list + * { margin-top: 0; }
  .follow-title { margin-bottom: clamp(56px, 10vh, 120px); }
}

/* ---------- Планшеты и телефоны ---------- */

@media (max-width: 860px) {
  .screen { padding: calc(var(--head-h) + 28px) 0 48px; }
  .split, .approach, .features div, .concert { grid-template-columns: 1fr; }
  .features div { gap: 6px; }
  .photo, .poster-btn { justify-self: stretch; }
  .photo img, .poster-btn img { width: 100%; height: auto; max-height: none; }
  .photo img { max-height: 70svh; object-fit: cover; object-position: center 30%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .scroll-cue i { height: 28px; }
  .lead { font-size: 18px; }
  .head-row { flex-direction: column; gap: 10px; }

  .event-row { grid-template-columns: 1fr auto; gap: 14px 18px; }
  .event-row:hover { padding-left: 0; }
  .event-date { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; }
  .event-date .day { font-size: 26px; }
  .event-date .rest { margin: 0; }
  .event-thumb { width: 84px; }
  .archive .event-row { grid-template-columns: 1fr; }

  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }

  .contact-list .handle { display: none; }
  .site-foot .wrap { flex-direction: column; align-items: flex-start; }
  .site-foot--socials .wrap { grid-template-columns: 1fr; gap: 20px; }
  .archive-row { grid-template-columns: 1fr; gap: 4px; }
  .site-foot--socials .wrap > span { justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .photo::after { display: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .speak .w { color: inherit; }
  .glide-word { transform: translate(-0.06em, -50%); }
  .glide-word .ch, .glide-cap p { opacity: 1; filter: none; }
  .glide-bg { opacity: 0.55; transform: none; }
}
