/* ==========================================================================
   Online Ads: style.css
   Дизайн-система сайта: токены, база, компоненты, секции.
   Витрина: design_system/design_system.html
   Анимации SVG-сцен: css/scenes.css. Cookie-баннер: css/consent.css.
   ========================================================================== */

/* ---------- Шрифты (локально, latin + latin-ext) ---------- */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-wght-normal.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;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../fonts/roboto-mono-latin-wght-normal.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;
}

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../fonts/roboto-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Токены ---------- */
:root {
  /* Бренд: цвета логотипа */
  --brand-navy:  #021B8C;
  --brand-blue:  #0131B8;
  --brand-azure: #007DC6;
  --brand-sky:   #00BEF5;
  --brand-cyan:  #2DD9FF;
  --brand-ice:   #BFE6ED;

  /* Поверхности */
  --bg:            #030822;
  --bg-alt:        #050D33;
  --surface:       #0A1648;
  --surface-hover: #0E1D5C;
  --border:        #1A2C78;
  --border-soft:   rgba(185, 198, 238, .14);

  /* Текст */
  --text:       #FFFFFF;
  --text-muted: #B9C6EE;
  --text-dim:   #8A9AD0;

  /* Акцент: одна хроматическая роль на весь сайт */
  --accent:     #2DD9FF;
  --accent-ink: #021033;

  /* Градиенты */
  --gradient-brand:  linear-gradient(135deg, #0131B8 0%, #00BEF5 60%, #2DD9FF 100%);
  --gradient-accent: linear-gradient(90deg, #00BEF5 0%, #2DD9FF 100%);
  --gradient-ice:    linear-gradient(180deg, #FFFFFF 0%, #BFE6ED 100%);
  --gradient-card:   linear-gradient(160deg, #0E1D5C 0%, #0A1648 55%, #071038 100%);
  --scrim: linear-gradient(90deg, rgba(3, 8, 34, .92) 0%, rgba(3, 8, 34, .72) 45%, rgba(3, 8, 34, .38) 100%);

  /* Типографика */
  --font:      "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-display: clamp(2.75rem, min(9vw + 0.5rem, 11.5vh), 7rem);
  --fs-h1:      clamp(2.25rem, 4.6vw + 1rem, 4.5rem);
  --fs-h2:      clamp(1.75rem, 3.4vw + 0.75rem, 3.5rem);
  --fs-h3:      clamp(1.25rem, 0.6vw + 1.1rem, 1.5rem);
  --fs-lead:    clamp(1.0625rem, 0.5vw + 0.95rem, 1.25rem);
  --fs-body:    1rem;
  --fs-small:   0.875rem;
  --fs-label:   0.8125rem;

  --lh-tight:   1;
  --lh-heading: 1.12;
  --lh-body:    1.6;

  --tracking-tight: -0.025em;
  --tracking-label: 0.14em;

  /* Отступы: шаг 8px */
  --space-1:  0.5rem;
  --space-2:  1rem;
  --space-3:  1.5rem;
  --space-4:  2rem;
  --space-5:  2.5rem;
  --space-6:  3rem;
  --space-8:  4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Радиусы по вложенности: чем глубже элемент, тем меньше радиус */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  /* Толщина контура у кнопок-пилюль (рисуется через inset box-shadow) */
  --outline: 1.5px;

  /* Тени */
  --shadow-card: 0 16px 48px rgba(1, 4, 20, .5);
  --shadow-glow: 0 0 32px rgba(45, 217, 255, .35);

  /* Движение */
  --ease:            cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast:   200ms;
  --duration-normal: 300ms;
  --duration-slow:   700ms;

  /* Раскладка */
  --container: 1240px;
  --gutter:    24px;
  --header-h:  72px;
  --section-y: var(--space-10);
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
}

@media (min-width: 768px) {
  :root { --gutter: 48px; --section-y: var(--space-12); }
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; --section-y: var(--space-16); }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
h1, h2, h3, h4 { font-weight: 700; line-height: var(--lh-heading); text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* ---------- Служебные классы ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.skip-link {
  position: fixed;
  top: var(--space-1);
  left: var(--space-1);
  z-index: 200;
  padding: var(--space-2) var(--space-3);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
  transition: transform var(--duration-fast) var(--ease);
}

.skip-link:focus-visible { transform: none; }

/* ---------- Типографика ---------- */
/* Надзаголовок: моноширинный, с меткой-мишенью из логотипа */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}

/* Буллит-мишень из логотипа: кольцо с точкой в центре. Единственный буллит на сайте,
   размер задаёт --bullet (точка и толщина кольца считаются от него). */
.eyebrow::before,
.marquee__item::after,
.flow__item::before {
  --bullet: 12px;
  content: "";
  flex: none;
  width: var(--bullet);
  height: var(--bullet);
  border: calc(var(--bullet) / 6) solid var(--accent);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0 calc(var(--bullet) / 6), transparent calc(var(--bullet) / 6 + 0.5px));
}

.section__title {
  max-width: 18ch;
  font-size: var(--fs-h2);
  letter-spacing: var(--tracking-tight);
}

/* Заголовок, на который ведёт якорь, останавливается чуть ниже шапки
   (сама высота шапки учтена в scroll-padding-top у html) */
.section__title[id] { scroll-margin-top: var(--space-2); }

.section__lead {
  max-width: 60ch;
  margin-top: var(--space-3);
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

.lead {
  font-size: var(--fs-lead);
  color: var(--text);
}

/* ---------- Кнопки ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: 56px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform var(--duration-fast) var(--ease),
              box-shadow var(--duration-fast) var(--ease),
              background-color var(--duration-fast) var(--ease),
              border-color var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease);
}

.button__arrow {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease);
}

.button:hover .button__arrow { transform: translate(2px, -2px); }

.button--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.button--primary:active { transform: none; box-shadow: none; }

/* Контур рисуется внутренней тенью, а не border: при масштабе экрана 125% рамка в 1px
   сжимается в волосяную линию и на скруглении выглядит ступенчатой */
.button--ghost {
  box-shadow: inset 0 0 0 var(--outline) rgba(185, 198, 238, .5);
  color: var(--text);
}

.button--ghost:hover { box-shadow: inset 0 0 0 var(--outline) var(--accent); color: var(--accent); }
.button--ghost:active { background: rgba(45, 217, 255, .08); }

.button--small { min-height: 48px; padding: var(--space-1) var(--space-3); font-size: var(--fs-small); }

/* ---------- Чип ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(10, 22, 72, .72);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---------- Карточка: общая основа ---------- */
/* Карточки на сайте без рамок: форму держат заливка и тень */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  box-shadow: var(--shadow-card);
}

/* Свечение за курсором: координаты --mx/--my ставит js/main.js */
.card--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(45, 217, 255, .16), transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease);
  pointer-events: none;
}

.card--glow:hover::before { opacity: 1; }

/* ---------- Появление при скролле (только если работает JS) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

/* Вариант без сдвига: для блоков, внутри которых стоит якорь. Сдвиг смещал бы точку,
   к которой прокручивается страница, на те же 24px. */
.js .reveal--fade { transform: none; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(3, 8, 34, .7) 0%, transparent 100%);
  transition: background-color var(--duration-normal) var(--ease), box-shadow var(--duration-normal) var(--ease);
}

.header--scrolled {
  background: rgba(3, 8, 34, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: var(--header-h);
}

.header__logo { flex: none; display: flex; align-items: center; }
.header__logo img { width: auto; height: 44px; }

.header__nav { display: none; }

.header__list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease);
}

.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  border-radius: 1px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease);
}

.header__link:hover,
.header__link.is-active { color: var(--text); }

.header__link:hover::after,
.header__link.is-active::after { transform: scaleX(1); }

.header__link--cta {
  padding-inline: var(--space-3);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 var(--outline) rgba(185, 198, 238, .5);
  color: var(--text);
  transition: box-shadow var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}

.header__link--cta::after { content: none; }
.header__link--cta:hover,
.header__link--cta.is-active { box-shadow: inset 0 0 0 var(--outline) var(--accent); color: var(--accent); }

/* Бургер */
.burger {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: var(--radius-sm);
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--text);
  transition: transform var(--duration-normal) var(--ease), opacity var(--duration-fast) var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Мобильное меню ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  padding: calc(var(--header-h) + var(--space-4)) var(--gutter) var(--space-4);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(1, 49, 184, .45), transparent 70%),
    rgba(3, 8, 34, .98);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease), visibility 0s linear var(--duration-normal);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--duration-normal) var(--ease);
}

.mobile-menu__list { counter-reset: menu; }

.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--border-soft);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  opacity: 0;
  transform: translateY(16px);
  transition: color var(--duration-fast) var(--ease),
              opacity var(--duration-normal) var(--ease),
              transform var(--duration-normal) var(--ease);
}

.mobile-menu__link::before {
  counter-increment: menu;
  content: "0" counter(menu);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  color: var(--accent);
}

.mobile-menu__link:hover { color: var(--accent); }

.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 50ms + 80ms);
}

.mobile-menu__foot {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--text-dim);
}

.mobile-menu__foot a { color: var(--text-muted); transition: color var(--duration-fast) var(--ease); }
.mobile-menu__foot a:hover { color: var(--accent); }

@media (min-width: 1024px) {
  .header__nav { display: block; }
  .burger, .mobile-menu { display: none; }
  .header__logo img { height: 48px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__media,
.hero__video,
.hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media { z-index: -2; background: var(--bg); }
.hero__video { object-fit: cover; }

.hero__scrim {
  background:
    linear-gradient(180deg, rgba(3, 8, 34, .55) 0%, transparent 28%, transparent 62%, var(--bg) 100%),
    var(--scrim);
}

/* Отступы внутри hero зависят от высоты окна: на невысоких экранах блок сжимается,
   чтобы кнопки и стрелка скролла оставались на первом экране */
.hero__inner {
  position: relative;
  padding-block: calc(var(--header-h) + clamp(1rem, 4vh, 2.5rem)) var(--space-10);
}

.hero__eyebrow { margin-bottom: clamp(0.5rem, 2.4vh, 1.5rem); }

.hero__title {
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: -0.035em;
}

/* Строки заголовка выезжают из-под маски по очереди */
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero__line > span {
  display: block;
  background: var(--gradient-ice);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__line--accent > span { background-image: var(--gradient-accent); }

.hero__lead {
  max-width: 54ch;
  margin-top: clamp(0.75rem, 2.4vh, 1.5rem);
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: clamp(1rem, 4vh, 2.5rem);
}

/* Подсказка скролла: плавающая стрелка в кольце по центру нижнего края */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: var(--space-2);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 var(--outline) rgba(185, 198, 238, .5);
  color: var(--text);
  animation: scroll-float 2.4s ease-in-out infinite;
  transition: box-shadow var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}

.hero__scroll svg { width: 20px; height: 20px; }
.hero__scroll:hover { box-shadow: inset 0 0 0 var(--outline) var(--accent); color: var(--accent); }

@keyframes scroll-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

@keyframes fade-in { to { opacity: 1; } }

/* Поэтапное появление hero при загрузке */
.js .hero__line > span { transform: translateY(110%); animation: hero-line 900ms var(--ease) forwards; }
.js .hero__line:nth-child(1) > span { animation-delay: 150ms; }
.js .hero__line:nth-child(2) > span { animation-delay: 270ms; }
.js .hero__line:nth-child(3) > span { animation-delay: 390ms; }

.js .hero__fade { opacity: 0; transform: translateY(16px); animation: hero-fade 800ms var(--ease) forwards; }
.js .hero__eyebrow.hero__fade { animation-delay: 80ms; }
.js .hero__lead.hero__fade    { animation-delay: 560ms; }
.js .hero__actions.hero__fade { animation-delay: 680ms; }
.js .hero__scroll { opacity: 0; animation: fade-in 800ms var(--ease) 1000ms forwards, scroll-float 2.4s ease-in-out infinite; }

@keyframes hero-line { to { transform: none; } }
@keyframes hero-fade { to { opacity: 1; transform: none; } }

@media (max-height: 520px) {
  .hero__scroll { display: none; }
}

/* На десктопе стрелка привязана к нижнему краю окна, а не блока: она видна на первом
   экране, даже если hero оказался выше окна. Текст слева, центр свободен. */
@media (min-width: 1024px) {
  .hero__scroll {
    top: calc(100vh - 64px);
    top: calc(100svh - 64px);
    bottom: auto;
  }
}

/* ---------- Бегущая строка ---------- */
.marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--border-soft);
  background: var(--bg-alt);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-3) var(--space-5) var(--space-3) 0;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
  color: var(--text-muted);
}

.marquee__item::after { --bullet: 18px; }

@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Секции ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: var(--space-8); }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.about__text .section__title { margin-bottom: var(--space-4); }
.about__text p + p { margin-top: var(--space-2); color: var(--text-muted); }

.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Синий тон и затемнение краёв: фото сливается с фоном сайта */
.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(200deg, rgba(1, 49, 184, .35) 0%, transparent 55%),
    radial-gradient(120% 100% at 50% 40%, transparent 45%, rgba(3, 8, 34, .85) 100%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-10); }
  .about__media img { aspect-ratio: 5 / 5.2; }
}

/* ---------- Services: bento-сетка ---------- */
.services {
  display: grid;
  gap: var(--space-3);
}

.service {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service__scene {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(70% 90% at 50% 100%, rgba(1, 49, 184, .5), transparent 70%),
    var(--bg);
}

.service__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: var(--space-4);
}

.service__num {
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  color: var(--accent);
}

.service__title { margin-bottom: var(--space-1); font-size: var(--fs-h3); }
.service__text { max-width: 56ch; color: var(--text-muted); }

.service__more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 48px;
  margin-top: auto;
  padding-top: var(--space-2);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--accent);
}

.service__more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease);
}

.service:hover .service__more svg { transform: translateX(4px); }

/* Вся карточка кликабельна: ссылка растянута на карточку */
.service__more::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service__more:focus-visible { outline: none; }
.service:has(.service__more:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }

/* CTA-карточка: единственная сплошная акцентная плашка, текст тёмный ради контраста */
.service--cta {
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--gradient-accent);
}

.service--cta .service__title,
.service--cta .service__text { color: var(--accent-ink); }
.service--cta .button { align-self: flex-start; background: var(--accent-ink); color: var(--text); }
/* На голубой плашке тёмная тень выглядит грязно: при наведении кнопка только
   приподнимается и светлеет до синего из логотипа */
.service--cta .button:hover { transform: translateY(-2px); background: var(--brand-navy); }
.service--cta .button:active { transform: none; }

@media (min-width: 768px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service--wide, .service--cta { grid-column: 1 / -1; }
  .service--wide { flex-direction: row; }
  .service--wide .service__scene { flex: 1 1 52%; border-bottom: 0; border-right: 1px solid var(--border-soft); }
  .service--wide .service__body { flex: 1 1 48%; justify-content: center; }
  .service--cta { flex-direction: row; align-items: center; justify-content: space-between; padding: var(--space-5); }
  .service--cta .button { flex: none; }
}

@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(12, 1fr); }
  .service { grid-column: span 4; }
  .service--wide { grid-column: span 7; flex-direction: column; }
  .service--wide .service__scene { flex: none; border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .service--wide .service__body { flex: 1; justify-content: flex-start; }
  .service--tall { grid-column: span 5; }
  .service--cta { grid-column: 1 / -1; }
}

/* ---------- Process: инфографика ---------- */
.process {
  position: relative;
  display: grid;
  gap: var(--space-5);
}

/* Линия-траектория: на мобильных вертикальная, на десктопе горизонтальная */
.process__track {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 19px;
  width: 2px;
  background: var(--border);
}

.process__progress {
  position: absolute;
  inset: 0;
  background: var(--gradient-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1800ms var(--ease);
}

.process.is-visible .process__progress { transform: none; }

.process__step {
  position: relative;
  padding-left: var(--space-8);
}

.process__node {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  transition: border-color var(--duration-normal) var(--ease), box-shadow var(--duration-normal) var(--ease);
  transition-delay: calc(var(--i, 0) * 320ms + 200ms);
}

.process__node::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  transition: background-color var(--duration-normal) var(--ease);
  transition-delay: inherit;
}

.process.is-visible .process__node { border-color: var(--accent); box-shadow: 0 0 0 8px rgba(45, 217, 255, .1); }
.process.is-visible .process__node::after { background: var(--accent); }

.process__label {
  display: block;
  margin-bottom: var(--space-1);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}

.process__title { margin-bottom: var(--space-1); font-size: var(--fs-h3); }
.process__text { max-width: 52ch; color: var(--text-muted); }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(var(--steps, 5), 1fr); gap: var(--space-4); }
  .process__track { top: 19px; bottom: auto; left: 20px; right: 20px; width: auto; height: 2px; }
  .process__progress { transform: scaleX(0); transform-origin: left; }
  .process__step { padding-left: 0; padding-top: var(--space-8); }
}

/* ---------- AI: схема потока ---------- */
.ai__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.ai__cases {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.ai-case {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-2);
  align-items: start;
}

.ai-case svg { width: 40px; height: 40px; }
.ai-case h3 { font-size: 1.125rem; margin-bottom: 4px; }
.ai-case p { color: var(--text-muted); }

.flow {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-4) var(--space-3);
}

.flow__col { display: flex; flex-direction: column; gap: var(--space-2); }

.flow__label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-dim);
}

.flow__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.flow__item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text);
}

.flow__item::before { --bullet: 12px; }

.flow__mid { display: flex; flex-direction: column; align-items: center; }

/* Ядро: мишень из логотипа */
.flow__core {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 168px;
  aspect-ratio: 1;
}

.flow__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(45, 217, 255, .35);
  border-radius: 50%;
}

.flow__ring--2 { inset: 16%; border-style: dashed; }
.flow__ring--3 { inset: 30%; border: 0; background: var(--gradient-brand); box-shadow: var(--shadow-glow); }

.flow__core-text {
  position: relative;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* Соединители с бегущим импульсом */
.flow__link {
  position: relative;
  justify-self: center;
  width: 2px;
  height: var(--space-5);
  margin-block: calc(var(--space-2) * -1);
  background: var(--border);
  overflow: hidden;
}

.flow__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  transform: translateY(-100%);
}

.flow__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.flow__tags .chip { border: 0; background: var(--bg); }

@media (min-width: 640px) {
  .flow {
    grid-template-columns: 1fr auto auto auto 1fr;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-5) var(--space-4);
  }

  .flow__items { flex-direction: column; align-items: stretch; }
  .flow__core { width: 136px; }
  .flow__mid { max-width: 152px; }

  .flow__link {
    width: clamp(16px, 3vw, 40px);
    height: 2px;
    margin: 0;
  }

  .flow__link::after {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-100%);
  }
}

@media (min-width: 768px) {
  .ai__cases { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .flow { justify-self: center; width: min(100%, 720px); }
}

@media (min-width: 1280px) {
  .ai__grid { grid-template-columns: 1fr 1.1fr; gap: var(--space-10); }
  .ai__cases { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* ---------- Growth: цикл продвижения ---------- */
/* Десктоп: сверху заголовок слева и текст справа, ниже схема слева и карточки справа
   на одном уровне. Мобильные: заголовок, текст, схема, список. */
.growth__grid {
  display: grid;
  gap: var(--space-5);
}

.growth__lead { margin-top: calc(var(--space-2) * -1); }

.growth__visual {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
}

/* Заголовок схемы и заголовки карточек справа: один кегль */
.loop__title,
.growth__item h3 { font-size: 1.125rem; }

.loop__title { text-align: center; }

.loop {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  container-type: inline-size;
}

.loop__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.loop__center {
  position: absolute;
  inset: 30%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 1px solid var(--border);
}

/* Центр знака (зрачок мишени) смещён относительно центра картинки из-за стрел:
   сдвиг ставит его ровно в центр круга */
.loop__center img { width: 52%; transform: translate(-3.07%, 2.53%); }

/* Узлы стоят на окружности: угол задаёт --i (5 узлов по 72°) */
.loop__node {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-muted);
  transform:
    rotate(calc(var(--i) * 72deg - 90deg))
    translateX(41cqw)
    rotate(calc(var(--i) * -72deg + 90deg));
}

.growth__list {
  display: grid;
  gap: var(--space-1);
  counter-reset: growth;
}

/* Карточки без рамок: активную показывает заливка */
.growth__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-2);
  align-items: start;
  padding: var(--space-2);
  border-radius: var(--radius-md);
}

.growth__item::before {
  counter-increment: growth;
  content: "0" counter(growth);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--text-muted);
}

.growth__item h3 { margin-bottom: 4px; }
.growth__item p { color: var(--text-muted); }

@media (min-width: 1024px) {
  .growth__grid {
    grid-template-columns: 1fr 1.05fr;
    grid-template-areas:
      "head   lead"
      "visual list";
    align-items: center;
    gap: var(--space-8) var(--space-10);
  }

  .growth__head { grid-area: head; align-self: end; }
  .growth__lead { grid-area: lead; align-self: end; margin-top: 0; }
  /* схема и карточки начинаются с одной линии */
  .growth__visual { grid-area: visual; align-self: start; }
  .growth__list { grid-area: list; align-self: start; }

  /* заголовок схемы опущен на внутренний отступ карточки: стоит на одной линии
     с заголовком первой карточки */
  .loop__title { padding-top: var(--space-2); }
}

/* ---------- Tools ---------- */
.tools {
  display: grid;
  gap: var(--space-3);
}

.tools__group { padding: var(--space-4); }

.tools__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}

.tools__label span { color: var(--text-dim); }

.tools__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
}

/* Инструмент: только логотип и название, без плашки. При наведении оба меняют цвет */
.tool {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 40px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text);
  transition: color var(--duration-fast) var(--ease);
}

.tool svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: var(--text-muted);
  transition: fill var(--duration-fast) var(--ease);
}

.tool:hover { color: var(--accent); }
.tool:hover svg { fill: var(--accent); }

@media (min-width: 768px) {
  .tools { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .tools { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Contacts ---------- */
.section--contacts {
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

/* Фон секции: видео под затемнением. Сверху затемнение уходит в цвет предыдущей секции,
   снизу в цвет подвала, слева оно плотнее, чтобы текст читался */
.contacts__media,
.contacts__video,
.contacts__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contacts__media { z-index: -2; }
.contacts__video { object-fit: cover; }

.contacts__scrim {
  background:
    linear-gradient(180deg, var(--bg-alt) 0%, transparent 22%, transparent 68%, var(--bg) 100%),
    linear-gradient(90deg, rgba(3, 8, 34, .86) 0%, rgba(3, 8, 34, .62) 50%, rgba(3, 8, 34, .4) 100%);
}

/* к блоку заголовка привязан слой со словами (css/scenes.css, .contacts__fly) */
.contacts__head { position: relative; }

.contacts__grid {
  position: relative;
  display: grid;
  gap: var(--space-3);
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-4);
}

.contact__icon { width: 40px; height: 40px; }

.contact__label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact__value {
  font-size: clamp(1.125rem, 1vw + 1rem, 1.375rem);
  font-weight: 500;
  line-height: 1.5;
}

/* Адрес не должен переноситься посреди слова: на узких экранах кегль уменьшается */
.contact__mail {
  font-size: clamp(1.125rem, 6vw, 1.375rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: filter var(--duration-fast) var(--ease);
}

.contact__mail:hover { filter: brightness(1.2); }
.contact__hint { font-size: var(--fs-small); color: var(--text-dim); }

@media (min-width: 768px) {
  .contacts__grid { grid-template-columns: 1fr 1.3fr; }
  .contact { padding: var(--space-5); }
  .contact__mail { font-size: clamp(1.375rem, 3.2vw, 2.25rem); }
}

/* ---------- Footer ---------- */
.footer {
  /* общая сетка строк подвала: по ней стоят и ссылки в колонках, и текст под логотипом */
  --footer-row: 2rem;
  --footer-pitch: calc(var(--footer-row) + var(--space-1));
  --footer-head: calc(var(--fs-label) * var(--lh-heading) + var(--space-2));
  --footer-logo: 3.5rem;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
}

.footer__top {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-8);
}

.footer__brand { display: grid; gap: var(--space-3); justify-items: start; align-content: start; }
.footer__logo { display: block; }
.footer__logo img { width: auto; height: var(--footer-logo); }
.footer__about { display: grid; gap: var(--space-1); max-width: 44ch; font-size: 0.9375rem; color: var(--text-muted); }
.footer__copy { color: var(--text-dim); }

.footer__title {
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer__links { display: grid; gap: var(--space-1); font-size: 0.9375rem; color: var(--text-muted); }

.footer__links li { display: flex; align-items: center; min-height: var(--footer-row); }

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--footer-row);
  transition: color var(--duration-fast) var(--ease);
}

.footer__links a:hover { color: var(--accent); }

@media (min-width: 640px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  /* на узком десктопе первая колонка шире, чтобы текст под логотипом шёл в одну строку */
  .footer__top { grid-template-columns: 1.9fr 1fr 1fr 1.2fr; gap: var(--space-4); }
  .footer__brand { grid-column: auto; gap: 0; }

  /* Текст под логотипом стоит на тех же строках, что и ссылки справа: первая строка
     на уровне второй ссылки, дальше общий шаг. Логотип занимает место заголовка
     колонки и первой ссылки. */
  .footer__about {
    gap: 0;
    margin-top: calc(var(--footer-head) + var(--footer-pitch) + var(--footer-row) / 2 - var(--footer-pitch) / 2 - var(--footer-logo));
    line-height: var(--footer-pitch);
  }
}

@media (min-width: 1280px) {
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-6); }
}

/* на самых узких телефонах кегль чуть меньше, чтобы строки не переносились */
@media (max-width: 359.98px) {
  .footer__about { font-size: var(--fs-small); }
}

/* ---------- Страницы услуг ---------- */
.subhero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: calc(var(--header-h) + var(--space-8)) var(--space-8);
}

.subhero__media,
.subhero__video,
.subhero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.subhero__media { z-index: -1; background: var(--bg); }
.subhero__video { object-fit: cover; }

.subhero__scrim {
  background:
    linear-gradient(180deg, rgba(3, 8, 34, .5) 0%, transparent 40%, var(--bg) 100%),
    var(--scrim);
}

.subhero__grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.subhero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-dim);
}

.subhero__crumbs a { color: var(--accent); transition: color var(--duration-fast) var(--ease); }
.subhero__crumbs a:hover { color: var(--text); }

.subhero__title {
  max-width: 16ch;
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.subhero__lead {
  max-width: 56ch;
  margin-top: var(--space-3);
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

.subhero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

@media (min-width: 1024px) {
  .subhero__grid { grid-template-columns: 1.15fr 1fr; gap: var(--space-8); }
}

.features {
  display: grid;
  gap: var(--space-3);
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-4);
}

.feature svg { width: 40px; height: 40px; }
.feature h3 { font-size: 1.25rem; }
.feature p { color: var(--text-muted); }

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

/* Общая линейная иконка: обводка акцентом */
.icon {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* CTA-полоса */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--section-y);
  border-top: 1px solid var(--border-soft);
  background:
    radial-gradient(60% 100% at 85% 0%, rgba(1, 49, 184, .5), transparent 70%),
    var(--bg-alt);
}

.cta-band .container { position: relative; }

.cta-band__title {
  max-width: 20ch;
  font-size: var(--fs-h2);
  font-weight: 900;
  letter-spacing: var(--tracking-tight);
}

.cta-band__text {
  max-width: 54ch;
  margin-top: var(--space-2);
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

.cta-band .button { margin-top: var(--space-5); }

/* ---------- Privacy policy ---------- */
.legal { padding-block: calc(var(--header-h) + var(--space-8)) var(--section-y); }

.legal__title {
  margin-bottom: var(--space-2);
  font-size: var(--fs-h1);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.legal__updated {
  margin-bottom: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--text-dim);
}

.legal h2 { margin: var(--space-6) 0 var(--space-2); font-size: var(--fs-h3); }
.legal p, .legal li { max-width: 70ch; color: var(--text-muted); }
.legal p + p { margin-top: var(--space-2); }
.legal ul { display: grid; gap: var(--space-1); margin-top: var(--space-2); padding-left: var(--space-3); list-style: disc; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; transition: color var(--duration-fast) var(--ease); }
.legal a:hover { color: var(--text); }

/* ---------- Cookie-баннер: единственная правка поверх css/consent.css ----------
   В образце у баннера min-width: 350px. На экранах уже 390px он выходит за правый
   край и текст обрезается, поэтому здесь минимальная ширина снимается. */
@media (max-width: 389.98px) {
  .consent.bottom-center { min-width: 0; }
}

/* ==========================================================================
   Без движения
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
