/* ==========================================================================
   Astra — main stylesheet
   Сетка: 6 колонок, gap 30px, поля 36px (на 1440 → колонка 203px).
   Брейкпоинты как у Framer: desktop ≥1200, tablet 810–1199, phone ≤809.
   ========================================================================== */

:root {
  --black: #000;
  --white: #fff;
  --off: #fafafa;
  --gray: #91908e;
  --muted: #686963;
  --g59: #595959;
  --g87: #878787;
  --line: #b0b0b0;
  --light: #eeedec;
  --pad: 36px;
  --gap: 30px;
  --ease: cubic-bezier(.44, 0, .56, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -.05em;
  color: var(--black);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; letter-spacing: inherit; color: inherit; }
strong { font-weight: 700; }
hr { border: 0; margin: 0; }
::selection { background: #000; color: #fff; }

/* --- сетка / обёртки ---------------------------------------------------- */
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.g6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gap); }
.c1 { grid-column: 1 / 3; }
.c2 { grid-column: 3 / 5; }
.c3 { grid-column: 5 / 7; }

/* --- типографика --------------------------------------------------------- */
.t-12 { font-size: 12px; line-height: 1.4; letter-spacing: -.04em; }
.t-14 { font-size: 14.08px; line-height: 1.4; letter-spacing: -.05em; }
.t-16 { font-size: 16px; line-height: 1.4; letter-spacing: -.05em; }
.t-18 { font-size: 18.08px; line-height: 1.4; letter-spacing: -.05em; }
.t-20 { font-size: 20px; line-height: 1.4; letter-spacing: -.04em; }
.t-22 { font-size: 22.08px; line-height: 1.4; letter-spacing: -.04em; }
.t-24 { font-size: 24px; line-height: 1.38; letter-spacing: -.06em; }
.h6 { font-size: 22.08px; line-height: 1.15; font-weight: 600; letter-spacing: -.04em; }
.h5 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.h4 { font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.h3 { font-size: 72px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.h2 { font-size: 128px; line-height: .9; font-weight: 600; letter-spacing: -.04em; }
.num-84 { font-size: 84px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.num-78 { font-size: 78px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.num-40 { font-size: 40.8px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.num-37 { font-size: 36.96px; line-height: 1.2; font-weight: 600; letter-spacing: -.05em; }
.w600 { font-weight: 600; }
.c-gray { color: var(--gray); }
.c-muted { color: var(--muted); }
.c-g59 { color: var(--g59); }
.c-line { color: var(--line); }
.c-white { color: var(--white); }

.ico-8 { width: 8px; height: 8px; }
.ico-11 { width: 11px; height: 11px; }
.ico-15 { width: 15px; height: 15px; }
.ico-16 { width: 16px; height: 16px; }
.ico-17 { width: 17px; height: 17px; }
.ico-21 { width: 21px; height: 21px; }
.ico-24 { width: 24px; height: 24px; }

/* маленький штрих-разделитель (16×3) */
.dash { display: block; width: 16px; height: 3px; background: currentColor; }
.dash--gray { background: var(--gray); opacity: .8; }
.dash--black { background: #000; opacity: .35; width: 18px; }

/* --- секции -------------------------------------------------------------- */
.section { position: relative; padding: 160px var(--pad) 166px; }
.section--light { background: var(--white); color: var(--black); }
.section--dark { background: var(--black); color: var(--off); }
.section__title { grid-column: 3 / 7; }
.section > * { position: relative; z-index: 1; }
.section::before, .section::after { z-index: 0; }

/* «зернистая» серая секция: серый → белый на первых 900px */
.section--grain { background: linear-gradient(#ededec, #ededec) top / 100% 900px no-repeat var(--white); }
.section--grain::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 900px;
  background: url(../img/noise.png) repeat; background-size: 200px 200px; opacity: .09;
}
.section--grain::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 900px;
  background: linear-gradient(rgba(255, 255, 255, 0) 39%, #fff 92%);
}
/* тёмная секция со звёздным небом на первых 900px */
.skybg { position: absolute; left: 0; right: 0; top: 0; height: 900px; overflow: hidden; pointer-events: none; }
.section > .skybg { z-index: 0; }
.skybg::before {
  content: ""; position: absolute; inset: 0;
  background: url(../img/stars-bg.webp) center / cover no-repeat;
  transform: scale(1.4); transform-origin: center; transition: transform 2.7s var(--spring0);
}
.section--sky.sky-in .skybg::before { transform: scale(1); }
.skybg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); transition: transform 2.7s var(--spring0); }
.section--sky.sky-in .skybg video { transform: scale(1); }
.section--sky::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 900px;
  background: linear-gradient(rgba(0, 0, 0, 0) 55%, #000 100%);
}

.sparkles { display: flex; gap: 4px; color: currentColor; }
.sparkles svg { width: 17px; height: 17px; }

/* --- кнопки -------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 47px; min-width: 235px; padding: 0 17px 0 20px; border-radius: 32px;
  background: var(--black); color: var(--white);
  font-size: 14.08px; line-height: 1.4; font-weight: 500; letter-spacing: -.05em; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.btn--sm { height: 42px; min-width: 248px; font-size: 12px; letter-spacing: -.04em; }
.btn--white { background: var(--white); color: var(--black); }
.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(145, 144, 142, .45); height: 42px; min-width: 200px; font-size: 12px; letter-spacing: -.04em; padding: 0 15px 0 19px; }
.btn__label { position: relative; display: block; height: 1.4em; overflow: hidden; }
.btn__label > span { display: block; transition: transform .55s cubic-bezier(.77, 0, .18, 1); }
.btn:hover .btn__label > span { transform: translateY(-100%); }
.dots { display: inline-flex; gap: 3px; flex: none; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--white); transition: transform .45s cubic-bezier(.77, 0, .18, 1), background .3s; }
.dots i:first-child { background: var(--gray); }
.btn--white .dots i:last-child { background: var(--black); }
.btn:hover .dots i:first-child { transform: translateX(11px); }
.btn:hover .dots i:last-child { transform: translateX(-11px); }

/* --- персона (аватар + имя/роль) ---------------------------------------- */
.person { display: flex; align-items: center; gap: 17px; }
.person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.person__name { font-size: 12px; line-height: 1.4; letter-spacing: -.04em; }
.person__role { font-size: 12px; line-height: 1.4; letter-spacing: -.04em; color: var(--gray); }
.person--lg { display: block; }
.person--lg img { width: 65px; height: 65px; margin-bottom: 15px; }
.person--lg .person__name, .person--lg .person__role { font-size: 14.08px; letter-spacing: -.05em; }
.person--lg .person__name { font-weight: 600; }

/* --- «R»/«01» ------------------------------------------------------------*/
.rmark {
  display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; border-radius: 50%;
  background: var(--off); color: var(--black); font-size: 20px; font-weight: 800; letter-spacing: -.05em; line-height: 1;
}

/* ==========================================================================
   HEADER + MENU
   ========================================================================== */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 60;
  padding: 34px var(--pad); color: var(--white); mix-blend-mode: difference;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.site-header.is-hidden { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.site-header__inner { align-items: flex-start; }
.logo { grid-column: 1 / 2; display: block; width: 36px; height: 36px; margin-top: 6px; color: var(--white); }
.logo svg { width: 100%; height: 100%; }
.site-header__right { grid-column: 5 / 7; display: flex; flex-direction: column; gap: 30px; }
.site-header__contact { display: flex; align-items: center; }
.site-header .btn--sm { background: rgba(255, 255, 255, .06); }
.ava {
  display: flex; align-items: center; justify-content: center; width: 43px; height: 42px; border-radius: 32px;
  background: var(--white); box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .06); flex: none;
}
.ava img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.site-header__hint { font-size: 14.08px; line-height: 1.4; letter-spacing: -.05em; opacity: .81; max-width: 130px; }
.page-contacts .site-header__right { display: none; }
body.page-contacts { background: var(--white); }
.menu-btn { position: absolute; right: var(--pad); top: 54px; display: flex; gap: 4px; padding: 6px 0; }
.menu-btn i { width: 7px; height: 7px; border-radius: 50%; background: var(--white); transition: transform .3s; }
.menu-btn:hover i:nth-child(1) { transform: translateX(-2px); }
.menu-btn:hover i:nth-child(3) { transform: translateX(2px); }

.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; padding: 34px var(--pad);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
  overflow-y: auto;
}
@media (max-height: 700px) {
  .menu__list a { font-size: 44px; padding: 4px 0; }
  .menu__list { gap: 2px; }
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu__top { display: flex; justify-content: space-between; align-items: flex-start; }
.menu__top .logo { margin-top: 3px; }
.menu__close { position: relative; width: 23px; height: 23px; border-radius: 50%; background: var(--white); margin: 3px 0 0; }
.menu__close span, .menu__close span::before { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; background: #000; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.menu__close span::before { transform: translate(-50%, -50%) rotate(90deg); }
.menu__list { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.menu__list a {
  display: block; padding: 6px 0; font-size: 72px; line-height: 1; font-weight: 600; letter-spacing: -.05em;
  color: rgba(255, 255, 255, .78); transition: color .3s, transform .5s var(--ease-out); transform: translateY(20px); opacity: 0;
}
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .05s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .1s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .15s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .2s; }
.menu__list a:hover { color: #fff; }
.menu__list a.is-current { color: #878787; }
.menu__bottom { display: flex; justify-content: center; gap: 4px; color: #fff; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 100vh; min-height: 760px; overflow: hidden; background: var(--black); color: var(--off); }
.hero__art { position: absolute; left: 50%; top: 50%; width: 1440px; height: 900px; transform: translate(-50%, -50%) scale(var(--hero-scale, 1)); transform-origin: center; background: url(../img/stars-bg.webp) center / cover no-repeat; }
.hero__video, .hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: #000; opacity: .3; }
.hero__orbit { position: absolute; left: 457px; top: 260px; width: 80px; height: 80px; }
.hero__planet { width: 80px; height: 80px; border-radius: 50%; }
.hero__sat { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; animation: hero-orbit 26s linear infinite; }
.hero__sat img { position: absolute; left: -2px; top: 62px; width: 21px; height: 21px; border-radius: 50%; }
.hero__zoom { position: absolute; inset: 0; }
.hero__line { position: absolute; color: #111; }
.hero__line svg { width: 100%; height: 100%; }
.hero__line--1 { left: -3px; top: 367px; width: 107px; height: 22px; }
.hero__line--2 { left: -14px; top: 413px; width: 49px; height: 9px; }
.hero__line--3 { left: 10px; top: 359px; width: 377px; height: 48px; }
.hero__line--4 { left: -28px; top: 381px; width: 406px; height: 51px; }
.hero__asteroids { position: absolute; left: 535px; top: 530px; width: 83px; height: 19px; }
.hero__asteroids svg { width: 100%; height: 100%; }
@keyframes hero-orbit { to { transform: rotate(360deg); } }
@keyframes hero-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -10px); } }

.hero__content {
  position: absolute; inset: 0; z-index: 3; mix-blend-mode: difference; color: var(--off);
  display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 178px;
}
.hero__slogan { margin-bottom: 4px; overflow: hidden; }
.hero__tag { grid-column: 5 / 7; font-size: 24px; line-height: 1.38; letter-spacing: -.06em; }
.hero__main { align-items: flex-start; }
.hero__services { grid-column: 1 / 3; padding-top: 52px; display: flex; flex-direction: column; gap: 8px; }
.hero__services li { display: flex; align-items: center; gap: 30px; font-size: 14.08px; line-height: 1.4; font-weight: 600; letter-spacing: -.05em; overflow: hidden; }
.hero__services li span { width: 210px; }
.hero__services li i { display: block; width: 16px; height: 3px; background: rgba(255, 255, 255, .25); opacity: .7; transition: background .4s, opacity .4s; }
.hero__services li.is-active i { background: #fff; opacity: 1; }
.hero__logo { grid-column: 3 / 7; display: flex; align-items: flex-start; gap: 2px; position: relative; height: 186px; overflow: hidden; }
.hero__logo h1 { font-size: min(216px, 15.5vw); line-height: 1.1; font-weight: 600; letter-spacing: -.04em; margin-top: -26px; margin-left: -6px; }
.hero__logo .rmark { margin-top: 24px; }
.hero__star { position: absolute; right: 0; top: 56px; width: 15px; height: 15px; opacity: .94; }
.hero__who { margin-top: 22px; overflow: hidden; }
.hero__who p { grid-column: 4 / 7; font-size: 14.08px; line-height: 1.4; letter-spacing: -.05em; opacity: .89; }

/* ==========================================================================
   ABOUT (статистика, команда, лого-марки)
   ========================================================================== */
.about { padding: 160px var(--pad) 166px; }
.stats { row-gap: 60px; }
.stats__sparkles { grid-column: 1 / 3; grid-row: 1; }
.stats .stat { grid-row: 2; }
.stat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); align-content: start; }
.stat--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat__head { grid-column: 1 / -1; padding-bottom: 16px; border-bottom: 3px solid rgba(176, 176, 176, .8); margin-bottom: 27px; }
.stat__num { display: flex; align-items: flex-start; gap: 9px; }
.stat__num svg { margin-top: 6px; }
.stat__desc { max-width: 160px; padding-top: 6px; color: var(--muted); }
.stat--wide .stat__desc { grid-column: 1; max-width: 180px; padding-top: 6px; }
.stat--wide .stat__num { grid-column: 2 / 4; position: relative; }
.stat__faces { position: absolute; left: 5px; bottom: 5px; display: flex; gap: 3px; }
.stat__faces img { width: 20px; height: 20px; border-radius: 50%; }

.team-of { margin-top: 104px; }
.about__statement { grid-column: 1 / 4; grid-row: 2; }
.about__statement .stat__head { margin-bottom: 0; }
.about__text { grid-column: 1 / -1; padding-top: 27px; font-size: 22.08px; line-height: 1.45; letter-spacing: -.03em; max-width: 600px; }
.about__text .c-muted { color: var(--muted); }
.team-of__left { grid-column: 1 / 3; }
.team-of__left .dash { margin-top: 20px; opacity: 0; }
.pilots { display: grid; grid-template-columns: repeat(3, 42px); gap: 8px; margin-top: 40px; }
.pilots > * { width: 42px; height: 42px; border-radius: 50%; }
.pilots img { object-fit: cover; }
.pilots__count { position: relative; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--light); color: #000; font-size: 20px; font-weight: 600; letter-spacing: -.05em; }
.pilots__count svg { position: absolute; right: 1px; top: 7px; width: 8px; height: 8px; }
.team-of__mid { grid-column: 3 / 4; padding-left: 10px; }
.team-of__mid .h6 + .h6 { color: var(--muted); }
.team-of__mid .person--lg { margin-top: 57px; }
.team-of__text { grid-column: 4 / 7; grid-row: 1; font-size: 24px; line-height: 1.38; letter-spacing: -.06em; margin-top: 80px; }
.team-of__text .c-muted { color: var(--muted); }

.logos { grid-column: 4 / 7; grid-row: 2; margin-top: 80px; overflow: hidden; color: var(--gray); opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 28s linear infinite; }
.logos__track svg { flex: none; height: auto; }
.logos:hover .logos__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { padding-bottom: 166px; }
.services .section__title { margin-bottom: 100px; }
.svc-list { border-top: 3px solid rgba(176, 176, 176, .64); }
.svc { position: relative; padding: 26px 0 34px; }
.svc + .svc { border-top: 1px solid rgba(176, 176, 176, .5); }
.svc__num { grid-column: 1 / 2; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.05em; padding-top: 2px; }
.svc__title { grid-column: 2 / 4; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; padding-right: 20px; }
.svc__desc { grid-column: 4 / 6; color: var(--g59); font-size: 16px; line-height: 1.4; letter-spacing: -.05em; max-width: 340px; padding-top: 4px; }
.svc__toggle {
  position: absolute; right: 0; top: 22px; width: 36px; height: 37px; border-radius: 50%;
  background: var(--white); color: var(--black); display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0, 0, 0, .14);
}
.svc__toggle svg { width: 16px; height: 16px; }
.svc__toggle .ico-minus { display: none; }
.svc--open .svc__toggle .ico-plus { display: none; }
.svc--open .svc__toggle .ico-minus { display: block; }
.svc__body { grid-column: 2 / 6; display: none; margin-top: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.svc--open .svc__body { display: grid; }
.svc--open .svc__body > * { animation: ap-y41 .6s var(--spring) .05s backwards; }
.svc__inc { display: flex; flex-direction: column; gap: 9px; }
.svc__inc li { display: flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: -.05em; }
.svc__inc li svg { width: 11px; height: 11px; color: var(--gray); flex: none; }
.svc__term { border-top: 1px solid rgba(176, 176, 176, .5); padding-top: 10px; align-self: start; }
.svc__term p { font-size: 14.08px; letter-spacing: -.05em; color: var(--gray); }
.svc__term b { display: block; font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -.04em; }
.services__cta { margin-top: 70px; display: flex; justify-content: center; }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.projects { padding-top: 580px; padding-bottom: 220px; }
.projects__head { align-items: flex-start; }
.projects__count { grid-column: 3 / 4; display: flex; gap: 6px; align-items: flex-start; margin-top: 15px; }
.projects__count svg { margin-top: 4px; }
.projects__cats { grid-column: 4 / 6; margin-top: 64px; display: flex; flex-direction: column; gap: 8px; color: var(--gray); }
.projects__cats li { display: flex; align-items: center; gap: 10px; font-size: 14.08px; letter-spacing: -.05em; }
.projects__cats li span { width: 220px; }
.projects__cats li i { width: 16px; height: 3px; background: var(--gray); opacity: .5; }
.projects__cats li.is-active i { background: #fff; opacity: .9; }
.plist { margin-top: 118px; display: flex; flex-direction: column; gap: 30px; }
.plist--stack .pcard { position: sticky; top: 70px; will-change: transform; transform-origin: 50% 45%; transition: none; }
@media (min-width: 1024px) {
  .plist--stack .pcard { width: min(100%, calc((100vh - 100px) * 16 / 9), 1760px); margin-inline: auto; }
}
.plist--stack .pcard__media::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; transition: opacity .15s linear; border-radius: inherit; }
.pcard { display: grid; grid-template-columns: minmax(0, 1fr); color: var(--white); }
.pcard__date { font-size: 24px; line-height: 1.38; letter-spacing: -.06em; padding-bottom: 12px; border-bottom: 3px solid var(--gray); }
.pcard__year { padding-top: 10px; color: var(--gray); font-size: 14.08px; letter-spacing: -.05em; }
.pcard__media { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.pcard__media video, .pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pcard:hover .pcard__media video, .pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__media::before { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); z-index: 1; pointer-events: none; border-radius: inherit; }
.pcard__title { position: absolute; z-index: 2; left: 52.2%; bottom: 80px; font-size: 36.96px; line-height: 1.2; font-weight: 600; letter-spacing: -.05em; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.pcard__team { display: grid; grid-template-columns: repeat(2, 40px); gap: 6px; align-content: start; }
.pcard__team img { width: 40px; height: 40px; border-radius: 50%; }
.pcard__team img:nth-child(odd):last-child { grid-column: 2; }
.projects__more { margin-top: 86px; align-items: center; }
.projects__more .sparkles { grid-column: 3 / 4; padding-left: 10px; }
.projects__more .btn { grid-column: 4 / 6; justify-self: start; min-width: 247px; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { padding-top: 141px; padding-bottom: 200px; }
.pricing::before, .pricing::after { top: 0; }
.pricing__rule { position: absolute; left: var(--pad); right: var(--pad); top: 0; height: 1px; background: var(--gray); opacity: .4; z-index: 1; }
.pricing__sparkles { grid-column: 1 / 3; margin-top: 23px; }
.plan { position: relative; margin-top: 60px; }
.plan--first { margin-top: 0; }
.plan__head { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; color: var(--gray); padding-bottom: 19px; border-bottom: 3px solid rgba(145, 144, 142, .5); }
.plan--right .plan__head { grid-column: 3 / 7; padding-left: 10px; }
.plan--left .plan__head { grid-column: 1 / 5; }
.plan__body { margin-top: 33px; align-items: start; }
.plan__moon { grid-column: 3 / 5; display: flex; align-items: center; gap: 22px; }
.moon { position: relative; width: 185px; height: 185px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 40px rgba(255, 255, 255, .12); }
.moon img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: url(../img/noise.png); opacity: .05; }
.plan__price { display: flex; align-items: flex-start; gap: 7px; color: var(--off); }
.plan__price small { font-size: 22.08px; line-height: 1.4; letter-spacing: -.04em; margin-top: -7px; }
.plan__price b { font-size: 40.8px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.plan__feat { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-top: 4px; }
.plan--right .plan__feat { grid-column: 5 / 7; padding-left: 5px; }
.plan--left .plan__feat { grid-column: 1 / 3; padding-right: 20px; }
.plan__feat ul { display: flex; flex-direction: column; gap: 8px; }
.plan__feat li { display: flex; align-items: center; gap: 10px; color: var(--white); }
.plan__feat li svg { width: 11px; height: 11px; color: var(--gray); flex: none; }
.plan__feat > span { color: var(--gray); }
.plan__delivery { grid-column: 1 / -1; margin-top: 44px; padding-top: 10px; border-top: 1px solid rgba(145, 144, 142, .4); display: flex; justify-content: space-between; align-items: center; }
.plan__delivery p { font-size: 14.08px; letter-spacing: -.05em; color: var(--gray); }
.plan__delivery b { display: block; font-size: 20px; line-height: 1.4; letter-spacing: -.04em; font-weight: 500; color: var(--white); }
.pricing__note { margin-top: 105px; align-items: start; }
.pricing__note .sparkles { grid-column: 3 / 4; padding-left: 10px; margin-bottom: 16px; }
.pricing__note p.t-22 { grid-column: 3 / 5; padding-left: 10px; max-width: 381px; color: var(--gray); }
.pricing__note .person { grid-column: 5 / 7; padding-left: 5px; margin-top: 13px; color: var(--white); }
.pricing__note .person img { width: 42px; height: 42px; }

/* ==========================================================================
   PEOPLE SAY (карусель отзывов)
   ========================================================================== */
.people { padding-bottom: 146px; overflow: hidden; }
.people__rating { grid-column: 3 / 7; padding-left: 6px; margin-top: 16px; }
.tcarousel { position: relative; height: 620px; margin-top: 66px; }
.tcard {
  position: absolute; left: 0; top: 0; width: 418px; transform-origin: 0 0;
  transform: translate(var(--x), var(--y)) scale(var(--s)); opacity: var(--o, 1);
  transition: transform 1s var(--ease), opacity .6s;
}
.tcard.no-anim { transition: none; }
.tcard__ava { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.tcard__name { margin-top: 17px; font-size: 14.08px; font-weight: 600; letter-spacing: -.05em; }
.tcard__role { font-size: 14.08px; letter-spacing: -.05em; color: var(--gray); }
.tcard hr { height: 3px; background: var(--line); opacity: .64; margin-top: 20px; }
.tcard__text { margin-top: 27px; font-size: 22.08px; line-height: 1.4; letter-spacing: -.04em; max-width: 378px; }
.tcard__text .stars { display: inline-block; width: 58px; height: 12px; margin-right: 30px; vertical-align: -1px; }
.tcard__text .stars svg { width: 100%; height: 100%; }
.people__controls { align-items: flex-start; margin-top: 0; }
.tnav { grid-column: 2 / 4; display: flex; align-items: center; gap: 52px; padding-left: 117px; padding-top: 6px; }
.tnav button { display: flex; align-items: center; gap: 16px; font-size: 14.08px; font-weight: 600; letter-spacing: -.05em; color: var(--line); transition: color .3s; }
.tnav button i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tnav button.is-on { color: var(--black); }
.tnav button:hover { color: var(--black); }
.faces { grid-column: 4 / 5; display: grid; grid-template-columns: repeat(3, 42px); gap: 8px; }
.faces > * { width: 42px; height: 42px; border-radius: 50%; }
.faces img { object-fit: cover; }
.people__controls .btn { grid-column: 5 / 7; justify-self: start; min-width: 240px; margin-left: -1px; }

/* ==========================================================================
   STATS (диаграммы) + USER CASES
   ========================================================================== */
.charts { align-items: start; }
.chart { grid-column: span 2; }
.chart .dash { margin-top: 15px; }
.chart__body { margin-top: 24px; min-height: 206px; }
.chart__note { margin-top: 25px; padding-top: 25px; border-top: 1px solid rgba(145, 144, 142, .4); color: var(--g59); font-size: 14.08px; letter-spacing: -.05em; max-width: 256px; }

.donut { display: flex; align-items: center; gap: 20px; }
.donut__svg { position: relative; width: 190px; height: 190px; flex: none; }
.donut__svg svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut__svg circle { fill: none; stroke-width: 43; transition: stroke-dasharray 1.4s var(--ease); }
.donut__total { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 700; letter-spacing: 0; color: #333; }
.legend { display: flex; flex-direction: column; gap: 9px; font-size: 14px; letter-spacing: -.04em; line-height: 1.2; }
.legend li { display: flex; align-items: center; gap: 14px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.legend span { color: var(--gray); margin-left: -6px; }

.bars { display: flex; align-items: flex-end; gap: 22px; height: 155px; padding-top: 0; }
.bar { position: relative; width: 47px; border-radius: 4px 4px 0 0; height: calc(var(--v) / 36 * 155px); transform-origin: bottom; transition: transform 1.2s var(--ease-out); }
.bar span { position: absolute; left: 8px; top: 16px; font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.bars__axis { display: flex; gap: 22px; margin-top: 16px; font-size: 14px; line-height: 1; font-weight: 600; letter-spacing: -.01em; }
.bars__axis span { width: 47px; }

.dotgrid { display: flex; align-items: center; gap: 40px; padding-top: 7px; }
.dotgrid__cells { display: grid; grid-template-columns: repeat(7, 21px); gap: 11px 10px; }
.dotgrid__cells i { width: 21px; height: 21px; border-radius: 50%; background: var(--line); }
.dotgrid__cells i.on { background: #000; }
.dotgrid .legend { font-size: 13px; }

.cases__title { grid-column: 3 / 7; margin-top: 0; }
.cases { margin-top: 58px; align-items: start; }
.case { grid-column: span 2; }
.case__logo { height: 38px; display: flex; align-items: flex-end; color: var(--gray); opacity: .7; margin-bottom: 21px; }
.case__logo svg { height: auto; }
.case__body { padding-top: 27px; border-top: 3px solid rgba(176, 176, 176, .8); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.case__num { display: flex; align-items: flex-start; gap: 12px; }
.case__num svg { margin-top: 6px; }
.case__desc { padding-top: 6px; color: var(--muted); max-width: 150px; }
.case__person { grid-column: 1 / -1; margin-top: 39px; }
.case__person .person__name { color: var(--black); }
.case__quote { grid-column: 1 / -1; margin-top: 16px; font-size: 14.08px; letter-spacing: -.05em; max-width: 256px; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team { padding-top: 900px; padding-bottom: 260px; }
.team__member { margin-top: 42px; }
.team__name { grid-column: 3 / 7; padding-left: 0; }
.team__name p:first-child { font-size: 20px; line-height: 1.4; letter-spacing: -.04em; color: var(--white); }
.team__name .dash { width: 42px; background: var(--gray); margin: 15px 0 10px; }
.team__name p:last-child { font-size: 14.08px; letter-spacing: -.05em; color: var(--gray); }
.orbit { position: relative; margin-top: 25px; height: 329px; display: flex; align-items: center; justify-content: center; }
.orbit__nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; font-size: 14.08px; letter-spacing: -.05em; color: var(--white); transition: opacity .3s; }
.orbit__nav i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.orbit__nav--prev { left: 0; }
.orbit__nav--next { right: 0; }
.orbit__nav:hover { opacity: .7; }
.orbit__row { display: flex; align-items: center; gap: 24px; }
.planet { position: relative; border-radius: 50%; overflow: hidden; flex: none; background: var(--white); transition: width .8s var(--ease), height .8s var(--ease); }
.planet img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.planet::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: url(../img/noise.png); opacity: .05; pointer-events: none; }
.planet--main { width: 329px; height: 329px; padding: 37px; background: var(--white); box-shadow: 0 0 60px rgba(255, 255, 255, .08); }
.planet--main img { border-radius: 50%; }
.planet--main .planet__moon { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 42% 45%, #fff 0, #f4f4f3 55%, #d9d8d6 100%); transition: transform 1.2s var(--ease); }
.planet--main:hover .planet__moon, .planet--main.is-open .planet__moon { transform: translateX(-104%); }
.planet--md { width: 112px; height: 112px; padding: 8px; }
.planet--sm { width: 71px; height: 71px; padding: 5px; }
.planet--xs { width: 29px; height: 29px; }
.planet--xs img { border-radius: 50%; }
.orbit__dot { width: 20px; height: 20px; border-radius: 50%; background: var(--off); flex: none; }
.orbit__dot--sm { width: 8px; height: 8px; }
.orbit__dot--gray { background: var(--gray); width: 18px; height: 18px; }
.orbit__dot--light { background: var(--light); width: 14px; height: 14px; }
.orbit__dot--xs { width: 10px; height: 10px; }
.team__quote { margin-top: 28px; align-items: start; }
.team__quote .sparkles { grid-column: 3 / 4; margin-top: 67px; }
.team__quote figure { grid-column: 4 / 6; max-width: 287px; color: var(--off); }
.team__quote figure svg { width: 40px; height: 34px; color: #5c5c59; }
.team__quote blockquote { margin: 21px 0 0; font-size: 18.08px; line-height: 1.4; letter-spacing: -.05em; }

/* ==========================================================================
   INSIGHTS
   ========================================================================== */
.insights { padding-bottom: 146px; }
.insights__intro { margin-top: 114px; align-items: start; }
.insights__intro .person { grid-column: 3 / 5; padding-left: 1px; align-items: flex-start; flex-direction: column; gap: 11px; }
.insights__intro .person img { width: 42px; height: 42px; }
.insights__intro .person__name { color: var(--black); }
.insights__intro p.t-22 { grid-column: 4 / 7; max-width: 519px; margin-top: -4px; }
.ilist { margin-top: 93px; align-items: start; }
.icard { grid-column: span 2; display: block; }
.icard__img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin-left: calc(50% + 15px); transition: transform .8s var(--ease-out); }
.icard:hover .icard__img { transform: scale(1.05); }
.icard__body { margin-top: 32px; padding-top: 27px; border-top: 3px solid rgba(176, 176, 176, .64); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.icard__date { display: flex; gap: 12px; align-items: flex-start; }
.icard__date b { font-size: 40.8px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.icard__date span { padding-top: 0; }
.icard__title { font-size: 18.08px; line-height: 1.4; letter-spacing: -.05em; max-width: 183px; }
.insights__more { margin-top: 73px; align-items: center; }
.insights__more .sparkles { grid-column: 3 / 4; padding-left: 0; }
.insights__more .btn { grid-column: 4 / 6; justify-self: start; margin-left: 2px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-bottom: 185px; }
.faq__body { margin-top: 100px; align-items: start; }
.faq__aside { grid-column: 1 / 3; padding-top: 4px; }
.faq__aside .person { flex-direction: column; align-items: flex-start; gap: 11px; }
.faq__aside .person__name { color: var(--black); }
.faq__aside p.t-16 { margin-top: 23px; max-width: 200px; }
.faq__list { grid-column: 3 / 7; padding-left: 3px; }
.faq__item { position: relative; border-top: 1px solid rgba(176, 176, 176, .6); padding: 23px 0 28px; }
.faq__item:first-child { border-top-width: 3px; border-top-color: rgba(176, 176, 176, .64); }
.faq__q { display: block; width: 100%; text-align: left; padding-right: 60px; font-size: 22.08px; line-height: 1.4; letter-spacing: -.04em; max-width: 680px; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-top: 20px; max-width: 618px; color: var(--g59); }
.faq__item.is-open .faq__a p { animation: ap-y41 .4s var(--springb) backwards; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__toggle { position: absolute; right: 0; top: 23px; width: 36px; height: 37px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0, 0, 0, .14); }
.faq__toggle svg { width: 16px; height: 16px; }
.faq__toggle .ico-minus { display: none; }
.faq__item.is-open .faq__toggle .ico-plus { display: none; }
.faq__item.is-open .faq__toggle .ico-minus { display: block; }
.faq__cta { margin-top: 62px; align-items: center; }
.faq__cta p { grid-column: 3 / 4; max-width: 168px; padding-left: 3px; }
.faq__cta .btn { grid-column: 4 / 6; justify-self: start; min-width: 242px; margin-left: -2px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: var(--black); color: var(--white); padding: 72px var(--pad) 80px; overflow: hidden; }
.footer__sky { position: absolute; left: 0; right: 0; top: 0; height: 900px; }
.footer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer__overlay { position: absolute; inset: 0; background: #000; opacity: .3; }
.footer__inner { position: relative; z-index: 1; }
.footer__top { align-items: start; }
.footer__mark { grid-column: 1 / 3; color: #fff; }
.footer__about { grid-column: 3 / 5; max-width: 386px; padding-left: 1px; }
.footer__about .person { margin-top: 28px; }
.footer__about .person__name { color: #fff; }
.footer__slogan { grid-column: 5 / 7; max-width: 200px; margin-left: -10px; margin-top: 4px; }
.footer__cols { margin-top: 141px; align-items: start; }
.footer__tg { grid-column: 5 / 7; justify-self: end; align-self: start; font-size: 14.08px; line-height: 1.4; font-weight: 500; letter-spacing: -.05em; color: var(--line); transition: color .3s; }
.footer__tg:hover { color: var(--white); opacity: 1; }
.footer__tg:hover { opacity: .6; }
.footer__col--nav { grid-column: 5 / 7; }
.footer__col--contacts { grid-column: 1 / 3; padding-top: 37px; display: flex; flex-direction: column; align-items: flex-start; }
.footer__col--contacts .dash { margin-bottom: 23px; }
.footer__col--contacts a { color: rgba(255, 255, 255, .9); }
.footer__email { display: block; margin-top: 5px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.05em; }
.footer__label { font-size: 14.08px; letter-spacing: -.05em; color: var(--line); margin-bottom: 20px; }
.footer__label { margin-bottom: 14px; }
.footer__col--nav .dash { margin-bottom: 20px; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; color: rgba(255, 255, 255, .9); transition: color .3s; }
.footer__nav a:hover { color: #fff; }
.footer__nav a.is-current { color: #878787; }
.footer__social { grid-column: 4 / 5; padding-top: 69px; padding-left: 5px; display: flex; flex-direction: column; gap: 8px; }
.footer__social a { font-size: 16px; font-weight: 400; letter-spacing: -.05em; color: rgba(255, 255, 255, .9); }
.footer__col--sub { grid-column: 5 / 7; margin-left: -10px; }
.footer__col--sub .dash { margin-bottom: 30px; }
.subscribe { display: flex; flex-direction: column; align-items: flex-start; }
.field { position: relative; display: block; width: 100%; max-width: 446px; margin-bottom: 8px; }
.field input { width: 100%; height: 56px; padding: 22px 0 0; background: transparent; border: 0; border-bottom: 1px solid rgba(176, 176, 176, .25); color: #fff; outline: 0; font-size: 16px; letter-spacing: -.05em; }
.field span { position: absolute; left: 0; top: 24px; font-size: 16px; letter-spacing: -.05em; color: rgba(255, 255, 255, .9); pointer-events: none; transition: transform .3s, font-size .3s, color .3s; }
.field input:focus + span, .field input:not(:placeholder-shown) + span { transform: translateY(-18px); font-size: 12px; color: var(--gray); }
.subscribe .btn { margin-top: 22px; min-width: 221px; }
.footer__logo { position: relative; display: flex; align-items: flex-start; margin: 130px 0 0 calc(33.333% + 7px); line-height: 1; }
.footer__wordmark { font-size: min(180px, 13vw); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--off); margin-left: -8px; }
.rmark--lg { opacity: .76; margin: 4px 0 0 4px; font-size: 21px; }
.rmark--01 { font-size: 12px; font-weight: 800; letter-spacing: -.02em; }
.rmark--lg.rmark--01 { font-size: 13px; }
.footer__bottom { margin-top: 20px; align-items: start; }
.footer__copy { grid-column: 1 / 4; color: var(--line); font-size: 14.08px; letter-spacing: -.05em; }
.footer__legal { grid-column: 3 / 5; display: flex; flex-direction: column; gap: 4px; padding-left: 1px; }
.footer__legal a, .footer__meta a { color: rgba(255, 255, 255, .9); }
.footer__meta { display: flex; flex-direction: column; gap: 4px; }
.footer__meta:nth-child(3) { grid-column: 4 / 5; padding-left: 5px; }
.footer__meta:nth-child(4) { grid-column: 5 / 7; margin-left: -10px; }



/* ==========================================================================
   ПИН-СЦЕНЫ: секция «прилипает» и анимируется, пока страница скроллится
   ========================================================================== */
.pinwrap { position: relative; }
.pinscreen { position: relative; }
.pin-on.pinwrap--pricing { height: calc(100vh + 1400px); }
.pin-on.pinwrap--team { height: calc(100vh + 1100px); }
.pin-on .pinscreen { position: sticky; top: 0; height: 100vh; min-height: 740px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.pin-on .plan { margin-top: 44px; }
.pin-on .plan--first { margin-top: 0; }
.pin-on .plan__body { margin-top: 24px; }
.moon, .plan__price, .plan__head, .plan__feat { will-change: transform, opacity; }
.pinwrap--team .pinscreen { justify-content: flex-start; padding-top: 4vh; }
.pin-on .team__member { margin-top: 0; }
.pin-on .team__quote { margin-top: 20px; }

/* ==========================================================================
   ПОЯВЛЕНИЕ ПРИ ЗАГРУЗКЕ — точные параметры из Framer (framer/appear JSON).
   Пружина duration+bounce переведена в linear(): --spring (bounce .1),
   --spring0 (bounce 0), --springb (bounce .2, лёгкий перелёт).
   ========================================================================== */
:root {
  --spring: linear(0, 0.0409 5%, 0.1358 10%, 0.2543 15%, 0.3773 20%, 0.4938 25%, 0.5977 30%, 0.6868 35%, 0.7608 40%, 0.8207 45%, 0.8681 50%, 0.9049 55%, 0.9329 60%, 0.9537 65%, 0.969 70%, 0.98 75%, 0.9877 80%, 0.993 85%, 0.9965 90%, 0.9987 95%, 1);
  --spring0: linear(0, 0.0407 5%, 0.1331 10%, 0.2464 15%, 0.3627 20%, 0.472 25%, 0.5697 30%, 0.6541 35%, 0.7253 40%, 0.7842 45%, 0.8323 50%, 0.8712 55%, 0.9023 60%, 0.927 65%, 0.9465 70%, 0.9618 75%, 0.9737 80%, 0.983 85%, 0.9902 90%, 0.9957 95%, 1);
  --springb: linear(0, 0.0413 5%, 0.1392 10%, 0.2639 15%, 0.3951 20%, 0.5203 25%, 0.6321 30%, 0.7272 35%, 0.805 40%, 0.8662 45%, 0.9128 50%, 0.9468 55%, 0.9707 60%, 0.9867 65%, 0.9965 70%, 1.002 75%, 1.0043 80%, 1.0046 85%, 1.0036 90%, 1.002 95%, 1);
}
@keyframes ap-y45 { from { opacity: .001; transform: translateY(-45px); } }
@keyframes ap-y41 { from { opacity: .001; transform: translateY(-41px); } }
@keyframes ap-y41h { from { opacity: .5; transform: translateY(-41px); } }
@keyframes ap-y62 { from { opacity: .001; transform: translateY(-62px); } }
@keyframes ap-y126 { from { transform: translateY(-126px); } }
@keyframes ap-y176 { from { opacity: .5; transform: translateY(-176px); } }
@keyframes ap-y32 { from { opacity: .001; transform: translateY(-32px); } }
@keyframes ap-pop { from { transform: scale(.01); } }
@keyframes ap-zoom { from { transform: scale(1.4); } }
@keyframes ap-x270 { from { transform: translateX(-270px); } }

/* шапка: Contact-блок и точки меню съезжают сверху (d1.6 delay .1) */
.page-home .site-header__right { animation: ap-y45 1.6s var(--spring) .1s backwards; }
.page-home .menu-btn { animation: ap-y41 1.6s var(--spring) .1s backwards; }
.page-home .site-header__hint { animation: ap-y41h 1.6s var(--spring) .1s backwards; }
/* hero: слоган (delay .8), услуги (d2.1 delay .6), заголовок (d2.2 delay .3) */
.hero__tag { animation: ap-y62 1.6s var(--spring) .8s backwards; }
.hero__services li > * { animation: ap-y41 2.1s var(--spring) .6s backwards; }
.hero__logo h1 { animation: ap-y126 2.2s var(--spring) .3s backwards; }
.hero__logo .rmark { animation: ap-y176 2s var(--spring) .3s backwards; }
.hero__star { animation: ap-pop 1.6s var(--spring) .3s backwards; }
.hero__who p { animation: ap-y32 1.6s var(--spring) .9s backwards; opacity: .89; }
/* фон: наезд камеры (scale 1.4→1, d2.7 bounce 0), планета подъезжает слева 9.1s */
.hero__photo, .hero__zoom { animation: ap-zoom 2.7s var(--spring0) backwards; }
.hero__orbit { animation: ap-x270 9.1s var(--spring0) backwards, hero-float 9s ease-in-out 9.1s infinite; }
.hero__asteroids { animation: ap-y176 2.2s var(--spring) .3s backwards; }
@media (prefers-reduced-motion: reduce) {
  .page-home .site-header__right, .page-home .menu-btn, .page-home .site-header__hint,
  .hero__tag, .hero__services li, .hero__logo h1, .hero__logo .rmark, .hero__star,
  .hero__who p, .hero__photo, .hero__zoom, .hero__orbit, .hero__asteroids, .hero__services li > * { animation: none; }
}

/* ==========================================================================
   Появление при скролле
   ========================================================================== */
[data-reveal] { opacity: .001; transform: translateY(-44px); transition: opacity 1.6s var(--spring), transform 1.6s var(--spring); }
[data-reveal].is-in { opacity: 1; transform: none; }
h2[data-reveal], .section__title[data-reveal], .cases__title[data-reveal] { transform: translateY(-90px); transition-duration: 2.2s; }
[data-reveal="fade"] { transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .logos__track, .hero__sat, .hero__orbit { animation: none; }
}


/* ---- ступенчатые появления и маски-выкаты (по референсу) ---------------- */
.team-of__left .pilots > * { opacity: 0.001; transform: translateY(-16px); transition: opacity 1.2s var(--spring), transform 1.2s var(--spring); }
.team-of__left.is-in .pilots > * { opacity: 1; transform: none; }
.team-of__left.is-in .pilots > *:nth-child(2) { transition-delay: .06s; }
.team-of__left.is-in .pilots > *:nth-child(3) { transition-delay: .12s; }
.team-of__left.is-in .pilots > *:nth-child(4) { transition-delay: .18s; }
.team-of__left.is-in .pilots > *:nth-child(5) { transition-delay: .24s; }
.team-of__left.is-in .pilots > *:nth-child(6) { transition-delay: .3s; }
.team-of__left.is-in .pilots > *:nth-child(7) { transition-delay: .36s; }
.team-of__left.is-in .pilots > *:nth-child(8) { transition-delay: .42s; }
.team-of__left.is-in .pilots > *:nth-child(9) { transition-delay: .48s; }
.ilist .icard:nth-child(2) { transition-delay: .09s; }
.ilist .icard:nth-child(3) { transition-delay: .18s; }
.charts .chart:nth-child(2) { transition-delay: .09s; }
.charts .chart:nth-child(3) { transition-delay: .18s; }
.cases .case:nth-child(2) { transition-delay: .09s; }
.cases .case:nth-child(3) { transition-delay: .18s; }

/* отзывы: карточки разлетаются по местам из-за правого края */
.tcarousel .tcard { opacity: 0.001; }
.tcarousel.is-in .tcard { opacity: var(--o, 1); }
.tcarousel:not(.is-in) .tcard { transform: translate(calc(var(--x) + 70vw), calc(var(--y) + 40px)) scale(var(--s)); }
.tcarousel.is-in .tcard:nth-child(1) { transition-delay: 0s; }
.tcarousel.is-in .tcard:nth-child(2) { transition-delay: .07s; }
.tcarousel.is-in .tcard:nth-child(3) { transition-delay: .14s; }
.tcarousel.is-in .tcard:nth-child(4) { transition-delay: .21s; }
.tcarousel.is-in .tcard:nth-child(n+5) { transition-delay: .28s; }

/* футер: словомарка выкатывается снизу из-под маски */
.footer__logo { overflow: hidden; }
.footer__wordmark, .footer__logo .rmark { transform: translateY(112%); transition: transform 1.8s var(--spring); }
.footer__logo.is-in .footer__wordmark, .footer__logo.is-in .rmark { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .team-of__left .pilots > *, .tcarousel .tcard, .footer__wordmark, .footer__logo .rmark { opacity: 1; transform: none; transition: none; }
}


/* планшет и уже: отзывы статичной сеткой, карусель не нужна */
@media (max-width: 1199px) {
  .tnav { display: none; }
  .tcarousel { position: static; height: auto; margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px 30px; }
  .tcarousel .tcard { position: static; width: auto; --x: 0px; --y: 0px; --s: 1; }
  .tcarousel .tcard:nth-child(n+5) { display: none; }
  .people__controls { margin-top: 56px; }
}
/* низкие экраны: компактные пин-сцены, чтобы всё помещалось в вьюпорт */
@media (min-width: 1024px) and (max-height: 859px) {
  .pin-on .pinscreen { min-height: 0; }
  .pin-on .plan { margin-top: 22px; }
  .pin-on .plan__body { margin-top: 10px; }
  .pin-on .moon { width: 128px; height: 128px; }
  .pin-on .plan__price b { font-size: 32px; }
  .pin-on .plan__feat li { font-size: 14px; }
  .pin-on .plan__feat ul { gap: 5px; }
  .pin-on .plan__delivery { margin-top: 18px; padding-top: 6px; }
  .pin-on .plan__head { padding-bottom: 10px; }
  .pinwrap--team .pinscreen { padding-top: 1vh; }
  .pin-on .planet--main { width: 240px; height: 240px; padding: 26px; }
  .pin-on .orbit { height: 240px; margin-top: 10px; }
  .pin-on .team__quote figure svg { width: 28px; height: 24px; }
}

/* ==========================================================================
   TABLET ≤ 1199
   ========================================================================== */
@media (max-width: 1199px) {
  .h2 { font-size: 96px; }
  .h3 { font-size: 56px; }
  .section { padding: 120px var(--pad) 120px; }
  .section__title { grid-column: 2 / 7; }
  .hero__logo h1 { font-size: min(168px, 15.5vw); margin-top: -14px; }
  .hero__tag { grid-column: 4 / 7; }
  .hero__logo { height: 150px; }
  .hero__content { padding-bottom: 120px; }
  .hero__services li span { width: 170px; }
  .stat__desc { max-width: none; }
  .team-of__text { grid-column: 3 / 7; }
  .logos { grid-column: 3 / 7; }
  .projects { padding-top: 420px; padding-bottom: 200px; }
  .pcard__title { font-size: 30px; bottom: 48px; }
  .plan__moon { grid-column: 1 / 3; }
  .plan--right .plan__feat { grid-column: 3 / 7; }
  .plan--left .plan__feat { grid-column: 3 / 7; padding-right: 0; }
  .plan--left .plan__head { grid-column: 1 / 7; }
  .plan--right .plan__head { grid-column: 1 / 7; padding-left: 0; }
  .tcarousel { height: 640px; }
  .tnav { grid-column: 1 / 3; padding-left: 0; }
  .chart { grid-column: span 3; }
  .chart:last-child { grid-column: 1 / 4; }
  .cases__title { grid-column: 1 / 7; }
  .case { grid-column: span 3; }
  .case:last-child { grid-column: 1 / 4; }
  .team { padding-top: 700px; }
  .planet--main { width: 260px; height: 260px; padding: 28px; }
  .orbit { height: 260px; }
  .icard__img { margin-left: 0; }
  .faq__aside { grid-column: 1 / 7; margin-bottom: 40px; }
  .faq__list { grid-column: 1 / 7; }
  .faq__cta p { grid-column: 1 / 3; }
  .faq__cta .btn { grid-column: 3 / 6; }
  .footer__logo { margin-left: 0; }
  .footer__wordmark { font-size: 140px; }
  .hero__line { display: none; }
  .stat { grid-template-columns: 1fr; }
  .stat__desc, .stat--wide .stat__desc { max-width: 220px; }
  .cform__form { grid-column: 2 / 6; }
  .cform__foot { grid-template-columns: minmax(0, 1fr); }
  .cform__foot .btn { margin-top: 24px; }
}

/* ==========================================================================
   PHONE ≤ 809
   ========================================================================== */
@media (max-width: 1023px) {
  :root { --pad: 20px; --gap: 16px; }
  body { font-size: 16px; }
  .g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g6 > * { grid-column: 1 / -1 !important; }
  .h2 { font-size: 64px; line-height: .95; }
  .h3 { font-size: 44px; }
  .h4 { font-size: 26px; }
  .num-84 { font-size: 64px; }
  .num-78 { font-size: 60px; }
  .t-24, .team-of__text { font-size: 20px; letter-spacing: -.04em; }
  .section { padding: 100px var(--pad) 100px; }
  .section__title { grid-column: 1 / -1; margin-bottom: 0; }
  .btn { min-width: 0; width: 100%; }
  .btn--sm { width: auto; }

  /* header */
  .site-header { padding: 20px var(--pad); }
  .site-header__right { display: none; }
  .logo { grid-column: 1 / 2; }
  .menu-btn { top: 34px; right: var(--pad); }
  .menu__list a { font-size: 44px; }

  /* hero */
  .hero { min-height: 640px; height: 100svh; }
  .hero__art { width: 1440px; height: 900px; }
  .hero__line { display: block; }
  .hero__asteroids { display: none; }
  .hero__art { margin-left: 120px; }
  .hero__content { padding-bottom: max(24px, calc(56svh - 350px)); }
  .hero__tag { font-size: 17px; }
  .hero__who { display: none; }
  .hero__main { display: flex; flex-direction: column; }
  .hero__services { order: 2; padding-top: 12px; gap: 1px; }
  .hero__services li { gap: 8px; font-size: 12px; line-height: 1.55; }
  .hero__services li i { width: 13px; height: 2px; order: -1; }
  .hero__services li span { width: auto; }
  .hero__logo { grid-column: 1 / -1; height: auto; align-items: flex-start; }
  .hero__logo h1 { font-size: min(96px, 22.5vw); line-height: 1; margin: 0 0 0 -4px; }
  .hero__logo .rmark { width: 20px; height: 20px; font-size: 12px; margin-top: 8px; }
  .rmark--01, .rmark--lg.rmark--01 { font-size: 9px; }
  .hero__star { display: none; }
  .hero__who { margin-top: 12px; }
  .hero__slogan { margin-bottom: 20px; }

  /* about */
  .stats { row-gap: 48px; }
  .stats__sparkles { display: none; }
  .stat, .stat--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat--wide .stat__num { grid-column: 1; }
  .stat--wide .stat__desc { grid-column: 2; }
  .stat__desc, .stat--wide .stat__desc { max-width: none; }
  .team-of { margin-top: 90px; row-gap: 48px; }
  .stats .stat { grid-row: auto; }
  .about__text { font-size: 20px; max-width: none; }
  .team-of__mid { padding-left: 0; }
  .team-of__text, .logos { margin-top: 0; }
  .logos { opacity: .7; }

  /* services */
  .services .section__title { margin-bottom: 48px; }
  .svc { padding: 22px 0 26px; }
  .svc__num { display: none; }
  .svc__title { grid-column: 1 / -1; padding-right: 56px; }
  .svc__desc { grid-column: 1 / -1; max-width: none; padding-top: 12px; }
  .svc__toggle { top: 16px; }
  .svc__body { grid-column: 1 / -1; grid-template-columns: 1fr; row-gap: 22px; margin-top: 22px; }
  .services__cta { margin-top: 60px; }
  .services__cta .btn { width: auto; min-width: 260px; }

  /* projects */
  .projects { padding-top: 220px; padding-bottom: 100px; }
  .projects__count { margin-top: 10px; }
  .projects__cats { margin-top: 40px; }
  .projects__cats li i { display: none; }
  .plist { margin-top: 64px; gap: 24px; }
  .pcard { display: flex; flex-direction: column; }
  .pcard__meta { order: 2; }
  .pcard__media { aspect-ratio: 16 / 9; border-radius: 12px; }
  .pcard__title { left: 24px; bottom: 44px; font-size: 26px; }
  .pcard__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; align-items: end; }
  .pcard__date { border: 0; padding: 0; }
  .pcard__year { padding: 0 0 10px; border-bottom: 2px solid var(--gray); }
  .pcard__team { display: none; }
  .projects__more { margin-top: 56px; }
  .projects__more .sparkles { display: none; }

  /* pricing */
  .pricing { padding-top: 100px; padding-bottom: 120px; }
  .pricing__sparkles { display: none; }
  .plan { margin-top: 90px; }
  .plan--first { margin-top: 0; }
  .plan--right .plan__head, .plan--left .plan__head { grid-column: 1 / -1; padding-left: 0; }
  .plan__body { row-gap: 36px; }
  .plan__moon { grid-column: 1 / -1; order: -1; }
  .moon { width: 140px; height: 140px; }
  .plan--right .plan__feat, .plan--left .plan__feat { grid-column: 1 / -1; padding: 0; }
  .plan__delivery { flex-direction: column; align-items: stretch; gap: 20px; }
  .plan__delivery .btn { min-width: 0; width: 100%; }
  .pricing__note { margin-top: 80px; row-gap: 20px; }
  .pricing__note .sparkles, .pricing__note p.t-22 { padding-left: 0; }
  .pricing__note .person { padding-left: 0; margin-top: 20px; }

  /* people */
  .people__rating { padding-left: 0; }
  .tcarousel { height: auto; margin-top: 60px; display: flex; flex-direction: column; gap: 56px; }
  .tcard { position: static; width: auto; }
  .tcard:nth-child(n+5) { display: none; }
  .tcard__ava { width: 56px; height: 56px; }
  .tcard__text { font-size: 20px; }
  .people__controls { margin-top: 48px; row-gap: 36px; }
  .tnav { padding: 0; }
  .people__controls .btn { margin-left: 0; }

  /* charts */
  .charts { row-gap: 56px; }
  .chart:last-child { grid-column: 1 / -1; }
  .cases__title { margin-top: 90px; }
  .cases { margin-top: 40px; row-gap: 56px; }
  .case:last-child { grid-column: 1 / -1; }

  /* team */
  .team { padding-top: 240px; padding-bottom: 100px; }
  .team__member { margin-top: 60px; }
  .team__name { padding-left: 0; }
  .orbit { height: 200px; margin-top: 40px; }
  .orbit__row { gap: 14px; }
  .orbit__row .planet--sm, .orbit__row .planet--xs, .orbit__dot--xs, .orbit__dot--sm, .orbit__dot--light { display: none; }
  .planet--md { width: 64px; height: 64px; padding: 5px; }
  .planet--main { width: 180px; height: 180px; padding: 18px; }
  .team__quote { row-gap: 20px; }
  .team__quote .sparkles { display: none; }
  .team__quote figure { max-width: none; }

  /* insights */
  .insights__intro { margin-top: 60px; row-gap: 32px; }
  .insights__intro p.t-22 { margin: 0; max-width: none; }
  .ilist { margin-top: 56px; row-gap: 48px; }
  .icard__img { margin-left: 0; width: 110px; height: 110px; }
  .icard__title { max-width: none; }
  .insights__more { margin-top: 56px; }
  .insights__more .sparkles { display: none; }
  .insights__more .btn { margin-left: 0; }

  /* faq */
  .faq__body { margin-top: 60px; }
  .faq__aside { margin-bottom: 40px; }
  .faq__aside p.t-16 { max-width: none; }
  .faq__list { padding-left: 0; }
  .faq__q { font-size: 20px; padding-right: 56px; }
  .faq__cta { margin-top: 60px; row-gap: 24px; }
  .faq__cta p { max-width: none; padding-left: 0; }
  .faq__cta .btn { margin-left: 0; }

  /* footer */
  .footer { padding: 60px var(--pad) 60px; }
  .footer__top { row-gap: 32px; }
  .footer__about { max-width: none; }
  .footer__slogan { margin: 0; }
  .footer__cols { margin-top: 90px; row-gap: 48px; }
  .footer__col--contacts { padding-top: 0; }
  .footer__social { padding: 0; }
  .footer__col--sub { margin-left: 0; }
  .subscribe .btn { min-width: 0; width: 100%; }
  .footer__logo { margin: 100px 0 0; }
  .footer__wordmark { font-size: min(88px, 21vw); margin-left: -4px; }
  .rmark--lg { width: 20px; height: 20px; font-size: 12px; }
  .footer__bottom { margin-top: 48px; row-gap: 24px; }
  .footer__meta:nth-child(3), .footer__meta:nth-child(4) { grid-column: 1 / -1; padding: 0; margin: 0; }
}

/* ==========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ========================================================================== */
/* --- hero внутренних страниц --- */
.phero { position: relative; height: 800px; background: #000 url(../img/stars-bg.webp) center / cover no-repeat; color: var(--off); overflow: hidden; }
.phero--fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.phero__inner { position: relative; height: 100%; padding: 120px var(--pad) 0; }
.phero__person { display: flex; align-items: flex-end; gap: 22px; }
.phero__person img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; background: var(--gray); flex: none; }
.phero__person p { font-size: 12px; line-height: 1.4; letter-spacing: -.04em; color: #fff; }
.phero__person p + p { color: var(--gray); }
.phero__text { margin-top: 39px; max-width: 370px; font-size: 18.08px; line-height: 1.4; letter-spacing: -.05em; color: #fff; }
.phero__mid, .phero__title, .phero__sub { position: absolute; left: var(--pad); right: var(--pad); }
.phero__mid { top: 441px; align-items: flex-start; }
.phero__label { grid-column: 3 / 5; display: flex; align-items: flex-start; gap: 6px; margin-top: 16px; padding-left: 5px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.05em; color: #fff; }
.phero__label svg { width: 10px; height: 10px; margin-top: 0; color: #fff; }
.phero__trust { grid-column: 5 / 7; display: flex; align-items: center; gap: 8px; }
.phero__trust img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.phero__trust .pilots__count { width: 42px; height: 42px; }
.phero__trust p { margin-left: 16px; font-size: 14.08px; line-height: 1.4; letter-spacing: -.05em; color: #fff; }
.phero__title { top: 497px; }
.phero__title h2 { grid-column: 3 / 7; color: var(--off); }
.phero__sub { top: 661px; }
.phero__sub p { grid-column: 4 / 7; font-size: 14.08px; line-height: 1.4; letter-spacing: -.05em; color: #fff; }
.phero--simple .phero__mid { top: 521px; }
.phero--simple .phero__trust, .phero--simple .phero__sub { display: none; }
.phero--simple .phero__title { top: 561px; }
.page-404 .phero__title h2, .page-legal .phero__title h2 { grid-column: 3 / 7; }

/* тёмная полоса под шапкой (детальные страницы) */
.strip { height: 188px; background: #000 url(../img/stars-bg.webp) center top / cover no-repeat; }

/* --- общий контент --- */
.pcontent { position: relative; background: #fff; color: #000; padding: 160px var(--pad) 150px; }
.pcontent > * { position: relative; z-index: 1; }
.pcontent .sparkles { grid-column: 1 / 3; }

/* --- AGENCY --- */
.agency__intro { align-items: start; }
.agency__intro p.t-22 { grid-column: 3 / 5; max-width: 406px; padding-left: 1px; }
.agency__intro p.t-16 { grid-column: 5 / 7; max-width: 280px; font-weight: 400; color: var(--g59); margin-top: 4px; }
.astat-row { margin-top: 86px; row-gap: 40px; }
.astat { grid-column: span 2; display: grid; grid-template-columns: 233px minmax(0, 1fr); padding-top: 25px; border-top: 3px solid rgba(176, 176, 176, .8); }
.astat__num { display: flex; align-items: flex-start; gap: 12px; font-size: 65px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.astat__num svg { width: 24px; height: 24px; margin-top: 5px; }
.astat__label { padding-top: 5px; max-width: 160px; font-size: 18.08px; line-height: 1.4; letter-spacing: -.05em; color: var(--muted); }
.people { }
.tgrid { margin-top: 138px; row-gap: 74px; }
.tcell { grid-column: span 1; }
.tcell__img { width: 203px; height: 203px; border-radius: 50%; overflow: hidden; background: var(--gray); }
.tcell__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.tcell__name { margin-top: 19px; font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.05em; }
.tcell__role { font-size: 14.08px; line-height: 1.4; letter-spacing: -.05em; color: var(--gray); }
.tcell--rest { grid-column: span 2; display: flex; align-items: center; gap: 30px; }
.tcell--rest .tcell__img { background: var(--light); position: relative; display: flex; align-items: center; justify-content: center; flex: none; }
.tcell--rest b { font-size: 72px; line-height: 1; font-weight: 600; letter-spacing: -.05em; color: var(--line); }
.tcell--rest .tcell__img svg { position: absolute; width: 18px; height: 18px; left: 153px; top: 58px; color: var(--line); }
.tcell--rest p { max-width: 133px; font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.05em; }
.tcell--client .tcell__img { background: rgba(238, 237, 236, .6); display: flex; align-items: center; justify-content: center; }
.tcell--client .tcell__img img { width: 120px; height: 54px; object-fit: contain; transform: none; }
.bigphoto { position: relative; margin-top: 184px; height: 778px; border-radius: 8px; overflow: hidden; background: #111; }
.bigphoto img { width: 100%; height: 100%; object-fit: cover; }
.bigphoto::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .11; }
.bigphoto__label { position: absolute; left: calc(33.333% + 7px); bottom: 50px; z-index: 1; display: flex; align-items: flex-start; gap: 8px; color: #fff; }
.bigphoto__label svg { width: 17px; height: 17px; margin-top: 2px; }
.agency__clients { margin-top: 120px; }
.agency__clients h3 { grid-column: 3 / 7; }
.cgrid { margin-top: 62px; row-gap: 90px; }
.agency__cta { margin-top: 92px; align-items: start; }
.agency__cta p { grid-column: 3 / 5; max-width: 376px; padding-left: 1px; }
.agency__cta .btn { grid-column: 5 / 7; justify-self: start; min-width: 240px; }
.photos { margin-top: 213px; }
.photo { grid-column: span 3; margin: 0; }
.photo__img { position: relative; height: 381px; border-radius: 8px; overflow: hidden; background: repeating-linear-gradient(135deg, #e9e9e8 0 1px, transparent 1px 9px); }
.photo__img img { width: 100%; height: 330px; object-fit: cover; border-radius: 8px; }
.photo figcaption { margin-top: 24px; font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.05em; }
.photo figcaption .c-gray { font-size: 14.08px; font-weight: 500; }
.awards { margin-top: 116px; }
.awards h3 { grid-column: 3 / 7; }
.alist { margin-top: 62px; }
.award { align-items: start; }
.award__year { grid-column: 1 / 3; padding-top: 0; font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.05em; }
.award__year .dash { margin-bottom: 20px; }
.award__body { grid-column: 3 / 7; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); padding: 21px 0 20px; border-top: 1px solid rgba(176, 176, 176, .25); }
.award__title { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.05em; }
.award__org { display: flex; align-items: center; gap: 20px; font-size: 16px; font-weight: 400; letter-spacing: -.05em; }
.award__org img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.award__org span { margin-left: auto; color: var(--gray); font-weight: 500; }
.pcontent.agency { padding-bottom: 155px; }

/* --- PROJECTS (список) --- */
.projects-page .projects__cats { margin-top: 0; color: var(--muted); }
.projects-page .projects__cats li i { background: var(--muted); }
.projects-page .projects__cats li.is-active i { background: var(--muted); opacity: .8; }
.projects-page .plist { margin-top: 103px; gap: 52px; }
.projects-page .pcard { color: #000; }
.projects-page .pcard__date { color: #000; }
.projects-page .pcard__title { color: #fff; }
.projects-page .pcard__media::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .1; pointer-events: none; }
.pcontent.projects-page { padding: 100px var(--pad) 218px; }

/* --- PROJECT / INSIGHT DETAIL --- */
.detail { background: #fff; color: #000; padding: 120px var(--pad) 150px; }
.detail__head { align-items: start; position: relative; }
.detail__back { grid-column: 1 / 3; display: flex; align-items: center; gap: 12px; margin-top: 176px; font-size: 18.08px; letter-spacing: -.05em; }
.detail__back .dots i:last-child { background: #000; }
.detail__title { grid-column: 3 / 7; margin-top: 162px; }
.detail__date { grid-column: 3 / 7; margin-top: 34px; padding-left: 9px; font-size: 20px; line-height: 1.2; letter-spacing: -.04em; }
.detail__team { position: absolute; left: calc(66.666% + 10px); top: 0; display: flex; align-items: flex-start; gap: 25px; }
.detail__team .pcard__team { grid-template-columns: repeat(2, 40px); }
.detail__team p { font-size: 14.08px; line-height: 1.4; letter-spacing: -.05em; }
.detail__hero { margin-top: 118px; border-radius: 12px; overflow: hidden; background: #111; aspect-ratio: 1368 / 779; }
.detail__hero video, .detail__hero img { width: 100%; height: 100%; object-fit: cover; }
.dsec { margin-top: 90px; align-items: start; }
.dsec__label { grid-column: 1 / 3; color: var(--muted); }
.dsec__body { grid-column: 3 / 6; max-width: 700px; padding-left: 9px; }
.dsec__body h3 { font-size: 26px; line-height: 1.3; font-weight: 600; letter-spacing: -.04em; }
.dsec__body > p { margin-top: 32px; font-weight: 400; color: var(--muted); }
.dtable { margin-top: 72px; }
.dtable__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); padding: 21px 0 17px; border-top: 1px solid rgba(176, 176, 176, .5); }
.dtable__row p:first-child { font-size: 14.08px; letter-spacing: -.05em; color: var(--muted); }
.dsec .btn { margin-top: 60px; min-width: 268px; }
.dpair { margin-top: 138px; }
.dpair img { grid-column: span 3; width: 100%; height: 400px; object-fit: cover; border-radius: 8px; }
.dstack { margin-top: 138px; display: flex; flex-direction: column; gap: 30px; }
.dstack img { width: 100%; height: 800px; object-fit: cover; border-radius: 8px; }
.dsec--goals, .dsec--outcome { margin-top: 92px; }

.ihead { align-items: start; }
.ihead .detail__back { margin-top: 28px; }
.ihead__title { grid-column: 3 / 7; max-width: 709px; padding-left: 9px; margin-top: 14px; }
.ihead__excerpt { grid-column: 3 / 6; max-width: 700px; padding-left: 9px; margin-top: 32px; font-weight: 400; color: var(--muted); }
.ihead__date { grid-column: 3 / 6; padding-left: 9px; margin-top: 42px; }
.insight .detail__hero { margin-top: 92px; aspect-ratio: 1368 / 606; border-radius: 8px; }
.article-row { margin-top: 143px; align-items: start; }
.article-row .person { grid-column: 1 / 3; flex-direction: column; align-items: flex-start; gap: 11px; margin-top: 4px; }
.article-row .person__name { color: #000; }
.article { grid-column: 3 / 6; max-width: 700px; padding-left: 9px; }
.article p { font-size: 16px; line-height: 1.4; font-weight: 400; letter-spacing: -.05em; color: var(--muted); }
.article p + p { margin-top: 20px; }
.article h3 { margin: 39px 0 20px; font-size: 26px; line-height: 1.3; font-weight: 600; letter-spacing: -.04em; color: #000; }
.article ul { list-style: disc; padding-left: 20px; }
.article li { font-size: 16px; line-height: 1.6; font-weight: 400; letter-spacing: -.05em; }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.legal .article { grid-column: 3 / 7; max-width: 821px; padding-left: 1px; }
.legal .article p { color: #000; line-height: 1.6; }
.legal .article p.t-22 { font-size: 22.08px; line-height: 1.4; font-weight: 500; letter-spacing: -.04em; }
.legal .article h3 { margin: 62px 0 20px; }
.legal .article ul { margin-top: 0; }
.pcontent.legal { padding-bottom: 167px; }

/* --- INSIGHTS (список) --- */
.ifeatured { display: block; position: relative; margin-top: 0; height: 428px; border-radius: 8px; overflow: hidden; background: #111; color: #fff; }
.ifeatured img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ifeatured:hover img { transform: scale(1.03); }
.ifeatured::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35)); }
.ifeatured__row { position: absolute; left: 0; right: 0; bottom: 73px; z-index: 1; padding: 0 0 0 calc(33.333% + 7px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
.ifeatured__date { display: flex; gap: 12px; align-items: flex-start; grid-column: 1 / 3; }
.ifeatured__date b { font-size: 40.8px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.ifeatured__title { grid-column: 3 / 5; font-size: 18.08px; line-height: 1.4; letter-spacing: -.05em; }
.insights-page .ilist { margin-top: 72px; row-gap: 60px; }
.pcontent.insights-page { padding: 140px var(--pad) 167px; }

/* --- CONTACTS --- */
.cform { align-items: start; scroll-margin-top: 48px; }
.cform__head { grid-column: 3 / 5; padding-left: -3px; font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; margin-left: -3px; }
.cform__note { grid-column: 5 / 7; max-width: 290px; font-weight: 400; color: var(--g59); }
.cform__form { grid-column: 3 / 6; max-width: 790px; margin-left: -3px; margin-top: 60px; }
.cform__form .field { max-width: none; margin: 0; }
.cform__form .field input, .cform__form .field textarea { color: #000; border-bottom-color: rgba(176, 176, 176, .59); }
.cform__form .field span { color: var(--gray); }
.cform__form .field input:focus + span, .cform__form .field input:not(:placeholder-shown) + span, .cform__form .field textarea:focus + span, .cform__form .field textarea:not(:placeholder-shown) + span { transform: translateY(-18px); font-size: 12px; }
.cform__form textarea { width: 100%; height: 197px; padding: 32px 0 0; background: transparent; border: 0; border-bottom: 1px solid rgba(176, 176, 176, .59); outline: 0; resize: vertical; font: inherit; letter-spacing: -.05em; }
.field--area span { top: 34px; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.cform__done { padding: 30px 0 60px; font-size: 22.08px; line-height: 1.4; letter-spacing: -.04em; max-width: 520px; }
.cform__done a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cform__foot { display: grid; grid-template-columns: 436px minmax(0, 1fr); column-gap: var(--gap); margin-top: 36px; }
.cform__foot p.t-18 { max-width: 357px; }
.cform__legal { margin-top: 15px; max-width: 303px; font-size: 12px; line-height: 1.4; letter-spacing: -.04em; color: var(--gray); }
.cform__legal a { color: #000; }
.cform__foot .btn { justify-self: start; align-self: start; margin-top: 35px; min-width: 240px; margin-left: 1px; border-radius: 40px; }
.cinfo { margin-top: 128px; align-items: start; }
.cinfo__col { grid-column: span 2; padding-top: 31px; border-top: 3px solid rgba(176, 176, 176, .64); }
.cinfo__col--social { border-top: 0; padding-top: 0; }
.cinfo__col--social .dash { margin-bottom: 31px; }
.cinfo__col--social a { display: block; font-size: 14.08px; line-height: 1.4; letter-spacing: -.05em; margin-bottom: 6px; }
.cinfo__phone { display: block; font-size: 18.08px; letter-spacing: -.05em; }
.cinfo__email { display: block; margin-top: 8px; font-size: 34.08px; line-height: 1.2; font-weight: 600; letter-spacing: -.05em; transition: opacity .3s; }
.cinfo__email:hover { opacity: .6; }
.cinfo__col--tg { grid-column: 3 / 5; }
.cinfo__tglabel { font-size: 14.08px; letter-spacing: -.05em; color: var(--gray); }
.cinfo__addr { max-width: 160px; font-weight: 400; }
.contacts .photos { margin-top: 196px; }
.pcontent.contacts { padding-top: 108px; padding-bottom: 60px; }
.page-contacts .cform__head { font-size: 28px; }
.page-contacts .cform__form { margin-top: 28px; }
.page-contacts .cform__form textarea { height: 104px; padding-top: 26px; }
.page-contacts .field input { height: 50px; }
.page-contacts .cform__foot { margin-top: 18px; }
.page-contacts .cform__foot p.t-18 { font-size: 16px; max-width: 320px; }
.page-contacts .cinfo { margin-top: 40px; }
.page-contacts .cinfo__col { padding-top: 18px; }
.page-contacts .cinfo__email { font-size: 28px; margin-top: 4px; }

/* --- 404 --- */
.p404 { align-items: start; }
.p404 p.t-22 { grid-column: 3 / 5; max-width: 340px; padding-left: 1px; }
.p404 p.t-18 { grid-column: 3 / 5; max-width: 320px; padding-left: 1px; margin-top: 24px; color: var(--muted); }
.p404 .btn { grid-column: 5 / 7; justify-self: start; min-width: 240px; }
.page-404 .pcontent { padding-bottom: 165px; }

@media (max-width: 1199px) {
  .cform__form { grid-column: 2 / 6; }
  .cform__foot { grid-template-columns: minmax(0, 1fr); }
  .cform__foot .btn { margin-top: 24px; }
  .phero__mid { top: 380px; } .phero__title { top: 440px; } .phero__sub { top: 590px; }
  .phero--simple .phero__mid { top: 460px; } .phero--simple .phero__title { top: 500px; }
  .tcell__img { width: 160px; height: 160px; }
  .tcell--rest .tcell__img svg { left: 118px; top: 44px; }
  .tcell--rest { grid-column: span 3; }
  .tcell { grid-column: span 2; }
  .bigphoto { height: 520px; }
  .detail__team { position: static; grid-column: 5 / 7; margin-top: 60px; }
  .dstack img { height: 520px; }
  .article, .ihead__title, .ihead__excerpt, .ihead__date, .dsec__body { grid-column: 3 / 7; }
  .cform__form { grid-column: 3 / 7; }
}
@media (max-width: 1023px) {
  .phero { height: auto; padding-bottom: 60px; }
  .phero__inner { padding-top: 100px; }
  .phero__text { text-indent: 0; margin-top: 28px; }
  .phero__mid, .phero__title, .phero__sub { position: static; }
  .phero__mid { margin-top: 90px; row-gap: 28px; }
  .phero__label { padding-left: 0; margin-top: 0; }
  .phero__title h2 { font-size: 72px; }
  .phero__sub p { margin-top: 24px; }
  .phero__title { margin-top: 36px; }
  .phero--simple .phero__title { margin-top: 24px; }
  .phero--fade::after { height: 120px; }
  .strip { height: 120px; }
  .pcontent { padding: 90px var(--pad) 90px; }
  .pcontent .sparkles { display: none; }
  .agency__intro, .astat-row, .tgrid, .cgrid, .agency__cta, .photos, .award { row-gap: 28px; }
  .agency__intro p.t-22, .agency__intro p.t-16 { max-width: none; }
  .astat-row { margin-top: 56px; }
  .astat { grid-template-columns: 1fr 1fr; }
  .astat__num { font-size: 52px; }
  .tgrid { margin-top: 80px; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tgrid > * { grid-column: span 1 !important; }
  .tcell__img { width: 100%; height: auto; aspect-ratio: 1; }
  .tcell--rest { grid-column: 1 / -1 !important; }
  .tcell--rest .tcell__img { width: 160px; height: 160px; }
  .tcell--rest .tcell__img svg { left: 118px; top: 44px; }
  .bigphoto { height: 420px; margin-top: 90px; }
  .bigphoto__label { left: 20px; bottom: 24px; }
  .agency__clients, .awards { margin-top: 80px; }
  .cgrid { margin-top: 40px; }
  .agency__cta { margin-top: 60px; }
  .photos { margin-top: 90px; }
  .photo__img { height: 260px; }
  .photo__img img { height: 220px; }
  .alist { margin-top: 32px; }
  .award__body { grid-template-columns: 1fr; row-gap: 10px; }
  .award__year .dash { margin-bottom: 8px; }
  .pcontent.projects-page { padding: 40px var(--pad) 100px; }
  .projects-page .plist { margin-top: 56px; gap: 40px; }
  .detail { padding: 60px var(--pad) 90px; }
  .detail__back, .ihead .detail__back { margin-top: 0; }
  .detail__title { margin-top: 40px; }
  .detail__title h2 { font-size: 56px; }
  .detail__date { margin-top: 16px; padding-left: 0; }
  .detail__team { position: static; margin-top: 32px; }
  .detail__team .pcard__team { display: grid; }
  .detail__hero, .insight .detail__hero { margin-top: 48px; border-radius: 8px; }
  .dsec, .dsec--goals, .dsec--outcome, .article-row { margin-top: 56px; row-gap: 16px; }
  .dsec__body, .article, .ihead__title, .ihead__excerpt, .ihead__date { padding-left: 0; max-width: none; }
  .dsec__body h3, .ihead__title { font-size: 22px; }
  .ihead__title { margin-top: 32px; }
  .ihead__title.h3 { font-size: 40px; }
  .dtable { margin-top: 40px; }
  .dpair, .dstack { margin-top: 60px; row-gap: 16px; gap: 16px; }
  .dpair img { height: 240px; }
  .dstack img { height: 320px; }
  .ifeatured { height: 360px; }
  .pcontent.insights-page { padding-top: 48px; }
  .ifeatured__row { padding: 0 20px; grid-template-columns: 1fr; row-gap: 12px; bottom: 28px; }
  .ifeatured__date, .ifeatured__title { grid-column: 1 / -1; }
  .insights-page .ilist { margin-top: 56px; }
  .cform, .cinfo { row-gap: 28px; }
  .cform__head { margin-left: 0; font-size: 28px; }
  .cform__note { max-width: none; }
  .cform__form { margin: 24px 0 0; }
  .cform__foot { grid-template-columns: 1fr !important; row-gap: 24px; }
  .cform__foot .btn { margin-top: 0; width: 100%; }
  .cinfo { margin-top: 80px; }
  .cinfo__email { font-size: 26px; }
  .contacts .photos { margin-top: 90px; }
  .p404 { row-gap: 24px; }
  .p404 p.t-22, .p404 p.t-18 { max-width: none; }
  .p404 .btn { width: 100%; }
}

/* ==========================================================================
   ПИН-СЦЕНЫ НА ТЕЛЕФОНЕ: та же механика, компактная раскладка
   ========================================================================== */
@media (max-width: 1023px) {
  .pin-on.pinwrap--pricing { height: calc(100vh + 700px); }
  .pin-on.pinwrap--team { height: calc(100vh + 500px); }
  .pin-on .pinscreen { min-height: 0; justify-content: center; }
  .pin-on .plan { margin-top: 20px; }
  .pin-on .plan--first { margin-top: 0; }
  .pin-on .plan__head { font-size: 20px; padding-bottom: 10px; }
  .pin-on .plan__body { margin-top: 10px; row-gap: 14px; }
  .pin-on .plan__moon { order: 0; display: flex; align-items: center; gap: 16px; }
  .pin-on .moon { width: 92px; height: 92px; }
  .pin-on .plan__price small { font-size: 16px; margin-top: -4px; }
  .pin-on .plan__price b { font-size: 30px; }
  .pin-on .plan__feat ul { gap: 4px; }
  .pin-on .plan__feat li { font-size: 13.5px; }
  .pin-on .plan__delivery { margin-top: 12px; padding-top: 8px; flex-direction: row; align-items: center; gap: 14px; }
  .pin-on .plan__delivery .btn { width: auto; min-width: 0; height: 38px; padding: 0 14px 0 16px; }
  .pin-on .plan__delivery .btn .dots { display: none; }
  .pinwrap--team.pin-on .pinscreen { padding-top: 4vh; justify-content: flex-start; }
  .pin-on .orbit { height: 190px; margin-top: 24px; }
  .pin-on .team__quote { margin-top: 16px; }
  .orbit__nav { top: auto; bottom: -36px; transform: none; z-index: 2; }
  .orbit__nav--prev { left: 2px; }
  .orbit__nav--next { right: 2px; }
  .orbit { margin-bottom: 34px; }
}
@media (max-height: 559px) {
  .pinwrap { height: auto !important; }
}

/* кнопка «наверх»: появляется на последнем блоке, в стиле белых кругов сайта */
.totop {
  position: fixed; right: 34px; bottom: 34px; z-index: 40;
  width: 47px; height: 47px; border-radius: 50%;
  background: var(--white); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(18px) scale(.9); pointer-events: none;
  transition: opacity .6s var(--spring), transform .6s var(--spring), background .3s;
}
.totop svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover svg { transform: translateY(-2px); }
@media (max-width: 1023px) {
  .totop { right: 18px; bottom: 18px; width: 42px; height: 42px; }
}
