/* ЧГПУ | Концепция B «Ночь» — кинематографичная тёмная главная */
:root {
  --night: #0d0f22;
  --night-2: #151838;
  --night-3: #1d2147;
  --text: #eef0fa;
  --muted: #9aa0c3;
  --line: rgba(238, 240, 250, .12);
  --blue: #4940ff;
  --blue-glow: #6d66ff;
  --sky: #8fbcff;
  --mint: #0ac5a6;

  --r-card: 32px;
  --r-inner: 20px;     /* 32 − отступ 12 */
  --r-tile: 24px;
  --gap-in: 12px;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1520px;
  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;

  --pre-bg: var(--night);
  --pre-fg: #fff;
  --font-ui: var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.ico { width: 22px; height: 22px; flex: none; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: #fff; color: var(--night); padding: 10px 16px; border-radius: 12px; }
.skip-link:focus { top: 12px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-weight: 500; font-size: 16px; cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 0 0 0 rgba(73, 64, 255, 0); }
.btn--primary:hover { box-shadow: 0 10px 40px -8px rgba(109, 102, 255, .8); }
.btn--light { background: #fff; color: var(--night); }
.btn--arrow { padding: 6px 6px 6px 28px; }
.btn__circle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; transition: transform .6s var(--ease); }
.btn--arrow:hover .btn__circle { transform: rotate(45deg); }
.btn--quiet { padding: 0 4px; min-height: 44px; position: relative; color: #fff; }
.btn--quiet::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 8px; height: 1.5px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .6s var(--ease); }
.btn--quiet:hover::after { transform: scaleX(1); }
.btn--outline { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--text); }
.btn--outline:hover { background: #fff; color: var(--night); box-shadow: none; }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.icon-btn:hover { background: #fff; color: var(--night); }
.icon-btn--ghost { background: transparent; width: 36px; height: 36px; backdrop-filter: none; }
.icon-btn--ghost .ico { width: 20px; height: 20px; }

.round-arrow {
  position: absolute; right: var(--gap-in); bottom: var(--gap-in);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
  transition: transform .7s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.round-arrow .ico { width: 18px; height: 18px; }

.glass {
  background: linear-gradient(140deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .7s var(--ease); }
.header.is-hidden { transform: translateY(-100%); }
.header__top { display: none; }
.header__main { transition: background-color .5s var(--ease); }
.header.is-scrolled .header__main { background: rgba(13, 15, 34, .62); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); }
.header__main-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand .mark { width: 46px; height: auto; }
.brand__name { font-size: 13px; line-height: 1.2; font-weight: 500; }
.topics { display: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }
.pill-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 500;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color .3s, color .3s;
}
.pill-link .ico { width: 18px; height: 18px; }
.pill-link:hover { background: #fff; color: var(--night); }
@media (min-width: 1100px) {
  .header__top { display: block; }
  .header__top-in { display: flex; align-items: center; gap: 28px; height: 44px; font-size: 14px; }
  .audience { display: flex; gap: 22px; color: rgba(238, 240, 250, .72); }
  .audience a:hover { color: #fff; }
  .header__tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
  .lang { display: flex; gap: 2px; font-size: 13px; font-weight: 500; }
  .lang a { padding: 4px 7px; border-radius: 8px; color: rgba(238, 240, 250, .6); }
  .lang a[aria-current] { color: #fff; background: rgba(255, 255, 255, .14); }
  .topics { display: flex; gap: clamp(16px, 1.8vw, 30px); margin-left: clamp(16px, 3vw, 56px); font-size: 15px; font-weight: 500; }
  .topics a { position: relative; padding: 8px 0; }
  .topics a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--sky); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .topics a:hover::after { transform: scaleX(1); transform-origin: left; }
  .header__cta { display: inline-flex; }
  .menu-btn { display: none; }
  .header.is-scrolled .header__top { display: none; }
}
@media (max-width: 420px) { .brand__name { display: none; } }

/* ---------- Первый экран ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: -24px; z-index: -2; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(13, 15, 34, .92) 0%, rgba(13, 15, 34, .25) 45%, rgba(13, 15, 34, .45) 100%),
    linear-gradient(to right, rgba(13, 15, 34, .5), transparent 60%);
}
.hero__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; padding-block: 140px clamp(24px, 4vw, 56px); }
.hero__plate {
  width: min(100%, 640px);
  display: grid; gap: 22px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-card);
}
.hero__title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(34px, 4.4vw, 72px); line-height: 1.02; letter-spacing: -.035em;
}
.hero__title .line { padding-bottom: .06em; }
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); color: rgba(238, 240, 250, .8); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero__side { display: flex; align-items: center; gap: 18px; margin-right: 64px; }
.film-btn {
  position: relative; display: grid; place-items: center;
  width: 92px; height: 92px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.film-btn:hover { background: #fff; color: var(--night); }
.film-btn .ico { width: 26px; height: 26px; margin-left: 3px; }
.film-btn__ring { position: absolute; inset: 0; }
.film-btn__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.film-btn__ring circle { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; }
.film-btn__ring .film-btn__progress { stroke: #fff; stroke-dasharray: 301.6; stroke-dashoffset: 301.6; }
.film-btn__label { font-size: 15px; font-weight: 500; line-height: 1.3; }
.film-btn__label span { color: var(--muted); font-weight: 400; }
.hero__pause { position: absolute; right: var(--gutter); bottom: clamp(24px, 4vw, 56px); }
.hero__pause .ico--play, .hero__pause.is-paused .ico--pause { display: none; }
.hero__pause.is-paused .ico--play { display: block; }
@media (max-width: 760px) {
  .hero__side { margin-right: 0; }
  .film-btn { width: 64px; height: 64px; }
  .hero__pause { top: calc(var(--header-h) + 12px); bottom: auto; }
}

/* ---------- Секции ---------- */
.section { padding-top: clamp(96px, 11vw, 170px); }
.section__title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(32px, 4.4vw, 68px); line-height: 1.04; letter-spacing: -.04em;
  margin-bottom: clamp(28px, 3.4vw, 52px);
}

/* ---------- Быстрые сервисы: стеклянные плитки с подсветкой под курсором ---------- */
.services__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .services__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .services__list { grid-template-columns: repeat(6, 1fr); } }
.service, .social-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night-2);
}
.service::before, .social-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(109, 102, 255, .38), transparent 60%);
  transition: opacity .5s var(--ease);
}
[data-spotlight]:hover .service::before, [data-spotlight]:hover .social-card::before { opacity: 1; }
.service {
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  height: 100%; min-height: 176px; padding: 22px; border-radius: var(--r-tile);
  transition: transform .7s var(--ease), background-color .5s var(--ease);
}
.service__ico { width: 30px; height: 30px; color: var(--sky); }
.service__name { font-weight: 500; font-size: 17px; line-height: 1.25; padding-right: 20px; }
.service__arrow { position: absolute; right: 20px; top: 22px; width: 20px; height: 20px; opacity: 0; transform: translate(-6px, 6px); transition: opacity .45s var(--ease), transform .7s var(--ease); }
.service:hover { transform: translateY(-6px); background: var(--night-3); }
.service:hover .service__arrow { opacity: 1; transform: none; }

/* ---------- Табы ---------- */
.tabs { position: relative; display: inline-flex; padding: 5px; background: var(--night-2); border-radius: 999px; }
.tabs__thumb { position: absolute; left: 0; top: 5px; bottom: 5px; border-radius: 999px; background: #fff; width: 0; }
.tabs__btn { position: relative; z-index: 1; min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-weight: 500; font-size: 15px; color: var(--text); transition: color .4s var(--ease); }
.tabs__btn[aria-selected="true"] { color: var(--night); }

/* ---------- Новости: горизонтальная лента ---------- */
.news__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 3.4vw, 52px); }
.news__head .section__title { margin-bottom: 0; }
.news__panel { overflow: hidden; }
.news__track {
  display: flex; gap: 16px;
  padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.news__track::-webkit-scrollbar { display: none; }
.news-card {
  flex: none; width: min(78vw, 360px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 12px;
}
.news-card--wide { width: min(88vw, 640px); }
.news-card__img { overflow: hidden; border-radius: var(--r-tile); aspect-ratio: 4 / 3; background: var(--night-2); }
.news-card--wide .news-card__img { aspect-ratio: 1200 / 394; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.news-card:hover .news-card__img img { scale: 1.06; }
.news-card time { margin-top: 6px; font-size: 13px; color: var(--muted); }
.news-card h3 { font-weight: 500; font-size: 18px; line-height: 1.3; }
.news-card--wide h3 { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2vw, 32px); line-height: 1.15; letter-spacing: -.03em; }
.news-card--more {
  width: 240px; align-items: flex-start; justify-content: center; gap: 18px;
  font-family: var(--display); font-weight: 300; font-size: 26px; letter-spacing: -.03em;
}
.news-card__more-circle { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--blue); color: #fff; transition: transform .7s var(--ease); }
.news-card--more:hover .news-card__more-circle { transform: scale(1.1) rotate(-45deg); }
.news__progress { margin-top: 36px; }
.news__progress span { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.news__progress span::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (min-width: 1100px) {
  .news__track { overflow: visible; scroll-snap-type: none; width: max-content; }
  .news-card { width: 400px; }
  .news-card--wide { width: 720px; }
}

.ann { border-top: 1px solid var(--line); }
.ann a {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center;
  padding: 24px 8px; border-bottom: 1px solid var(--line);
  transition: background-color .4s var(--ease), padding .6s var(--ease);
}
.ann time { grid-column: 1; font-size: 14px; color: var(--muted); }
.ann span { grid-column: 1; font-weight: 500; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.3; }
.ann .ico { grid-column: 2; grid-row: 1 / 3; transition: transform .6s var(--ease); }
.ann a:hover { background: var(--night-2); padding-inline: 20px; }
.ann a:hover .ico { transform: rotate(45deg); color: var(--sky); }
.ann__all { margin-top: 32px; }
@media (min-width: 900px) {
  .ann a { grid-template-columns: 200px 1fr auto; }
  .ann time, .ann span { grid-column: auto; }
  .ann .ico { grid-column: 3; grid-row: auto; }
}

/* ---------- Знакомство: фильм ---------- */
.film-stage { padding-inline: var(--gutter); }
.film-card {
  position: relative; display: block; width: 100%; margin-inline: auto;
  aspect-ratio: 16 / 9; max-height: 88svh; border: 0; padding: 0; overflow: hidden;
  border-radius: var(--r-card); background: var(--night-2); cursor: pointer; text-align: left;
}
.film-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-card__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 15, 34, .7), transparent 50%); }
.film-card__plate {
  position: absolute; left: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px);
  display: flex; align-items: center; gap: 16px; padding: 10px 26px 10px 10px; border-radius: 999px; color: #fff;
}
.film-card__play { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--night); transition: transform .6s var(--ease); }
.film-card:hover .film-card__play { transform: scale(1.1); }
.film-card__play .ico { margin-left: 3px; }
.film-card__text { display: grid; font-size: 13px; line-height: 1.3; }
.film-card__text strong { font-weight: 500; font-size: 17px; }
.film-card__text span { opacity: .75; }

/* ---------- Цитата, проявляется по словам при прокрутке ---------- */
.quote { padding-block: clamp(96px, 12vw, 180px) 0; }
.quote p {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(26px, 3.6vw, 58px); line-height: 1.14; letter-spacing: -.035em;
  max-width: 24ch;
}
.quote figcaption { margin-top: 28px; color: var(--muted); font-size: 16px; }

/* ---------- Сцена сборки знака с фактами ---------- */
.sign-scene { position: relative; height: 260svh; margin-top: clamp(40px, 6vw, 100px); }
.sign-scene__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}
.sign-scene__sticky::before {
  content: ''; position: absolute; width: 70vmin; height: 70vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 64, 255, .45), transparent 65%);
  filter: blur(40px);
}
.sign-scene__mark { position: relative; width: min(56vw, 520px); color: var(--blue-glow); }
.sign-scene__mark .mark { width: 100%; height: auto; overflow: visible; }
.sign-scene__mark .s1 { color: var(--sky); }
.sign-scene__mark .s3 { color: #fff; }
.sign-facts { position: absolute; inset: 0; pointer-events: none; }
.sign-fact { position: absolute; display: flex; flex-direction: column; gap: 6px; max-width: 260px; }
.sign-fact dd { white-space: nowrap; font-family: var(--display); font-weight: 300; font-size: clamp(36px, 5vw, 84px); line-height: 1; letter-spacing: -.05em; }
.sign-fact dt { color: var(--muted); font-size: 15px; }
.sf-1 { left: var(--gutter); top: 18%; }
.sf-2 { right: var(--gutter); top: 22%; text-align: right; align-items: flex-end; }
.sf-3 { left: var(--gutter); bottom: 14%; }
.sf-4 { right: var(--gutter); bottom: 12%; text-align: right; align-items: flex-end; }
@media (max-width: 760px) {
  .sign-scene__mark { width: 62vw; margin-top: -8vh; }
  .sf-1 { top: 12%; } .sf-2 { top: 12%; } .sf-3 { bottom: 10%; } .sf-4 { bottom: 10%; }
  .sign-fact dt { font-size: 13px; max-width: 150px; }
}

/* ---------- Восемь переходов: список с картинкой за курсором ---------- */
.explore { margin-top: clamp(40px, 6vw, 100px); border-top: 1px solid var(--line); }
.explore a {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 24px;
  padding: clamp(20px, 2.4vw, 34px) 4px; border-bottom: 1px solid var(--line);
}
.explore__title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(24px, 3.4vw, 54px); line-height: 1.08; letter-spacing: -.04em;
  transition: transform .8s var(--ease), color .4s var(--ease);
}
.explore__note { grid-column: 1; color: var(--muted); font-size: 15px; }
.explore .ico { grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; transition: transform .7s var(--ease), color .4s; }
.explore a:hover .explore__title { transform: translateX(22px); color: var(--sky); }
.explore a:hover .ico { transform: rotate(45deg); color: var(--sky); }
@media (min-width: 900px) {
  .explore a { grid-template-columns: 1fr auto auto; }
  .explore__note { grid-column: 2; }
  .explore .ico { grid-column: 3; grid-row: auto; }
}
.explore-float {
  position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none;
  width: 320px; aspect-ratio: 4 / 3; margin: -120px 0 0 -160px;
  border-radius: var(--r-tile); overflow: hidden;
  scale: 0; opacity: 0; transition: scale .6s var(--ease), opacity .4s var(--ease);
}
.explore-float.is-on { scale: 1; opacity: 1; }
.explore-float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Официальная информация ---------- */
.info__list { display: grid; gap: 12px; }
@media (min-width: 720px) { .info__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .info__list { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.info-link {
  display: flex; align-items: center; gap: 16px; height: 100%; min-height: 92px;
  padding: 18px 22px; border-radius: var(--r-tile);
  background: var(--night-2); font-weight: 500; font-size: 16px; line-height: 1.3;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.info-link .ico { color: var(--sky); transition: color .45s; }
.info-link:hover { background: #fff; color: var(--night); }
.info-link:hover .ico { color: var(--blue); }
.info-link--main { background: var(--blue); color: #fff; }
.info-link--main .ico { color: #fff; }

/* ---------- Соцсети ---------- */
.social__list { display: grid; gap: 14px; }
@media (min-width: 900px) { .social__list { grid-template-columns: repeat(3, 1fr); } }
.social-card {
  display: flex; flex-direction: column; gap: 6px;
  min-height: 230px; padding: 26px; border-radius: var(--r-card);
}
.social-card__ico { width: 34px; height: 34px; color: var(--sky); margin-bottom: auto; }
.social-card__name { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.035em; }
.social-card__handle { color: var(--muted); font-size: 15px; }
.social-card:hover .round-arrow { transform: rotate(45deg); background: #fff; color: var(--night); }

/* ---------- Ведомственные ссылки ---------- */
.gov { margin-top: clamp(96px, 11vw, 160px); border-block: 1px solid var(--line); }
.marquee { display: flex; overflow: hidden; }
.marquee__track { display: flex; flex: none; }
.marquee__track li { display: flex; align-items: center; }
.marquee__track li::after { content: ''; width: 1px; height: 28px; background: var(--line); margin-inline: clamp(24px, 3vw, 48px); }
.marquee__track a { display: block; padding: 30px 0; font-family: var(--display); font-weight: 300; font-size: clamp(18px, 2vw, 30px); letter-spacing: -.03em; color: var(--muted); white-space: nowrap; transition: color .3s; }
.marquee__track a:hover { color: #fff; }

/* ---------- Подвал ---------- */
.footer { padding-block: clamp(64px, 7vw, 100px) 28px; overflow: hidden; }
.footer__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 3fr 1fr; } }
.footer__contacts { display: grid; gap: 32px 28px; }
@media (min-width: 640px) { .footer__contacts { grid-template-columns: repeat(2, 1fr); } }
.contact { display: grid; gap: 4px; font-size: 15px; }
.contact h3 { font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.contact p { color: var(--muted); }
.contact a { width: max-content; transition: color .3s; }
.contact a:hover { color: var(--sky); }
.footer__nav { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__nav a { color: var(--muted); width: max-content; transition: color .3s; }
.footer__nav a:hover { color: #fff; }
.footer__word { margin-top: clamp(64px, 8vw, 120px); color: var(--blue); overflow: hidden; }
.footer__big { display: block; font-family: var(--display); font-weight: 500; font-size: 30vw; line-height: .78; letter-spacing: -.05em; margin-left: -.04em; white-space: nowrap; }
@media (min-width: 1520px) { .footer__big { font-size: 458px; } }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__mox { margin-left: auto; }

/* ---------- Оверлеи ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13, 15, 34, .82);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  opacity: 0; transition: opacity .45s var(--ease);
}
.overlay.is-open { opacity: 1; }
.overlay[hidden] { display: none !important; }
.overlay__close { position: absolute; top: 20px; right: 20px; }
.search__in { padding-top: 22vh; }
.search__form { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid #fff; padding-bottom: 14px; }
.search__form .ico { width: 30px; height: 30px; }
.search__form input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: #fff; font: 300 clamp(26px, 4vw, 56px)/1.1 var(--display); letter-spacing: -.035em; }
.search__form input::placeholder { color: rgba(238, 240, 250, .4); }
.search__hints { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.search__hints a { padding: 10px 16px; background: var(--night-2); border-radius: 999px; font-size: 15px; }
.search__hints a:hover { background: #fff; color: var(--night); }
.menu__in { display: grid; gap: 36px; padding: 88px var(--gutter) 40px; max-height: 100%; overflow-y: auto; }
.menu__group { display: grid; gap: 6px; }
.menu__group a { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 7vw, 40px); letter-spacing: -.04em; line-height: 1.2; }
.menu__group--small a { font-family: var(--font); font-weight: 400; font-size: 20px; color: var(--muted); line-height: 1.7; letter-spacing: 0; }
.menu .pill-link { justify-self: start; font-size: 15px; padding: 10px 18px 10px 14px; }
.film { background: rgba(5, 6, 14, .92); display: grid; place-items: center; padding: var(--gutter); }
.film__frame { width: min(1200px, 100%); aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; }
.film__frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Курсор-подсказка ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 100px; height: 100px; margin: -50px 0 0 -50px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--night); font-size: 14px; font-weight: 500;
  scale: 0; transition: scale .5s var(--ease);
}
.cursor.is-on { scale: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .sign-scene { height: auto; }
  .sign-scene__sticky { position: relative; height: auto; min-height: 80svh; }
}
