/* --- directions-hub: свой «холодный» неон, мягкий стык с hero (маска сверху + общий базовый тон) --- */

#directions-hub {
  --dh-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dh-transition: 0.4s var(--dh-ease);

  position: relative;
  background: var(--directions-hub-base);
  color: var(--artvoic-text);
  font-family: var(--artvoic-font-body);
  overflow: hidden;
  isolation: isolate;
  /* Поджимает микро-зазор между секциями в вёрстке */
  margin-top: -1px;
  padding-top: 1px;
}

#directions-hub .directions-hub__bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#directions-hub .directions-hub__aurora {
  position: absolute;
  inset: -32% -25% -28% -25%;
  transform-origin: 55% 45%;
  /* Электрик + индиго, без копирования мятной палитры hero */
  background:
    radial-gradient(ellipse 42% 48% at 78% 22%, rgba(64, 196, 255, 0.34), transparent 58%),
    radial-gradient(ellipse 46% 40% at 18% 65%, rgba(120, 140, 255, 0.18), transparent 52%),
    radial-gradient(ellipse 50% 44% at 88% 78%, rgba(0, 170, 255, 0.2), transparent 55%),
    radial-gradient(ellipse 55% 50% at 42% 48%, rgba(40, 80, 160, 0.24), transparent 60%),
    radial-gradient(ellipse 38% 42% at 62% 28%, rgba(90, 220, 255, 0.12), transparent 50%);
  filter: blur(40px);
  animation: directions-hub-aurora 22s ease-in-out infinite alternate;
  animation-delay: -7s;
  /* Сверху декор почти невидим — нет «второго такого же пятна» на стыке с hero */
  /* Сверху и снизу гасим декор — бесшовные стыки с hero и about (как полоса между hero и directions) */
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 12%,
    #000 34%,
    #000 66%,
    rgba(0, 0, 0, 0.5) 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 12%,
    #000 34%,
    #000 66%,
    rgba(0, 0, 0, 0.5) 82%,
    transparent 100%
  );
}

#directions-hub .directions-hub__glow {
  position: absolute;
  top: 18%;
  right: -8%;
  left: auto;
  width: min(62vw, 580px);
  height: min(62vw, 580px);
  background: radial-gradient(
    circle,
    rgba(80, 170, 255, 0.26) 0%,
    rgba(40, 100, 200, 0.08) 45%,
    transparent 72%
  );
  filter: blur(68px);
  animation: directions-hub-breath 13s ease-in-out infinite;
  animation-delay: -4s;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 68%, transparent 100%);
}

#directions-hub .directions-hub__glow::after {
  content: "";
  position: absolute;
  left: -55%;
  bottom: -40%;
  right: auto;
  width: min(54vw, 520px);
  height: min(54vw, 520px);
  background: radial-gradient(circle, rgba(100, 90, 220, 0.2) 0%, transparent 68%);
  filter: blur(58px);
  animation: directions-hub-breath 17s ease-in-out infinite reverse;
  animation-delay: -9s;
  opacity: 0.75;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 65%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 65%, transparent 100%);
}

#directions-hub .directions-hub__overlay {
  position: absolute;
  inset: 0;
  /* Верх: как от hero; низ: тот же приём, что у hero-dubbing — мягкий «сход» через тёмное к фону about */
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 48%,
      rgba(6, 6, 14, 0.38) 74%,
      var(--about-author-base) 100%
    ),
    linear-gradient(180deg, var(--directions-hub-base) 0%, rgba(5, 5, 10, 0.92) 14%, transparent 32%),
    radial-gradient(
      ellipse 102% 88% at 50% 58%,
      transparent 0%,
      rgba(5, 5, 10, 0.32) 58%,
      rgba(5, 5, 12, 0.62) 84%,
      transparent 100%
    );
}

#directions-hub .directions-hub__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding:
    clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 5rem)
    calc(clamp(2.5rem, 5vw, 4.5rem) + clamp(64px, 11vh, 108px));
}

/* Оболочка волны: directions-hub, about-author, course-audience — одна геометрия; stroke задаётся отдельно */
#directions-hub .directions-hub__wave,
#about-author .about-author__wave,
#course-audience .course-audience__wave,
#course-after-audience .course-after-audience__wave,
#course-program .course-program__wave,
:is(#kids-program, #imx-program) .course-program__wave,
#imx-program .kids-landing__wave,
:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave,
#kids-results .kids-landing__wave,
#imx-audience .kids-landing__wave,
#pco-audience .kids-landing__wave,
#imx-value .kids-landing__wave,
#pco-advantages .kids-landing__wave,
#kids-studio-videos .kids-landing__wave,
#kids-reviews .kids-landing__wave,
#imx-backstage .kids-landing__wave,
#pco-gifts .kids-landing__wave,
#kids-mentor .kids-landing__wave,
:is(#kids-faq, #imx-faq) .kids-landing__wave,
#course-how-learning .course-how-learning__wave,
#course-pocket-studio .course-pocket-studio__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: clamp(72px, 12vh, 120px);
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

/* Волна над нижним затемнением hero — линия читается на видео/градиенте */
:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave {
  z-index: 4;
}

#directions-hub .directions-hub__wave-track,
#about-author .about-author__wave-track,
#course-audience .course-audience__wave-track,
#course-after-audience .course-after-audience__wave-track,
#course-program .course-program__wave-track,
:is(#kids-program, #imx-program) .course-program__wave-track,
#imx-program .kids-landing__wave-track,
:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave-track,
#kids-results .kids-landing__wave-track,
#imx-audience .kids-landing__wave-track,
#pco-audience .kids-landing__wave-track,
#imx-value .kids-landing__wave-track,
#pco-advantages .kids-landing__wave-track,
#kids-studio-videos .kids-landing__wave-track,
#kids-reviews .kids-landing__wave-track,
#imx-backstage .kids-landing__wave-track,
#pco-gifts .kids-landing__wave-track,
#kids-mentor .kids-landing__wave-track,
:is(#kids-faq, #imx-faq) .kids-landing__wave-track,
#course-how-learning .course-how-learning__wave-track,
#course-pocket-studio .course-pocket-studio__wave-track {
  display: flex;
  width: 200%;
  height: 100%;
  animation: hero-dubbing-wave 26s linear infinite;
}

#about-author .about-author__wave-track,
#course-pocket-studio .course-pocket-studio__wave-track {
  animation-duration: 28s;
}

#course-audience .course-audience__wave-track {
  animation-duration: 27s;
}

#course-after-audience .course-after-audience__wave-track {
  animation-duration: 30s;
}

#course-program .course-program__wave-track,
:is(#kids-program, #imx-program) .course-program__wave-track,
#imx-program .kids-landing__wave-track,
:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave-track,
#kids-results .kids-landing__wave-track,
#imx-audience .kids-landing__wave-track,
#pco-audience .kids-landing__wave-track,
#imx-value .kids-landing__wave-track,
#pco-advantages .kids-landing__wave-track,
#kids-studio-videos .kids-landing__wave-track,
#kids-reviews .kids-landing__wave-track,
#imx-backstage .kids-landing__wave-track,
#pco-gifts .kids-landing__wave-track,
#kids-mentor .kids-landing__wave-track,
:is(#kids-faq, #imx-faq) .kids-landing__wave-track {
  animation-duration: 31s;
}

#course-how-learning .course-how-learning__wave-track {
  animation-duration: 33s;
}

#directions-hub .directions-hub__wave-svg,
#about-author .about-author__wave-svg,
#course-audience .course-audience__wave-svg,
#course-after-audience .course-after-audience__wave-svg,
#course-program .course-program__wave-svg,
:is(#kids-program, #imx-program) .course-program__wave-svg,
#imx-program .kids-landing__wave-svg,
:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave-svg,
#kids-results .kids-landing__wave-svg,
#imx-audience .kids-landing__wave-svg,
#pco-audience .kids-landing__wave-svg,
#imx-value .kids-landing__wave-svg,
#pco-advantages .kids-landing__wave-svg,
#kids-studio-videos .kids-landing__wave-svg,
#kids-reviews .kids-landing__wave-svg,
#imx-backstage .kids-landing__wave-svg,
#pco-gifts .kids-landing__wave-svg,
#kids-mentor .kids-landing__wave-svg,
:is(#kids-faq, #imx-faq) .kids-landing__wave-svg,
#course-how-learning .course-how-learning__wave-svg,
#course-pocket-studio .course-pocket-studio__wave-svg {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: block;
}

#directions-hub .directions-hub__wave-line,
#about-author .about-author__wave-line,
#course-audience .course-audience__wave-line,
#course-after-audience .course-after-audience__wave-line,
#course-program .course-program__wave-line,
:is(#kids-program, #imx-program) .course-program__wave-line,
#imx-program .kids-landing__wave-line,
:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave-line,
#kids-results .kids-landing__wave-line,
#imx-audience .kids-landing__wave-line,
#pco-audience .kids-landing__wave-line,
#imx-value .kids-landing__wave-line,
#pco-advantages .kids-landing__wave-line,
#kids-studio-videos .kids-landing__wave-line,
#kids-reviews .kids-landing__wave-line,
#imx-backstage .kids-landing__wave-line,
#pco-gifts .kids-landing__wave-line,
#kids-mentor .kids-landing__wave-line,
:is(#kids-faq, #imx-faq) .kids-landing__wave-line,
#course-how-learning .course-how-learning__wave-line,
#course-pocket-studio .course-pocket-studio__wave-line {
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.5;
}

#directions-hub .directions-hub__wave-line,
#course-audience .course-audience__wave-line,
#course-pocket-studio .course-pocket-studio__wave-line {
  stroke: var(--artvoic-accent);
}

#about-author .about-author__wave-line {
  stroke: var(--artvoic-accent-purple);
}

#directions-hub .directions-hub__wave-line--soft,
#about-author .about-author__wave-line--soft,
#course-audience .course-audience__wave-line--soft,
#course-after-audience .course-after-audience__wave-line--soft,
#course-program .course-program__wave-line--soft,
:is(#kids-program, #imx-program) .course-program__wave-line--soft,
#imx-program .kids-landing__wave-line--soft,
:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave-line--soft,
#kids-results .kids-landing__wave-line--soft,
#imx-audience .kids-landing__wave-line--soft,
#pco-audience .kids-landing__wave-line--soft,
#imx-value .kids-landing__wave-line--soft,
#pco-advantages .kids-landing__wave-line--soft,
#kids-studio-videos .kids-landing__wave-line--soft,
#kids-reviews .kids-landing__wave-line--soft,
#imx-backstage .kids-landing__wave-line--soft,
#pco-gifts .kids-landing__wave-line--soft,
#kids-mentor .kids-landing__wave-line--soft,
:is(#kids-faq, #imx-faq) .kids-landing__wave-line--soft,
#course-how-learning .course-how-learning__wave-line--soft,
#course-pocket-studio .course-pocket-studio__wave-line--soft {
  stroke-width: 1.15;
  opacity: 0.38;
}

#directions-hub .directions-hub__wave-line--soft,
#course-audience .course-audience__wave-line--soft,
#course-pocket-studio .course-pocket-studio__wave-line--soft {
  stroke: rgba(100, 220, 210, 0.72);
}

#about-author .about-author__wave-line--soft {
  stroke: rgba(180, 170, 255, 0.85);
}

#course-after-audience .course-after-audience__wave-line,
#course-program .course-program__wave-line,
:is(#kids-program, #imx-program) .course-program__wave-line,
#imx-program .kids-landing__wave-line,
:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave-line,
#kids-results .kids-landing__wave-line,
#imx-audience .kids-landing__wave-line,
#pco-audience .kids-landing__wave-line,
#imx-value .kids-landing__wave-line,
#pco-advantages .kids-landing__wave-line,
#kids-studio-videos .kids-landing__wave-line,
#kids-reviews .kids-landing__wave-line,
#imx-backstage .kids-landing__wave-line,
#pco-gifts .kids-landing__wave-line,
#kids-mentor .kids-landing__wave-line,
:is(#kids-faq, #imx-faq) .kids-landing__wave-line,
#course-how-learning .course-how-learning__wave-line {
  stroke: var(--course-bridge-wave);
}

#course-after-audience .course-after-audience__wave-line--soft,
#course-program .course-program__wave-line--soft,
:is(#kids-program, #imx-program) .course-program__wave-line--soft,
#imx-program .kids-landing__wave-line--soft,
:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave-line--soft,
#kids-results .kids-landing__wave-line--soft,
#imx-audience .kids-landing__wave-line--soft,
#pco-audience .kids-landing__wave-line--soft,
#imx-value .kids-landing__wave-line--soft,
#pco-advantages .kids-landing__wave-line--soft,
#kids-studio-videos .kids-landing__wave-line--soft,
#kids-reviews .kids-landing__wave-line--soft,
#imx-backstage .kids-landing__wave-line--soft,
#pco-gifts .kids-landing__wave-line--soft,
#kids-mentor .kids-landing__wave-line--soft,
:is(#kids-faq, #imx-faq) .kids-landing__wave-line--soft,
#course-how-learning .course-how-learning__wave-line--soft {
  stroke: var(--course-bridge-wave-soft);
}

:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave-line {
  opacity: 0.82;
  stroke-width: 2;
}

:is(#kids-hero, #imx-hero, #pco-hero) .kids-landing__wave-line--soft {
  opacity: 0.55;
  stroke-width: 1.3;
}

#directions-hub .directions-hub__head {
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}

#directions-hub .directions-hub__kicker {
  display: block;
  margin: 0 0 0.5rem;
  font-family: var(--artvoic-font-body);
  font-weight: 600;
  font-size: clamp(0.65rem, 0.42vw + 0.58rem, 0.8rem);
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--artvoic-accent);
}

#directions-hub .directions-hub__title {
  margin: 0;
  font-family: var(--artvoic-font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw + 0.85rem, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--artvoic-text);
  text-shadow:
    0 0 42px rgba(0, 255, 209, 0.14),
    0 2px 24px rgba(0, 0, 0, 0.85),
    0 0 1px rgba(0, 0, 0, 0.9);
}

#directions-hub .directions-hub__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

#directions-hub .directions-hub__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(280px, 38vw, 360px);
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(20, 20, 30, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition:
    transform var(--dh-transition),
    border-color var(--dh-transition),
    box-shadow var(--dh-transition);
  opacity: 0;
  transform: translateY(20px);
}

#directions-hub .directions-hub__card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s var(--dh-ease),
    transform 0.65s var(--dh-ease),
    border-color var(--dh-transition),
    box-shadow var(--dh-transition);
}

#directions-hub .directions-hub__grid > li:nth-child(1) .directions-hub__card.is-visible {
  transition-delay: 0s, 0s, 0s, 0s;
}

#directions-hub .directions-hub__grid > li:nth-child(2) .directions-hub__card.is-visible {
  transition-delay: 0.08s, 0.08s, 0s, 0s;
}

#directions-hub .directions-hub__grid > li:nth-child(3) .directions-hub__card.is-visible {
  transition-delay: 0.16s, 0.16s, 0s, 0s;
}

#directions-hub .directions-hub__grid > li:nth-child(4) .directions-hub__card.is-visible {
  transition-delay: 0.24s, 0.24s, 0s, 0s;
}

#directions-hub .directions-hub__card.is-visible:hover {
  transform: translateY(-10px);
  border-color: var(--artvoic-accent);
  box-shadow: 0 0 15px rgba(0, 255, 209, 0.3), 0 20px 48px rgba(0, 0, 0, 0.45);
}

#directions-hub .directions-hub__card:focus-visible {
  outline: 2px solid var(--artvoic-accent);
  outline-offset: 4px;
}

#directions-hub .directions-hub__card-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

#directions-hub .directions-hub__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform var(--dh-transition);
  will-change: transform;
}

#directions-hub .directions-hub__card.is-visible:hover .directions-hub__card-bg {
  transform: scale(1.1);
}

#directions-hub .directions-hub__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.35) 0%,
    rgba(8, 8, 8, 0.72) 45%,
    rgba(5, 5, 8, 0.92) 100%
  );
  pointer-events: none;
}

#directions-hub .directions-hub__card-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.15rem, 3vw, 1.85rem);
}

#directions-hub .directions-hub__card-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--artvoic-font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.1vw + 0.82rem, 1.28rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.artvoic-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.12rem 0.4rem;
  font-family: var(--artvoic-font-body);
  font-size: 0.68em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

#site-header .site-header__drawer .site-header__nav-title .artvoic-age-badge {
  font-size: 0.62rem;
  padding: 0.1rem 0.32rem;
  margin-left: 0.15rem;
  vertical-align: middle;
  color: var(--artvoic-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

#directions-hub .directions-hub__card-text {
  margin: 0;
  font-size: clamp(0.88rem, 0.35vw + 0.8rem, 1.02rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42ch;
}

#directions-hub .directions-hub__card-accent {
  color: var(--artvoic-accent);
  font-weight: 700;
  text-shadow: 0 0 18px rgba(0, 255, 209, 0.35);
}

#directions-hub .directions-hub__btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--artvoic-font-body);
  font-weight: 700;
  font-size: clamp(0.8rem, 0.25vw + 0.76rem, 0.95rem);
  line-height: 1.2;
  color: var(--artvoic-bg);
  background: var(--artvoic-accent);
  border-radius: 8px;
  border: none;
  box-shadow: 0 0 0 1px rgba(0, 255, 209, 0.35), 0 10px 32px rgba(0, 255, 209, 0.12);
  pointer-events: none;
  transition: filter 0.25s ease, box-shadow 0.25s ease;
}

#directions-hub .directions-hub__card.is-visible:hover .directions-hub__btn {
  filter: brightness(1.12);
  box-shadow: 0 0 0 1px rgba(0, 255, 209, 0.55), 0 14px 40px rgba(0, 255, 209, 0.22);
}

@media (max-width: 768px) {
  #directions-hub .directions-hub__grid {
    grid-template-columns: 1fr;
  }

  #directions-hub .directions-hub__card-body {
    padding: clamp(1rem, 4vw, 1.25rem);
    gap: 0.65rem;
  }

  #directions-hub .directions-hub__btn {
    padding: 0.55rem 1rem;
    font-size: clamp(0.76rem, 2vw + 0.65rem, 0.88rem);
  }

  #directions-hub .directions-hub__card {
    min-height: 260px;
  }
}

/* --- about-author: об авторе — лёгкий тон, видео, карточки работ, лента брендов --- */

#about-author {
  --aa-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --aa-reveal: 0.65s var(--aa-ease);

  position: relative;
  background: var(--about-author-base);
  color: var(--artvoic-text);
  font-family: var(--artvoic-font-body);
  overflow: hidden;
  isolation: isolate;
  margin-top: -1px;
  padding-top: 1px;
}

#about-author .about-author__bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#about-author .about-author__aurora {
  position: absolute;
  inset: -32% -24% -28% -24%;
  transform-origin: 40% 55%;
  background:
    radial-gradient(ellipse 52% 40% at 50% 6%, rgba(64, 196, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 48% 44% at 72% 28%, rgba(0, 255, 209, 0.22), transparent 56%),
    radial-gradient(ellipse 50% 46% at 20% 68%, rgba(120, 170, 255, 0.14), transparent 54%),
    radial-gradient(ellipse 54% 40% at 55% 86%, rgba(0, 220, 195, 0.12), transparent 52%),
    radial-gradient(ellipse 62% 52% at 46% 48%, rgba(40, 55, 120, 0.26), transparent 60%);
  filter: blur(46px);
  animation: about-author-aurora 26s ease-in-out infinite alternate;
  animation-delay: -5s;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.32) 10%,
    #000 32%,
    #000 68%,
    rgba(0, 0, 0, 0.35) 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.32) 10%,
    #000 32%,
    #000 68%,
    rgba(0, 0, 0, 0.35) 82%,
    transparent 100%
  );
}

#about-author .about-author__glow {
  position: absolute;
  top: 18%;
  left: -8%;
  width: min(58vw, 560px);
  height: min(58vw, 560px);
  background: radial-gradient(
    circle,
    rgba(0, 255, 209, 0.26) 0%,
    rgba(0, 255, 209, 0.08) 40%,
    transparent 68%
  );
  filter: blur(76px);
  animation: about-author-breath 16s ease-in-out infinite;
  animation-delay: -3s;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    #000 34%,
    #000 62%,
    rgba(0, 0, 0, 0.45) 78%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    #000 34%,
    #000 62%,
    rgba(0, 0, 0, 0.45) 78%,
    transparent 100%
  );
}

#about-author .about-author__glow::after {
  content: "";
  position: absolute;
  right: -38%;
  top: -22%;
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  background: radial-gradient(circle, rgba(130, 175, 255, 0.22) 0%, rgba(80, 100, 200, 0.06) 45%, transparent 66%);
  filter: blur(64px);
  animation: about-author-breath 19s ease-in-out infinite reverse;
  animation-delay: -8s;
  opacity: 1;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    #000 32%,
    #000 58%,
    rgba(0, 0, 0, 0.4) 76%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    #000 32%,
    #000 58%,
    rgba(0, 0, 0, 0.4) 76%,
    transparent 100%
  );
}

#about-author .about-author__overlay {
  position: absolute;
  inset: 0;
  background:
    /* Верх: продолжение directions через тот же базовый тёмный, затем тон секции — без шва */
    linear-gradient(
      180deg,
      var(--directions-hub-base) 0%,
      var(--about-author-base) 12%,
      rgba(6, 7, 16, 0.55) 20%,
      transparent 34%
    ),
    radial-gradient(
      ellipse 100% 84% at 50% 52%,
      transparent 0%,
      rgba(6, 6, 14, 0.22) 48%,
      rgba(6, 8, 22, 0.45) 72%,
      rgba(6, 6, 18, 0.55) 82%,
      rgba(7, 8, 20, 0.88) 92%,
      var(--social-proof-base) 100%
    );
}

#about-author .about-author__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding:
    clamp(2.25rem, 4.5vw, 4rem) clamp(1.25rem, 5vw, 5rem)
    calc(clamp(2.75rem, 5vw, 4.5rem) + clamp(64px, 11vh, 108px));
}

#about-author .about-author__head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
}

#about-author .about-author__reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--aa-reveal), transform var(--aa-reveal);
}

#about-author .about-author__reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#about-author .about-author__title {
  margin: 0 0 0.45rem;
  font-family: var(--artvoic-font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 2.2vw + 0.95rem, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--artvoic-text);
  text-shadow:
    0 0 36px rgba(0, 255, 209, 0.1),
    0 2px 20px rgba(0, 0, 0, 0.75);
}

#about-author .about-author__tagline {
  margin: 0 0 1rem;
  font-family: var(--artvoic-font-display);
  font-weight: 500;
  font-size: clamp(0.95rem, 0.9vw + 0.72rem, 1.22rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--artvoic-text-soft);
}

#about-author .about-author__lead {
  margin: 0;
  font-size: clamp(0.92rem, 0.35vw + 0.82rem, 1.02rem);
  line-height: 1.65;
  font-weight: 400;
  color: var(--artvoic-text-muted);
}

#about-author .about-author__video-wrap {
  max-width: 800px;
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

#about-author .about-author__video-reveal {
  transition-delay: 0.06s;
}

#about-author .about-author__video-box {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  background: rgba(12, 12, 20, 0.65);
  aspect-ratio: 16 / 9;
}

#about-author .about-author__video-box video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: contain;
  background: #0a0a10;
}

#about-author .about-author__video-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  background: transparent;
  color: inherit;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

#about-author .about-author__video-poster.is-hidden {
  display: none;
}

#about-author .about-author__video-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#about-author .about-author__video-poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 12, 0.35) 0%, rgba(5, 5, 14, 0.55) 100%);
  pointer-events: none;
}

#about-author .about-author__video-play {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.5rem, 8vw, 4.5rem);
  height: clamp(3.5rem, 8vw, 4.5rem);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 255, 209, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 255, 209, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.45);
  color: var(--artvoic-text);
  transition:
    transform 0.25s var(--aa-ease),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

#about-author .about-author__video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 0.55em 0 0.55em 0.9em;
  border-color: transparent transparent transparent currentColor;
}

#about-author .about-author__video-poster:hover .about-author__video-play,
#about-author .about-author__video-poster:focus-visible .about-author__video-play {
  transform: scale(1.06);
  background: rgba(0, 255, 209, 0.35);
  border-color: var(--artvoic-accent);
  box-shadow:
    0 0 0 1px rgba(0, 255, 209, 0.5),
    0 16px 48px rgba(0, 255, 209, 0.15);
}

#about-author .about-author__video-poster:focus-visible {
  outline: 2px solid var(--artvoic-accent);
  outline-offset: 4px;
}

#about-author .about-author__video-caption {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: clamp(0.72rem, 0.2vw + 0.68rem, 0.82rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

#about-author .about-author__section-title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.65rem);
  font-family: var(--artvoic-font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.4vw + 0.82rem, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--artvoic-text);
  text-align: center;
  text-shadow: 0 0 28px rgba(0, 255, 209, 0.08);
}

#about-author .about-author__works-head-reveal {
  transition-delay: 0.08s;
}

#about-author .about-author__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.15rem);
  list-style: none;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  padding: 0;
}

#about-author .about-author__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 28, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
  transition:
    opacity 0.65s var(--aa-ease),
    transform 0.65s var(--aa-ease),
    border-color 0.4s var(--aa-ease),
    box-shadow 0.4s var(--aa-ease);
  opacity: 0;
  transform: translateY(20px);
}

#about-author .about-author__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#about-author .about-author__cards > li:nth-child(1) .about-author__card.is-visible {
  transition-delay: 0s, 0s, 0s, 0s;
}
#about-author .about-author__cards > li:nth-child(2) .about-author__card.is-visible {
  transition-delay: 0.06s, 0.06s, 0s, 0s;
}
#about-author .about-author__cards > li:nth-child(3) .about-author__card.is-visible {
  transition-delay: 0.12s, 0.12s, 0s, 0s;
}
#about-author .about-author__cards > li:nth-child(4) .about-author__card.is-visible {
  transition-delay: 0.18s, 0.18s, 0s, 0s;
}

#about-author .about-author__card.is-visible:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 209, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 255, 209, 0.12), 0 14px 40px rgba(0, 0, 0, 0.38);
}

#about-author .about-author__card-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

#about-author .about-author__card-title {
  margin: 0 0 0.65rem;
  font-family: var(--artvoic-font-display);
  font-weight: 600;
  font-size: clamp(0.88rem, 0.5vw + 0.78rem, 1.05rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--artvoic-text);
}

#about-author .about-author__card-list {
  margin: 0;
  padding: 0 0 0 1.05rem;
  list-style: disc;
  font-size: clamp(0.78rem, 0.22vw + 0.72rem, 0.88rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

#about-author .about-author__card-list li {
  margin-bottom: 0.35em;
}

#about-author .about-author__card-list li:last-child {
  margin-bottom: 0;
}

#about-author .about-author__brands {
  margin-top: clamp(0.25rem, 1vw, 0.5rem);
  padding: clamp(0.65rem, 1.5vw, 0.85rem) 0;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 209, 0.12);
  background: linear-gradient(180deg, rgba(12, 14, 28, 0.65) 0%, rgba(8, 9, 20, 0.4) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

#about-author .about-author__marquee {
  width: 100%;
  min-height: clamp(44px, 8vw, 64px);
}

#about-author .about-author__marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: about-author-marquee 52s linear infinite;
  will-change: transform;
}

#about-author .about-author__marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.75rem);
  padding: 0 clamp(1.25rem, 3vw, 2rem);
}

#about-author .about-author__marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
}

#about-author .about-author__marquee-item img {
  display: block;
  height: clamp(32px, 5vw, 52px);
  width: auto;
  max-width: min(180px, 38vw);
  object-fit: contain;
  object-position: center;
  filter: grayscale(0.15) brightness(1.08) contrast(1.02);
  transition: filter 0.4s var(--aa-ease), opacity 0.4s var(--aa-ease);
}

#about-author .about-author__brands:hover .about-author__marquee-item img {
  filter: grayscale(0) brightness(1.12) contrast(1.03);
  opacity: 1;
}

@media (max-width: 1099px) {
  #about-author .about-author__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #about-author .about-author__cards {
    grid-template-columns: 1fr;
  }

  #about-author .about-author__card.is-visible:hover {
    transform: translateY(0);
  }

  #about-author .about-author__marquee-group {
    gap: clamp(1.35rem, 6vw, 2.25rem);
  }
}

/* --- social-proof: социальное доказательство — портфолио до/после, отзывы, цифры, логотипы --- */

#social-proof {
  --sp-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --sp-portfolio-accent: var(--artvoic-accent-purple);
  --sp-card-bg: #1a1a1a;
  --sp-card-border: #2a2a2a;

  position: relative;
  background: var(--social-proof-base);
  color: var(--artvoic-text);
  font-family: var(--artvoic-font-body);
  overflow: hidden;
  isolation: isolate;
  margin-top: -1px;
  padding-top: 1px;
}

#social-proof .social-proof__bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Фон — те же слои и значения, что у #about-author (aurora / glow / overlay), анимации те же */
#social-proof .social-proof__aurora {
  position: absolute;
  inset: -32% -24% -28% -24%;
  transform-origin: 40% 55%;
  background:
    radial-gradient(ellipse 52% 40% at 50% 6%, rgba(64, 196, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 48% 44% at 72% 28%, rgba(0, 255, 209, 0.22), transparent 56%),
    radial-gradient(ellipse 50% 46% at 20% 68%, rgba(120, 170, 255, 0.14), transparent 54%),
    radial-gradient(ellipse 54% 40% at 55% 86%, rgba(0, 220, 195, 0.12), transparent 52%),
    radial-gradient(ellipse 62% 52% at 46% 48%, rgba(40, 55, 120, 0.26), transparent 60%);
  filter: blur(46px);
  animation: about-author-aurora 26s ease-in-out infinite alternate;
  animation-delay: -5s;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.32) 10%,
    #000 32%,
    #000 68%,
    rgba(0, 0, 0, 0.35) 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.32) 10%,
    #000 32%,
    #000 68%,
    rgba(0, 0, 0, 0.35) 82%,
    transparent 100%
  );
}

#social-proof .social-proof__glow {
  position: absolute;
  top: 18%;
  left: -8%;
  width: min(58vw, 560px);
  height: min(58vw, 560px);
  background: radial-gradient(
    circle,
    rgba(0, 255, 209, 0.26) 0%,
    rgba(0, 255, 209, 0.08) 40%,
    transparent 68%
  );
  filter: blur(76px);
  animation: about-author-breath 16s ease-in-out infinite;
  animation-delay: -3s;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    #000 34%,
    #000 62%,
    rgba(0, 0, 0, 0.45) 78%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    #000 34%,
    #000 62%,
    rgba(0, 0, 0, 0.45) 78%,
    transparent 100%
  );
}

#social-proof .social-proof__glow::after {
  content: "";
  position: absolute;
  right: -38%;
  top: -22%;
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  background: radial-gradient(circle, rgba(130, 175, 255, 0.22) 0%, rgba(80, 100, 200, 0.06) 45%, transparent 66%);
  filter: blur(64px);
  animation: about-author-breath 19s ease-in-out infinite reverse;
  animation-delay: -8s;
  opacity: 1;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    #000 32%,
    #000 58%,
    rgba(0, 0, 0, 0.4) 76%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    #000 32%,
    #000 58%,
    rgba(0, 0, 0, 0.4) 76%,
    transparent 100%
  );
}

/* Верх: стык с «об авторе»; низ: тот же radial, что в about-author__overlay (финал — база секции) */
#social-proof .social-proof__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      var(--about-author-base) 0%,
      var(--social-proof-base) 12%,
      rgba(12, 12, 26, 0.55) 20%,
      transparent 34%
    ),
    radial-gradient(
      ellipse 100% 84% at 50% 52%,
      transparent 0%,
      rgba(6, 6, 14, 0.22) 48%,
      rgba(6, 8, 22, 0.45) 72%,
      rgba(6, 6, 18, 0.55) 82%,
      rgba(7, 8, 20, 0.88) 92%,
      var(--social-proof-base) 100%
    );
}

#social-proof .social-proof__inner {
  position: relative;
  z-index: 2;
  /* BFC: отступы дочерних блоков не схлопываются с краями и с соседней секцией — без «влезания» под about-author */
  display: flow-root;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding:
    clamp(2.25rem, 4.5vw, 4rem) clamp(1.25rem, 5vw, 5rem)
    clamp(2.5rem, 5vw, 4.5rem);
}

#social-proof .social-proof__head {
  margin: 0 0 clamp(0.35rem, 1.5vw, 0.65rem);
  text-align: center;
}

#social-proof .social-proof__kicker {
  display: block;
  margin: 0 0 0.5rem;
  font-family: var(--artvoic-font-body);
  font-weight: 600;
  font-size: clamp(0.65rem, 0.42vw + 0.58rem, 0.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sp-portfolio-accent);
}

#social-proof .social-proof__kicker--muted {
  color: var(--artvoic-accent);
}

#social-proof .social-proof__title-main {
  margin: 0;
  font-family: var(--artvoic-font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.8vw + 0.75rem, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--artvoic-text);
  text-shadow:
    0 0 40px rgba(108, 99, 255, 0.12),
    0 2px 24px rgba(0, 0, 0, 0.85);
}

#social-proof .social-proof__title-sub {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.88rem, 0.35vw + 0.78rem, 0.98rem);
  line-height: 1.6;
  color: var(--artvoic-text-muted);
}

#social-proof .social-proof__portfolio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  /* Тема: ol, ul { margin: 0 0 1.5em 3em } — задаём все стороны явно (трёхзначный shorthand не обязателен) */
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  list-style: none;
  padding: 0;
}

#social-proof .social-proof__portfolio > li {
  float: none;
}

#social-proof .social-proof__portfolio-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  border-radius: 16px;
  border: 1px solid var(--sp-card-border);
  background: var(--sp-card-bg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.35s var(--sp-ease),
    border-color 0.35s var(--sp-ease),
    box-shadow 0.35s var(--sp-ease);
}

#social-proof .social-proof__portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 99, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(108, 99, 255, 0.12),
    0 20px 48px rgba(0, 0, 0, 0.45);
}

#social-proof .social-proof__card-name {
  margin: 0 0 0.25rem;
  font-family: var(--artvoic-font-display);
  font-weight: 600;
  font-size: clamp(1rem, 0.8vw + 0.82rem, 1.2rem);
  letter-spacing: -0.02em;
  color: var(--artvoic-text);
}

#social-proof .social-proof__card-skill {
  margin: 0 0 1rem;
  font-size: clamp(0.8rem, 0.25vw + 0.74rem, 0.88rem);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
}

#social-proof .social-proof__wave-wrap {
  position: relative;
  height: clamp(52px, 10vw, 72px);
  margin-bottom: 1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

#social-proof .sp-wave {
  position: absolute;
  inset: 0;
  padding: 10px clamp(10px, 2vw, 14px);
  box-sizing: border-box;
}

#social-proof .sp-wave__layer {
  position: absolute;
  left: clamp(10px, 2vw, 14px);
  right: clamp(10px, 2vw, 14px);
  top: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
  pointer-events: none;
  transition: opacity 0.45s var(--sp-ease);
}

#social-proof .sp-wave__layer--before {
  opacity: 1;
}

#social-proof .sp-wave__layer--after {
  opacity: 0;
}

#social-proof .social-proof__portfolio-card.is-after .sp-wave__layer--before {
  opacity: 0;
}

#social-proof .social-proof__portfolio-card.is-after .sp-wave__layer--after {
  opacity: 1;
}

#social-proof .sp-wave__layer span {
  flex: 1 1 auto;
  align-self: center;
  min-width: 2px;
  height: var(--h, 40%);
  min-height: 5px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(108, 99, 255, 0.95) 0%,
    rgba(108, 99, 255, 0.35) 55%,
    rgba(108, 99, 255, 0.15) 100%
  );
  box-shadow: 0 0 12px rgba(108, 99, 255, 0.15);
}

#social-proof .social-proof__toggle {
  display: flex;
  margin-top: auto;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 2px;
}

#social-proof .social-proof__toggle-btn {
  flex: 1;
  margin: 0;
  padding: 0.5rem 0.65rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--artvoic-font-body);
  font-weight: 600;
  font-size: clamp(0.68rem, 0.2vw + 0.64rem, 0.78rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  transition:
    background 0.3s var(--sp-ease),
    color 0.3s var(--sp-ease),
    box-shadow 0.3s var(--sp-ease);
}

#social-proof .social-proof__toggle-btn:hover {
  color: rgba(255, 255, 255, 0.82);
}

#social-proof .social-proof__toggle-btn.is-active {
  color: #0a0a12;
  background: var(--sp-portfolio-accent);
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.35);
}

#social-proof .social-proof__toggle-btn:focus-visible {
  outline: 2px solid var(--artvoic-accent);
  outline-offset: 2px;
}

#social-proof .social-proof__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding-block: 64px;
}

#social-proof .social-proof__cta-note {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--artvoic-text-muted);
  line-height: 1.45;
  text-align: center;
}

#social-proof .social-proof__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--artvoic-font-body);
  font-weight: 600;
  font-size: clamp(0.82rem, 0.35vw + 0.72rem, 0.95rem);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #050505;
  background: var(--artvoic-accent);
  box-shadow:
    0 0 0 1px rgba(0, 255, 209, 0.35),
    0 14px 40px rgba(0, 255, 209, 0.2);
  transition:
    transform 0.25s var(--sp-ease),
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

#social-proof .social-proof__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(0, 255, 209, 0.5),
    0 18px 48px rgba(0, 255, 209, 0.28);
}

#social-proof .social-proof__cta:focus-visible {
  outline: 2px solid var(--artvoic-text);
  outline-offset: 4px;
}

#social-proof .social-proof__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 22, 0.45);
  text-align: center;
}

#social-proof .social-proof__stat-val {
  margin: 0;
  font-family: var(--artvoic-font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--artvoic-text);
  text-shadow: 0 0 32px rgba(0, 255, 209, 0.12);
}

#social-proof .social-proof__stat-label {
  margin: 0.45rem 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--artvoic-text-muted);
}

#social-proof .social-proof__works-head {
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(1.25rem, 2.5vw, 1.65rem);
}

#social-proof .social-proof__works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
  list-style: none;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
}

#social-proof .social-proof__works-item {
  margin: 0;
}

#social-proof .social-proof__works-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #12121a;
}

#social-proof .social-proof__works-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#social-proof .social-proof__videos-head {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.65rem);
}

#social-proof .social-proof__videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
  list-style: none;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  padding: 0;
  max-width: min(880px, 100%);
  margin-left: auto;
  margin-right: auto;
}

#social-proof .social-proof__video-card {
  margin: 0;
}

#social-proof .social-proof__video-open {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s var(--sp-ease);
}

#social-proof .social-proof__video-open:hover {
  transform: translateY(-3px);
}

#social-proof .social-proof__video-open:focus-visible {
  outline: 2px solid var(--artvoic-accent);
  outline-offset: 3px;
}

#social-proof .social-proof__video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #12121a;
}

#social-proof .social-proof__video-thumb img,
#social-proof .social-proof__video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#social-proof .social-proof__video-thumb video {
  pointer-events: none;
}

#social-proof .social-proof__video-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 12, 0.6);
  pointer-events: none;
  transition: background 0.3s ease;
}

#social-proof .social-proof__video-open:hover .social-proof__video-shade {
  background: rgba(5, 5, 12, 0.45);
}

#social-proof .social-proof__video-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#social-proof .social-proof__video-play-icon::before {
  content: "";
  width: clamp(2.75rem, 6vw, 3.5rem);
  height: clamp(2.75rem, 6vw, 3.5rem);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 255, 209, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 255, 209, 0.35),
    0 10px 32px rgba(0, 0, 0, 0.4);
}

#social-proof .social-proof__video-play-icon::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 0.5em 0 0.5em 0.85em;
  border-color: transparent transparent transparent var(--artvoic-text);
}

#social-proof .social-proof__video-meta {
  margin-top: 0.65rem;
  text-align: center;
}

#social-proof .social-proof__video-name {
  margin: 0;
  font-weight: 600;
  font-size: clamp(0.85rem, 0.28vw + 0.76rem, 0.92rem);
  color: var(--artvoic-text);
}

#social-proof .social-proof__video-quote {
  margin: 0.3rem 0 0;
  font-size: clamp(0.78rem, 0.2vw + 0.72rem, 0.85rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

#social-proof .social-proof__modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

#social-proof .social-proof__modal[hidden] {
  display: none;
}

#social-proof .social-proof__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 8, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#social-proof .social-proof__modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 16px;
  background: #0c0c14;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 80px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

#social-proof .social-proof__modal-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.5rem 0.65rem 0;
}

#social-proof .social-proof__modal-close {
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--artvoic-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

#social-proof .social-proof__modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

#social-proof .social-proof__modal-close:focus-visible {
  outline: 2px solid var(--artvoic-accent);
  outline-offset: 2px;
}

#social-proof .social-proof__modal-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

#social-proof .social-proof__modal-embed iframe,
#social-proof .social-proof__modal-embed .social-proof__modal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

#social-proof .social-proof__modal-embed .social-proof__modal-video {
  object-fit: contain;
  background: #000;
}

#social-proof .social-proof__modal-title {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.88rem;
  color: var(--artvoic-text-muted);
}

#social-proof .social-proof__audit-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Elementor: у секции/контейнера не должно оставаться лишнего padding/margin под HTML-виджетом */
.elementor-section:has(#social-proof),
.e-con:has(#social-proof) {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 991px) {
  #social-proof .social-proof__works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #social-proof .social-proof__videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #hero-dubbing .hero-dubbing__grid {
    min-height: auto;
    padding-bottom: 5rem;
  }

  #hero-dubbing .hero-dubbing__cta {
    width: 100%;
    max-width: 22rem;
  }

  #directions-hub .directions-hub__inner,
  #about-author .about-author__inner,
  #social-proof .social-proof__inner {
    padding-left: clamp(1rem, 4vw, 1.25rem);
    padding-right: clamp(1rem, 4vw, 1.25rem);
  }

  #directions-hub .directions-hub__card {
    min-height: clamp(220px, 58vw, 280px);
  }

  #about-author .about-author__card-list {
    font-size: 0.84rem;
  }

  #social-proof .social-proof__portfolio {
    grid-template-columns: 1fr;
  }

  #social-proof .social-proof__portfolio-card:hover {
    transform: none;
  }

  #social-proof .social-proof__wave-wrap {
    height: clamp(44px, 14vw, 56px);
  }

  #social-proof .social-proof__cta-wrap {
    padding-block: clamp(2.5rem, 8vw, 64px);
    padding-inline: 0.25rem;
  }

  #social-proof .social-proof__cta {
    width: 100%;
    max-width: 22rem;
    padding-inline: 1.15rem;
    text-align: center;
  }

  #social-proof .social-proof__stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #social-proof .social-proof__stat-val {
    font-size: clamp(2rem, 10vw + 1rem, 48px);
  }

  #social-proof .social-proof__works-grid {
    grid-template-columns: 1fr;
  }

  #social-proof .social-proof__videos {
    grid-template-columns: 1fr;
  }

  #social-proof .social-proof__video-open:hover {
    transform: none;
  }

  #social-proof .social-proof__modal {
    padding: 0.75rem;
  }

  #social-proof .social-proof__modal-dialog {
    border-radius: 12px;
    max-height: 92vh;
  }
}

