/* Вид — из пресс-кита фильма: кадр фильма на фоне, Bebas Neue, бирюза названия с постера, тёмно-красный ролей (#7b001e),
   серый имён (#99a7b5). Устройство — не пресс-кит (не листается экранами): сразу фильм, трейлер, синопсис, потом ролики (03.11). */
@font-face { font-family: "Bebas"; src: url("fonts/BebasNeue.ttf") format("truetype"); font-display: swap; }
:root { --фон: #07080a; --текст: #d4d8de; --серый: #99a7b5; --красный: #7b001e; --линия: #b0123a; --бирюза: #62c1c4; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--фон); color: var(--текст); font: 17px/1.5 "Bahnschrift SemiCondensed", "Bahnschrift", "Arial Narrow", sans-serif; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, .лого, .меню, .языки, .кнопка, .фраза { font-family: "Bebas", "Bahnschrift Condensed", sans-serif; font-weight: 400; }

.шапка { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 28px; padding: 12px max(32px, calc((100% - 1240px) / 2 + 32px)); background: rgba(7,8,10,.92); backdrop-filter: blur(6px); }
.лого { font-size: 26px; letter-spacing: .14em; color: var(--бирюза); }
.меню { display: flex; gap: 22px; font-size: 18px; letter-spacing: .12em; }
.меню a { color: var(--серый); } .меню a:hover { color: #fff; }
.языки { margin-left: auto; display: flex; gap: 14px; font-size: 18px; letter-spacing: .1em; }
.языки a { color: #5d6672; } .языки a.да { color: #fff; }
@media (max-width: 760px) { .меню { display: none; } .шапка { padding: 10px 16px; } }

.герой { position: relative; display: flex; align-items: center; gap: 48px; padding: 48px max(32px, calc((100% - 1240px) / 2 + 32px)) 56px;
         background: linear-gradient(90deg, rgba(7,8,10,.94) 0%, rgba(7,8,10,.78) 55%, rgba(7,8,10,.9) 100%), url("kit/bg_end.jpg") center/cover; }
.герой::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(transparent, var(--фон)); }
.постер { width: min(320px, 32vw); aspect-ratio: 2/3; object-fit: cover; box-shadow: 0 24px 70px rgba(0,0,0,.7); cursor: pointer; position: relative; z-index: 1; }
.титул { position: relative; z-index: 1; max-width: 620px; }
.герой h1 { margin: 0; font-size: clamp(76px, 11vw, 150px); line-height: .85; letter-spacing: .05em; color: var(--бирюза); }
.фраза { margin-top: 10px; font-size: 28px; letter-spacing: .1em; color: #eef0f2; }
.фраза:empty { display: none; }
.кратко { margin-top: 12px; color: var(--серый); letter-spacing: .04em; }
.синопсис { margin: 18px 0 26px; font-size: 18px; }
.синопсис.фраза-абзац { margin-bottom: 0; }

.кнопки { display: flex; gap: 12px; flex-wrap: wrap; }
.кнопка { background: rgba(123,0,30,.35); border: 2px solid var(--линия); padding: 11px 30px 8px; font-size: 23px; letter-spacing: .16em; }
.кнопка:hover { background: var(--красный); }
.кнопка.вторая { background: none; border-color: #3a3f47; color: #c9ced5; } .кнопка.вторая:hover { border-color: var(--серый); background: none; }
.кнопка[hidden] { display: none; }
@media (max-width: 760px) {
  .герой { flex-direction: column; align-items: flex-start; gap: 22px; padding: 24px 20px 40px; }
  .постер { width: 58vw; } .синопсис { font-size: 16.5px; }
}

main { max-width: 1240px; margin: 0 auto; padding: 10px 32px 40px; }
.блок { margin-top: 56px; scroll-margin-top: 70px; }
.блок > h2 { margin: 0; font-size: clamp(36px, 5vw, 56px); letter-spacing: .3em; color: #f1f3f5; line-height: 1; }
.черта { height: 2px; margin: 12px 0 4px; background: linear-gradient(90deg, var(--линия) 0 38%, transparent 38% 41%, var(--линия) 41% 100%); position: relative; }
.черта::after { content: ""; position: absolute; left: 38%; top: -5px; width: 3%; height: 6px; border-bottom: 2px solid var(--линия); }
.группа { margin-top: 30px; }
.группа h3 { margin: 0 0 12px; font-size: 27px; letter-spacing: .14em; color: var(--линия); }
.группа h3 span { color: var(--серый); font-size: 18px; letter-spacing: .1em; margin-left: 10px; }
.ряд { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px 12px; }
.ролик { cursor: pointer; }
.ролик .кадр { position: relative; aspect-ratio: 9/16; background: #000 center/cover; outline: 1px solid #1b1e23; }
.ролик:hover .кадр { outline: 2px solid var(--линия); }
.ролик .время { position: absolute; right: 0; bottom: 0; background: rgba(7,8,10,.85); color: var(--серый); font-size: 13px; padding: 1px 6px; }
.ролик .заг { margin-top: 7px; font-size: 14.5px; line-height: 1.3; color: #c7ccd3; }
@media (max-width: 760px) { main { padding: 0 16px 30px; } .ряд { grid-template-columns: repeat(2, 1fr); } }

.подвал { border-top: 2px solid var(--красный); padding: 34px 8vw 54px; color: var(--серый); display: flex; flex-wrap: wrap; gap: 24px 80px; font-size: 15px; }
.подвал div { line-height: 1.7; }

.плеер { position: fixed; inset: 0; z-index: 10; background: rgba(0,0,0,.95); display: flex; align-items: center; justify-content: center; }
.плеер[hidden] { display: none; }
.сцена { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.сцена video { display: block; background: #000; }
.сцена video.шортс { height: min(calc(100dvh - 80px), calc((100vw - 20px) * 16 / 9)); aspect-ratio: 9/16; }
.сцена video.кино { width: min(96vw, calc((100dvh - 60px) * 2)); aspect-ratio: 2/1; }
.сцена iframe.кино { width: min(96vw, calc((100dvh - 60px) * 16 / 9)); aspect-ratio: 16/9; border: 0; background: #000; display: block; }
.сцена .подпись { color: var(--серый); font-size: 15px; text-align: center; padding: 0 10px; max-width: 560px; }
.сцена .подпись b { color: #e7eaee; font-weight: 400; }
.закрыть { position: absolute; top: 6px; right: 16px; font-size: 40px; color: #888; z-index: 2; }
.листать { position: absolute; top: 50%; transform: translateY(-50%); font: 60px "Bebas", sans-serif; color: #777; padding: 20px; z-index: 2; }
.листать:hover, .закрыть:hover { color: #fff; }
.назад { left: 6px; } .вперёд { right: 6px; }
.плеер.кино .листать { display: none; }
@media (max-width: 760px) { .листать { display: none; } }

/* страница фильма: «о проекте», кадры, награды, концепт-арт, актёры (как на сайте студии, 03.11) */
.к-роликам { display: block; max-width: 1240px; margin: 8px auto 0; padding: 18px 32px; border: 1px solid #2a2e35; border-left: 3px solid var(--линия);
             font: 24px "Bebas", sans-serif; letter-spacing: .12em; color: #e7eaee; background: linear-gradient(90deg, rgba(123,0,30,.25), transparent 60%); }
.к-роликам span { display: block; font: 15.5px/1.4 "Bahnschrift SemiCondensed", sans-serif; letter-spacing: 0; color: var(--серый); margin-top: 2px; }
.к-роликам:hover { border-color: var(--линия); }
.страница { max-width: 1240px; margin: 0 auto; padding: 0 32px 30px; }
.раздел { margin-top: 64px; scroll-margin-top: 70px; }
.раздел > h2 { margin: 0 0 18px; font-size: clamp(34px, 4.6vw, 52px); letter-spacing: .3em; color: #f1f3f5; line-height: 1; }
.столбец { columns: 2 380px; column-gap: 48px; }
.столбец p { margin: 0 0 1em; break-inside: avoid; }
.галерея { display: grid; gap: 8px; }
.галерея.кадры { grid-template-columns: repeat(4, 1fr); }
.галерея.концепты { grid-template-columns: repeat(5, 1fr); align-items: start; }
.галерея img { width: 100%; display: block; cursor: zoom-in; background: #111; }
.галерея img[hidden] { display: none; }
.галерея.кадры img { aspect-ratio: 2/1; object-fit: cover; }
.ещё { margin-top: 12px; background: none; border: 1px solid #3a3f47; color: var(--серый); padding: 7px 20px 5px; font: 18px "Bebas", sans-serif; letter-spacing: .14em; }
.ещё:hover { color: #fff; border-color: var(--серый); } .ещё[hidden] { display: none; }
.итог-наград { font: 26px "Bebas", sans-serif; letter-spacing: .1em; color: var(--бирюза); margin-bottom: 14px; }
.награды { columns: 320px; column-gap: 40px; font-size: 15px; line-height: 1.45; }
.награды .фест { break-inside: avoid; padding-bottom: 12px; }
.награды b { display: block; font-weight: 400; color: #e3e6ea; } .награды .что { color: var(--серый); }
.сетка-актёров { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 14px; }
.сетка-актёров img { width: 100%; display: block; }
.сцена img.большая { max-width: 96vw; max-height: calc(100dvh - 40px); display: block; cursor: pointer; }
@media (max-width: 760px) {
  .к-роликам { margin: 0 16px; padding: 14px 16px; font-size: 21px; } .страница { padding: 0 16px 20px; }
  .галерея.кадры { grid-template-columns: repeat(2, 1fr); } .галерея.концепты { grid-template-columns: repeat(3, 1fr); }
  .сетка-актёров { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* страница роликов: разговор со зрителем, описания тем */
.вступление { max-width: 1240px; margin: 0 auto; padding: 40px 32px 10px; }
.вступление h1 { margin: 0 0 16px; font-size: clamp(50px, 8vw, 96px); letter-spacing: .08em; color: var(--бирюза); line-height: .9; }
.вступление p { max-width: 760px; margin: 0 0 .8em; font-size: 19px; color: #dfe3e8; }
.оглавление { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.оглавление a { padding: 6px 12px 4px; border: 1px solid #2a2e35; color: var(--серый); font: 17px "Bebas", sans-serif; letter-spacing: .1em; }
.оглавление a:hover { color: #fff; border-color: var(--линия); }
.блок > .о { margin: 10px 0 0; color: #c9ced5; font-size: 17px; max-width: 760px; }
.группа .о { margin: -6px 0 12px; color: var(--серый); font-size: 15.5px; max-width: 760px; }
.о-фильме { display: inline-block; margin: -4px 0 18px; color: var(--серый); font-size: 17px; letter-spacing: .02em; border-bottom: 1px solid #3a3f47; }
.о-фильме:hover { color: #fff; }

.награды-кратко { display: inline-block; margin-top: 8px; font: 22px "Bebas", sans-serif; letter-spacing: .1em; color: var(--бирюза); }
.награды-кратко:hover { color: #fff; }
.бесплатно { margin-top: 10px; color: var(--серый); font-size: 15.5px; }
.награды[hidden] { display: none; }
.вступление .кнопки { margin: 18px 0 6px; }
.соцсети { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin: 14px 0 4px; font-size: 15px; }
.соцсети span { color: #8a949e; }
.соцсети a { color: #99a7b5; text-decoration: none; border-bottom: 1px solid #3a444e; }
.соцсети a:hover { color: #fff; border-color: #4f9291; }
/* 08.11: значок предупреждения (приказ №884) */
.кнопки:has(.знак) { position: relative; }
.знак { position: static; align-self: center; color: var(--серый); font-size: 18px; letter-spacing: .05em; cursor: help; padding: 4px 6px; outline: none; }
.знак:focus-visible, .знак.открыт { color: var(--текст); }
@media (hover: hover) { .знак:hover { color: var(--текст); } .знак:hover .подсказка { display: block; } }   /* на телефоне «hover» залипает после касания — только нажатие */
.знак .подсказка { display: none; position: absolute; left: 0; top: calc(100% + 6px); width: min(440px, 100%); box-sizing: border-box; z-index: 20; background: #101216;
  border: 1px solid var(--линия); color: var(--текст); font-size: 14px; line-height: 1.4; letter-spacing: 0; padding: 10px 12px; cursor: default; }
.знак:focus-visible .подсказка, .знак.открыт .подсказка { display: block; }
