:root {
  --bg: #0c0c0d;
  --surface: #141415;
  --surface-2: #1b1b1d;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #f4f3f1;
  --muted: #9b9a97;
  --dim: #6c6b69;
  --accent: #2fa25a;
  --accent-2: #46c374;
  --accent-soft: rgba(47, 162, 90, .14);
  --radius: 16px;
  --wrap: 1240px;
  --head: "Unbounded", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 16px/1.6 "Manrope", system-ui, sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
/* лёгкая подсветка по краям */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at -10% -10%, rgba(200, 137, 63, .09), transparent 60%),
    radial-gradient(800px 600px at 110% 20%, rgba(47, 162, 90, .06), transparent 60%),
    radial-gradient(900px 700px at 100% 110%, rgba(200, 137, 63, .06), transparent 60%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.muted { color: var(--muted); }

.preview-bar { background: #f0b44c; color: #1a1300; text-align: center; font-weight: 700; font-size: 13px; padding: 6px 12px; }

/* ---------- шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 13, .8); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 24px; width: auto; }
.brand b { display: block; font: 700 15px/1.1 var(--head); }
.brand small { display: block; font-size: 12px; color: var(--muted); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); transition: .2s; }
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav__support { display: none; }
.header__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--muted); transition: .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; margin-right: -6px; }
.burger svg { width: 26px; height: 26px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent;
  font: 700 15px/1 "Manrope", sans-serif; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 30px -10px rgba(47,162,90,.6); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line-2); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--accent-2);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.eyebrow:empty { display: none; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--text); }

/* ---------- первый экран ---------- */
.hero { position: relative; overflow: hidden; padding: 110px 0 90px; min-height: min(78vh, 760px); display: flex; align-items: center; isolation: isolate; }
.hero__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.wall {
  position: absolute; top: -4%; bottom: 0; right: -4%; width: 52%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; transform: rotate(-8deg);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, transparent 100%);
  opacity: .75;
}
.wall__col { display: grid; gap: 16px; align-content: start; animation: wall var(--d, 50s) linear infinite; }
.wall__col img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line-2); }
@keyframes wall { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(700px 500px at 20% 50%, rgba(12,12,13,.85), transparent 70%); }
.hero h1 { font-size: clamp(40px, 6.4vw, 88px); max-width: 760px; }
.hero p { font-size: 19px; color: #c9c7c3; max-width: 560px; margin: 24px 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats, .about-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats { margin-top: 56px; }
.hero__stats b, .about-stats b { display: block; font: 700 28px/1 var(--head); color: var(--accent-2); }
.hero__stats span, .about-stats span { font-size: 13px; color: var(--muted); }

/* ---------- секции ---------- */
.section { padding: 80px 0 0; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.more { font-weight: 700; font-size: 15px; color: var(--muted); transition: .2s; }
.more:hover { color: var(--accent-2); }

.tabs { display: flex; gap: 6px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; border: 0; background: none; cursor: pointer; padding: 8px 14px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); transition: .2s; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- проекты ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.project { display: block; min-width: 0; }
.project__img {
  position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-2); transition: border-color .25s, transform .25s, box-shadow .25s;
}
a.project:hover .project__img { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(47,162,90,.55); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.project:hover .project__img img { transform: scale(1.04); }
.project__status {
  position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 8px;
  background: var(--accent); color: #fff;
}
.project__status.done { background: rgba(0,0,0,.65); backdrop-filter: blur(6px); }
.project__status.soon { background: #fff; color: #111; }
.project__body { padding: 14px 2px 0; }
.project__cat { font-size: 13px; color: var(--muted); font-weight: 600; }
.project h3 { font: 700 19px/1.3 "Manrope", sans-serif; margin: 4px 0; transition: color .2s; }
a.project:hover h3 { color: var(--accent-2); }
.project__last { font-size: 13px; color: var(--accent-2); font-weight: 600; }
.project--soon .project__img { border-style: dashed; }
.soon-art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); background: repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 12px, transparent 12px 24px); }
.soon-art svg { width: 64px; height: 64px; }
.project--soon .project__last { color: var(--dim); }

.poster-empty {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px;
  background: radial-gradient(circle at 30% 20%, rgba(47,162,90,.25), transparent 60%), linear-gradient(160deg, #1d1f1e, #111);
}
.poster-empty b { font: 700 16px/1.25 var(--head); }

/* ---------- поддержка ---------- */
.support {
  position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line-2);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(47,162,90,.2), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(200,137,63,.14), transparent 70%),
    var(--surface);
  padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.support h2 { font-size: clamp(24px, 3vw, 36px); }
.support p { color: var(--muted); font-size: 17px; margin: 14px 0 0; max-width: 520px; }
.support__links { display: grid; gap: 12px; }
.platform { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--line-2); transition: .2s; }
.platform:hover { border-color: var(--accent); transform: translateX(4px); }
.platform i { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font: 700 15px/1 var(--head); font-style: normal; flex-shrink: 0; }
.platform b { display: block; font-size: 16px; }
.platform span { font-size: 13px; color: var(--muted); }
.platform .arrow { margin-left: auto; color: var(--muted); font-size: 20px; }

/* ---------- новости ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer; font: inherit; color: inherit;
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: .25s;
}
.news-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.news-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); width: 100%; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.row { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.chip { background: var(--accent-soft); color: var(--accent-2); padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.news-card h3 { font: 700 19px/1.3 "Manrope", sans-serif; }
.news-card p { color: var(--muted); margin: 0; font-size: 15px; }

.modal { width: min(720px, calc(100% - 24px)); max-height: 88vh; padding: 0; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); color: var(--text); overflow: auto; }
.modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); cursor: pointer; font-size: 16px; }
.modal__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.modal__content { padding: 24px 30px 32px; }
.modal__content h2 { font-size: 24px; margin: 12px 0 8px; }
.modal__content p { color: #d4d2ce; }

/* ---------- о нас ---------- */
.page-head { padding-top: 56px; }
.about-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
.about-intro h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 20px; }
.about-text p { color: #c9c7c3; font-size: 17px; max-width: 680px; }
.about-stats { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); gap: 28px; }
.about-stats > div { min-width: 120px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.timeline li { position: relative; padding: 22px 22px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; top: 26px; right: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl__date { font: 700 13px/1 var(--head); color: var(--accent-2); }
.timeline b { display: block; font-size: 18px; margin: 12px 0 6px; }
.timeline p { margin: 0; color: var(--muted); font-size: 15px; }

.team-group + .team-group { margin-top: 44px; }
.team-group h3 { font: 700 15px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.team-group h3 span { font-size: 12px; color: var(--accent-2); background: var(--accent-soft); padding: 4px 8px; border-radius: 999px; letter-spacing: 0; }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 18px; }
.member { text-align: center; min-width: 0; }
.member__ava { position: relative; width: 104px; height: 104px; margin: 0 auto 14px; }
.member__ava img, .member__ava > span {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-2); transition: border-color .2s;
}
.member__ava > span {
  display: grid; place-items: center; font: 700 36px/1 var(--head); color: #fff;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 85%, #fff 15%), color-mix(in srgb, var(--c) 55%, #000 45%));
}
.member:hover .member__ava img, .member:hover .member__ava > span { border-color: var(--accent); }
.member__demo {
  position: absolute; right: -2px; bottom: -2px; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--bg);
  background: var(--accent); display: grid; place-items: center; cursor: pointer; transition: transform .2s;
}
.member__demo:hover { transform: scale(1.1); }
.member__demo svg { width: 14px; height: 14px; fill: #fff; margin-left: 1px; }
.member__demo.playing svg { margin-left: 0; }
.member b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member b a:hover { color: var(--accent-2); }
.member > span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }

.casting {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px; border-radius: 24px;
  border: 1px solid var(--line-2); background: radial-gradient(600px 300px at 100% 0%, rgba(47,162,90,.18), transparent 70%), var(--surface);
}
.casting h2 { font-size: clamp(26px, 3vw, 36px); }
.casting p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.casting ul { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 12px; }
.casting li { padding-left: 28px; position: relative; }
.casting li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg); }

/* ---------- подвал ---------- */
.footer { margin-top: 100px; padding: 56px 0 36px; border-top: 1px solid var(--line); background: rgba(0,0,0,.25); }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; color: var(--dim); letter-spacing: .1em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.footer ul a { color: var(--muted); }
.footer ul a:hover { color: var(--text); }
.footer__links a { display: inline-flex; align-items: center; gap: 9px; }
.footer__ico { width: 18px; height: 18px; flex-shrink: 0; object-fit: contain; display: inline-flex; }
.footer__ico svg { width: 100%; height: 100%; fill: currentColor; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--text); }
.footer p { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ---------- страница проекта ---------- */
.t-hero { position: relative; isolation: isolate; padding: 56px 0 40px; overflow: hidden; }
.t-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 30%; opacity: .3; filter: blur(3px); transform: scale(1.05); }
.t-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,12,13,.3), var(--bg) 92%), linear-gradient(90deg, var(--bg) 0%, transparent 60%); }
.t-hero__in { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: end; }
.title-card__poster { position: relative; aspect-ratio: 2/3; border-radius: 16px; overflow: hidden; border: 2px solid var(--line-2); background: var(--surface); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
.title-card__poster img { width: 100%; height: 100%; object-fit: cover; }
.tag-adm { position: absolute; top: 12px; left: 0; z-index: 1; background: var(--accent); color: #fff; font: 700 12px/1 var(--head); padding: 7px 12px 7px 10px; border-radius: 0 8px 8px 0; }
.t-hero h1 { font-size: clamp(28px, 4vw, 50px); }
.t-hero .eyebrow { margin-bottom: 12px; }
.t-hero .orig { color: var(--muted); margin-top: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.fact { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.fact--accent { background: var(--accent-soft); color: var(--accent-2); border-color: transparent; }
.t-hero p.desc { color: #cfcdca; font-size: 16px; max-width: 680px; margin: 0 0 26px; }

.watch { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.player-box { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 14px 18px; background: var(--surface); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.player-bar b { font-size: 16px; }
.player-bar small { color: var(--muted); font-size: 13px; }
.player > * { width: 100%; display: block; }
.screen {
  aspect-ratio: 16/9; position: relative; isolation: isolate; overflow: hidden;
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px;
}
.screen::before { content: ""; position: absolute; inset: -10px; z-index: -2; background: var(--frame, #111) center/cover; filter: brightness(.5) blur(2px); }
.screen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0,0,0,.2), rgba(0,0,0,.65) 75%); }
.screen__code { font: 700 13px/1 var(--head); color: var(--accent-2); letter-spacing: .08em; }
.screen__title { font: 700 clamp(20px, 3.4vw, 42px)/1.15 var(--head); }
.screen__play { width: 72px; height: 72px; border-radius: 50%; margin: 12px 0; display: grid; place-items: center; background: var(--accent); box-shadow: 0 0 0 10px rgba(47,162,90,.2); transition: .25s; }
.screen:hover .screen__play { transform: scale(1.07); }
.screen__play svg { width: 26px; height: 26px; margin-left: 4px; fill: #fff; }
.screen__hint { font-size: 14px; color: #c9c7c3; }
.ep-desc { color: var(--muted); margin: 16px 2px 0; max-width: 760px; }
.ep-desc:empty { display: none; }

.credits { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); padding: 20px; max-height: 520px; overflow: auto; }
.credits h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.credits h4:not(:first-child) { margin-top: 22px; }
.credits ul { list-style: none; padding: 0; margin: 0; }
.credits li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.credits li span { color: var(--muted); }
.credits li b { font-weight: 700; text-align: right; overflow-wrap: anywhere; }

.episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.rel { display: block; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; min-width: 0; }
.rel__img { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); background: linear-gradient(135deg, var(--surface-2), var(--surface)); transition: border-color .25s, transform .25s; }
.rel:hover .rel__img, .rel.active .rel__img { border-color: var(--accent); }
.rel:hover .rel__img { transform: translateY(-3px); }
.rel__img img { width: 100%; height: 100%; object-fit: cover; }
.rel__num { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center; font: 700 16px/1.2 var(--head); color: var(--muted); }
.rel__code { position: absolute; left: 10px; bottom: 10px; font: 700 12px/1 var(--head); background: rgba(0,0,0,.72); padding: 6px 8px; border-radius: 7px; }
.rel.active .rel__code { background: var(--accent); }
.empty-page { padding: 120px 0; text-align: center; display: grid; gap: 24px; justify-items: center; }

/* ---------- появление ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall__col { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .watch { grid-template-columns: 1fr; }
  .credits { max-height: none; }
  .wall { width: 60%; }
}
@media (max-width: 960px) {
  .support, .about-intro, .casting { grid-template-columns: 1fr; }
  .projects, .news { grid-template-columns: 1fr 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .support, .casting { padding: 36px; }
  .t-hero__in { grid-template-columns: 180px 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .nav, .header__right .icon-btn, .header__right .btn { display: none; }
  .burger { display: block; }
  .header.open .nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 10px 16px 20px; border-bottom: 1px solid var(--line-2); box-shadow: 0 30px 40px -20px rgba(0,0,0,.8);
  }
  .header.open .nav a { font-size: 17px; padding: 12px; }
  .header.open .nav__support { display: block; color: var(--accent-2); }
  .hero { min-height: 0; padding: 72px 0 64px; }
  .wall { width: 90%; right: -35%; opacity: .35; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .hero p { font-size: 16px; }
  .hero__stats { gap: 24px; margin-top: 40px; }
  .hero__stats b, .about-stats b { font-size: 22px; }
  .section { padding-top: 60px; }
  .projects, .news, .footer__in { grid-template-columns: 1fr; }
  .episodes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .support, .casting { padding: 26px 20px; border-radius: 18px; }
  .t-hero { padding-top: 32px; }
  .t-hero__in { grid-template-columns: 1fr; }
  .t-hero .title-card__poster { width: 150px; }
  .members { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .member__ava { width: 88px; height: 88px; }
  .modal__content { padding: 20px; }
  .brand small { display: none; }
  .about-stats { padding: 20px; }
}
.guests { display: flex; flex-wrap: wrap; gap: 8px; }
.guests span { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: #cfcdca; }

/* круглый логотип */
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--line-2); transition: box-shadow .2s; }
.brand:hover img { box-shadow: 0 0 0 2px var(--accent); }

/* тёмные тонкие скроллбары вместо белых системных */
html { scrollbar-color: #2c2c2f transparent; scrollbar-width: thin; }
* { scrollbar-color: #2c2c2f transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2c2c2f; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #3d3d41; background-clip: padding-box; }
::-webkit-scrollbar-button { display: none; }
.credits { scrollbar-gutter: stable; }
/* руководство — крупной карточкой */
.team-group--lead .members { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.team-group--lead .member {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 20px; text-align: left;
  padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
}
.team-group--lead .member__ava { grid-row: span 2; margin: 0; }
.team-group--lead .member b { font: 700 18px/1.3 var(--head); white-space: normal; align-self: end; }
.team-group--lead .member > span { align-self: start; }
.platform__icon { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }

/* компактная команда: аватар слева, имя и роль справа */
.members { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.member {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 14px; text-align: left;
  padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s;
}
.member:hover { border-color: var(--line-2); }
.member__ava { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
.member__ava > span { font-size: 18px; border-width: 1px; }
.member__ava img { border-width: 1px; }
.member b { align-self: end; }
.member > span { align-self: start; margin-top: 0; font-size: 12.5px; }
.member__demo { width: 24px; height: 24px; border-width: 2px; right: -4px; bottom: -4px; }
.member__demo svg { width: 10px; height: 10px; }
.team-group + .team-group { margin-top: 36px; }
.team-group h3 { margin-bottom: 14px; }

/* руководство — как было, крупно */
.team-group--lead .member { padding: 20px; gap: 4px 20px; }
.team-group--lead .member__ava { width: 104px; height: 104px; }
.team-group--lead .member__ava > span { font-size: 36px; border-width: 2px; }
.team-group--lead .member__demo { width: 36px; height: 36px; border-width: 3px; right: -2px; bottom: -2px; }
.team-group--lead .member__demo svg { width: 14px; height: 14px; }
.team-group--lead .member > span { font-size: 13px; }

@media (max-width: 640px) {
  .members { grid-template-columns: 1fr; gap: 8px; }
  .team-group--lead .member__ava { width: 80px; height: 80px; }
}
.member b { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }

/* логотип проекта поверх картинки */
.project__logo { position: absolute; inset: 0; display: grid; place-items: center; padding: 8% 12%; background: radial-gradient(ellipse at center, rgba(0,0,0,.45), rgba(0,0,0,.15) 75%); }
.project__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)); transition: transform .4s; }
a.project:hover .project__logo img { transform: scale(1.04); }
a.project .project__img > img { filter: brightness(.8) saturate(1.05); }
.poster-logo { position: absolute; inset: 0; display: grid; place-items: center; padding: 14%; background: #111; }
.poster-logo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) blur(1px); transform: scale(1.05); }
.poster-logo .logo-over { position: relative; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)); }

/* плеер Vibix: 16:9 по ширине блока */
.player--vibix { position: relative; aspect-ratio: 16/9; background: #000; }
.player--vibix > ins, .player--vibix iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; border: 0; }
