/* arsbay.com — стиль Dala: «созвездие на чёрном бархате».
 * Правило номер один: фон всегда чистый #000000 — пустота и есть дизайн.
 * Правило номер два: никаких карточек, рамок и теней — только типографика и пробелы.
 * Правило номер три: фиолетовый #8052ff — только кнопки; градиент — только в частицах. */

/* ---------- шрифты, локально, без обращений к Google ---------- */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("public/fonts/intertight-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("public/fonts/intertight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- токены ---------- */

:root {
  --void: #070412;          /* deep space: не чистый чёрный, а глубокий фиолетово-чёрный */
  --bone: #ffffff;
  --ash: #a3a0b4;
  --mist: #c8c5d6;
  --iris: #8052ff;
  --spark: #ffb829;
  --verdant: #15846e;
  --live: #2fd5a4; /* производная от verdant: тот же холод, выше светимость */

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 80rem; /* 1280px */
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 200;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Атмосфера: два глубоких световых пятна поверх deep-space фона.
 * Фиксированы — не ездят за прокруткой. */
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(62rem 62rem at 82% -12%, rgb(128 82 255 / 0.16), transparent 62%),
    radial-gradient(48rem 48rem at -8% 108%, rgb(21 132 110 / 0.12), transparent 60%),
    radial-gradient(40rem 40rem at 12% 30%, rgb(22 15 57 / 0.55), transparent 70%);
  content: "";
  pointer-events: none;
}

/* Зерно поверх всего тёмного — убирает «пластиковость» заливки. */
body::after {
  position: fixed;
  inset: 0;
  z-index: 70;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.032;
  pointer-events: none;
}

::selection {
  background: var(--iris);
  color: var(--bone);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 99;
  padding: 0.7rem 1rem;
  background: var(--void);
  outline: 2px solid var(--iris);
}

:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 4px;
}

/* Метка над блоком: янтарная искра, единственный «тёплый» текст на странице. */
.kicker {
  margin: 0 0 1.1rem;
  color: var(--spark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.lede {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--mist);
  font-weight: 200;
}

/* Стекла больше нет: класс оставлен в разметке, но визуально это воздух. */
.glass {
  background: none;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ---------- навигация ---------- */

.nav {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--pad);
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.85), transparent);
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.nav__logo {
  flex: none;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 2.1rem);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.nav__links a {
  color: var(--ash);
  text-decoration: none;
  transition: color 160ms ease;
}

.nav__links a:hover {
  color: var(--bone);
}

/* Единственная filled-кнопка в шапке. */
.nav__cta {
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  background: var(--iris);
  color: var(--bone) !important;
  transition: background 200ms ease,
    transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav__cta:hover {
  background: #9168ff;
  transform: scale(1.045);
}

.nav__cta:active {
  transform: scale(0.97);
}

/* ---------- кнопки ---------- */

/* Фиолетовая пилюля — единственный filled-элемент на весь экран. */
.btn-core {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  background: var(--iris);
  color: var(--bone);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 200ms ease,
    transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-core:hover {
  background: #9168ff;
  transform: scale(1.045);
}

.btn-core:active {
  transform: scale(0.97);
}

/* Ghost: голый текст без рамки и фона. */
.btn-ghost {
  display: inline-block;
  padding: 0.9rem 0.25rem;
  color: var(--ash);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 200ms ease;
}

.btn-ghost:hover {
  color: var(--bone);
}

/* ---------- 1. первый экран ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 8rem var(--pad) 6rem;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

/* Фиолетовое «блюм»-свечение под созвездием — глубина, а не подложка. */
.hero__glow {
  position: absolute;
  top: 50%;
  left: 68%;
  z-index: 0;
  width: min(58vw, 42rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgb(146 98 232 / 0.22) 0%,
    rgb(128 82 255 / 0.08) 42%,
    transparent 68%
  );
  pointer-events: none;
}

/* Свет, следующий за курсором в первом экране (--cx/--cy ставит main.js). */
.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    26rem 26rem at var(--cx, 72%) var(--cy, 42%),
    rgb(128 82 255 / 0.1),
    transparent 70%
  );
  content: "";
  pointer-events: none;
}

/* Вход первого экрана: из размытия в резкость, каскадом. */
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

.hero .kicker,
.hero h1,
.hero__lede,
.hero__actions,
.hero__hint {
  animation: hero-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero h1 {
  animation-delay: 120ms;
}
.hero__lede {
  animation-delay: 260ms;
}
.hero__actions {
  animation-delay: 400ms;
}
.hero__hint {
  animation-delay: 620ms;
}

.hero__panel {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  min-width: 0; /* иначе длинная строка h1 распирает колонку на мобильном */
}

.hero h1 {
  font-size: clamp(2.3rem, 10.5vw, 7.06rem); /* до 113px */
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* На узких экранах строка «которые работают» не должна упираться в край. */
@media (max-width: 500px) {
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }
}

/* Акцентная строка заголовка — янтарь, не градиент. */
.hero h1 em {
  font-style: normal;
  color: var(--spark);
}

.hero__lede {
  max-width: 30rem;
  margin: 2rem 0 0;
  color: var(--mist);
  font-size: 18px;
  font-weight: 200;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.hero__hint {
  position: absolute;
  bottom: 2rem;
  left: var(--pad);
  margin: 0;
  color: var(--ash);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* ---------- 2. модули: текст парит на чёрном ---------- */

.modules {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
}

.modules__intro h2,
.registry__intro h2,
.price__intro h2,
.how__intro h2,
.works__intro h2,
.studio__intro h2 {
  font-size: clamp(2.4rem, 5vw, 4.875rem); /* до 78px */
}

.module {
  position: relative;
  max-width: 34rem;
  margin-top: clamp(3.5rem, 9vh, 6.5rem);
}

.module[data-side="right"] {
  margin-left: auto;
}

.module__no {
  display: block;
  margin-bottom: 1rem;
  color: var(--ash);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.module h3 {
  font-size: clamp(1.75rem, 3vw, 2.625rem); /* до 42px */
  letter-spacing: -0.04em;
}

.module p {
  margin: 1.1rem 0 0;
  color: var(--mist);
}

.module__proof {
  margin-top: 1.6rem !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--ash);
}

.module__proof a {
  color: var(--spark);
  text-decoration: none;
}

.module__proof a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.module__proof span {
  display: block;
  margin-top: 0.55rem;
  color: var(--mist);
  font-size: 15px;
  font-weight: 200;
  letter-spacing: normal;
  text-transform: none;
}

/* ---------- 3. цифры: тишина ---------- */

.domain {
  padding: clamp(7rem, 18vh, 13rem) var(--pad);
}

.domain__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.domain h2 {
  font-size: clamp(2.9rem, 7.5vw, 7.06rem);
}

.domain h2 .tick {
  color: var(--spark);
  font-variant-numeric: tabular-nums;
}

.domain__text {
  max-width: 34rem;
  margin: 2.5rem 0 0;
  font-size: 18px;
  font-weight: 200;
  color: var(--mist);
}

.domain__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.75rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ash);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* ---------- 4. реестр: таблица без линеек, воздух вместо границ ---------- */

.registry {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
}

.registry__scroll {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  overflow-x: auto;
}

.registry table {
  width: 100%;
  min-width: 50rem;
  border-collapse: collapse;
  text-align: left;
}

.registry th {
  padding: 0 1.5rem 1.4rem 0;
  color: var(--ash);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.registry td {
  padding: 1.5rem 1.5rem 1.5rem 0;
  font-size: 15px;
  font-weight: 200;
  vertical-align: baseline;
  color: var(--mist);
}

.t-name {
  color: var(--bone) !important;
  font-weight: 400;
  font-size: 18px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.t-stack {
  color: var(--ash);
  font-size: 14px;
}

/* Статусы — только цвет текста, без пилюль и рамок. */
.state {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.state--live {
  color: var(--live);
}

.state--wip {
  color: var(--spark);
}

.state--done {
  color: var(--ash);
}

.registry tbody tr {
  transition: opacity 240ms ease;
}

.registry tbody tr[hidden] {
  display: none;
}

.registry tbody tr:hover .t-name {
  color: var(--spark) !important;
}

/* ---------- фильтры реестра: текстовые переключатели ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 2.25rem;
}

.filter {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--ash);
  background: none;
  border: 0;
  padding: 0.45rem 0;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  min-height: 44px;
  transition: color 200ms ease;
}

.filter i {
  font-style: normal;
  font-size: 12px;
  color: var(--ash);
  transition: color 200ms ease;
}

.filter:hover {
  color: var(--bone);
}

.filter.is-on {
  color: var(--bone);
}

.filter.is-on i {
  color: var(--spark);
}

.filters__status {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 0.9rem 0 0;
  min-height: 1.2em;
}

/* ---------- студия генерации: медиа парят, без карточек ---------- */

.studio {
  position: relative;
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
  max-width: var(--maxw);
  margin-inline: auto;
  overflow: hidden;
}

.studio__glow {
  display: none;
}

.studio__intro {
  max-width: 46rem;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.studio__intro h2 em {
  font-style: normal;
  color: var(--spark);
}

.studio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.75rem, 3vw, 2.75rem);
}

.shot {
  transform-style: preserve-3d;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.shot__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--void);
  display: grid;
  place-items: center;
  transform: translateZ(24px);
}

.shot__media :is(img, video) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.94;
  transition: opacity 320ms ease;
}

.shot:hover .shot__media :is(img, video),
.shot:focus-within .shot__media :is(img, video) {
  opacity: 1;
}

.shot__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--spark);
}

.shot h3 {
  font-size: 24px;
  letter-spacing: -0.48px;
  margin: 1.25rem 0 0.4rem;
  transform: translateZ(14px);
}

.shot__stack {
  font-size: 14px;
  color: var(--ash);
  margin: 0;
  transform: translateZ(8px);
}

.studio__note {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  font-size: 15px;
  color: var(--ash);
  max-width: 42rem;
}

/* ---------- 5. как работаем ---------- */

.how {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
}

.how__steps {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin: clamp(2.5rem, 6vh, 4rem) 0 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  list-style: none;
}

.how__steps span {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--ash);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.how__steps h3 {
  font-size: 24px;
  letter-spacing: -0.48px;
}

.how__steps p {
  margin: 0.8rem 0 0;
  color: var(--mist);
  font-size: 15px;
}

.how__note {
  margin: 3.5rem 0 0;
  max-width: 34rem;
  color: var(--spark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* ---------- 6. цены ---------- */

.price {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
}

.tiers {
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 6vh, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.tier h3 {
  font-size: 24px;
  letter-spacing: -0.48px;
}

.tier__rate {
  margin: 1.25rem 0 0;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}

.tier--mid .tier__rate {
  color: var(--spark);
}

.tier ul {
  margin: 1.9rem 0 0;
  padding: 0;
  color: var(--mist);
  font-size: 15px;
  list-style: none;
}

.tier li {
  padding: 0.4rem 0 0.4rem 1.15rem;
  text-indent: -1.15rem;
}

.tier li::before {
  content: "/ ";
  color: var(--ash);
}

/* ---------- 7. контакт ---------- */

.contact {
  position: relative;
  padding: clamp(6rem, 14vh, 11rem) var(--pad);
  overflow: hidden;
}

.contact__inner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: clamp(2.4rem, 5vw, 4.875rem);
}

.contact .lede {
  margin-inline: auto;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}

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

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  padding: 2.5rem var(--pad) 3.5rem;
  color: var(--ash);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* ---------- полоса прочтения ---------- */

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
  background: transparent;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--iris);
  transform-origin: left center;
}

/* ---------- переключатель языка: ghost ---------- */

.lang {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--ash);
  background: transparent;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  transition: color 200ms ease;
}

.lang:hover {
  color: var(--bone);
}

/* ---------- появление при скролле ----------
 * Скрываем ТОЛЬКО когда JS работает: без скриптов и на скриншотах
 * страница остаётся полностью видимой. */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .how__steps li:nth-child(2),
.js .tiers .tier:nth-child(2) {
  transition-delay: 90ms;
}
.js .how__steps li:nth-child(3),
.js .tiers .tier:nth-child(3) {
  transition-delay: 180ms;
}
.js .how__steps li:nth-child(4) {
  transition-delay: 270ms;
}

.js .reveal[data-stagger] {
  transition-delay: calc(var(--d, 0) * 70ms);
}

/* ---------- открытый код ---------- */

.works {
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
  max-width: var(--maxw);
  margin-inline: auto;
}

.works__intro {
  max-width: 46rem;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.works__intro h2 em {
  font-style: normal;
  color: var(--spark);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: clamp(1.75rem, 3vw, 2.75rem);
}

.work {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work:hover,
.work:focus-visible {
  transform: translateY(-4px);
}

.work__media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--void);
}

.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.94;
  transition: opacity 320ms ease;
}

.work:hover .work__media img,
.work:focus-visible .work__media img {
  opacity: 1;
}

.work h3 {
  font-size: 24px;
  letter-spacing: -0.48px;
  margin: 1.25rem 0 0.35rem;
}

.work__stack {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 0 0 0.6rem;
}

.work__desc {
  font-size: 15px;
  color: var(--mist);
  margin: 0;
}

.works__note {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.works__note a {
  color: var(--spark);
  text-decoration: none;
}

.works__note a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- мобильное меню ---------- */

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.burger i {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--bone);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease;
}

.burger[aria-expanded="true"] i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.burger[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 860px) {
  .burger {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5.5rem 1.25rem 2rem;
    background: rgb(0 0 0 / 0.96);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 0.25rem;
    font-size: 15px;
  }

  .nav__links .nav__cta {
    justify-content: center;
    margin-top: 1.25rem;
  }

  .nav__links .lang {
    min-height: 44px;
    margin-top: 0.75rem;
  }

  .module,
  .module[data-side="right"] {
    max-width: none;
    margin-left: 0;
  }

  .hero__glow {
    left: 50%;
    top: 28%;
    width: 96vw;
  }

  /* Текст читается поверх созвездия: мягкая темная вуаль за панелью. */
  .hero__panel {
    padding: 1.5rem;
    margin: -1.5rem;
    background: radial-gradient(
      62% 58% at 42% 46%,
      rgb(7 4 18 / 0.78),
      transparent 78%
    );
  }
}

/* ---------- reduced motion: всё выключается ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero .kicker,
  .hero h1,
  .hero__lede,
  .hero__actions,
  .hero__hint {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .reveal[data-stagger] {
    transition-delay: 0ms;
  }

  .btn-core,
  .btn-ghost,
  .filter,
  .shot,
  .work,
  .nav__links a,
  .registry tbody tr,
  .shot__media :is(img, video),
  .work__media img,
  .burger i,
  .nav__links {
    transition: none;
  }

  .shot:hover,
  .shot:focus-within,
  .work:hover,
  .work:focus-visible {
    transform: none;
  }
}
