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

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/RobotoCondensed-Black.ttf') format('truetype');
}

:root {
  --layout-gutter: 20px;
  --layout-width: 100%;
  --layout-inner: 100%;
  --layout-narrow: calc(var(--layout-inner) * 1280 / 1400);
  --footer-padding-x: clamp(24px, 5.55%, 80px);
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-duration: 0.5s;
}

/* 2K и выше - контейнер в процентах */
@media (min-width: 2000px) {
  :root {
    --layout-width: 80%;
  }
}

body {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
  color: #323232;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes site-fade-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes site-fade-in-down {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  body.is-loaded .header {
    animation: site-fade-in-down var(--motion-duration) var(--motion-ease) both;
  }

  body.is-loaded .hero {
    animation: site-fade-in calc(var(--motion-duration) + 0.1s) var(--motion-ease) 0.08s both;
  }

  body.is-loaded .footer {
    animation: site-fade-in var(--motion-duration) var(--motion-ease) 0.12s both;
  }

  .motion-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity var(--motion-duration) var(--motion-ease),
      transform var(--motion-duration) var(--motion-ease);
    transition-delay: var(--motion-delay, 0s);
  }

  .motion-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .header__logo,
  .header__menu a,
  .article-card__link,
  .music-detail__action,
  .music-detail__album-link,
  .article-detail__share,
  .music-clip__link,
  .footer__site,
  .footer__email {
    transition:
      opacity 0.2s ease,
      color 0.25s var(--motion-ease),
      background 0.25s var(--motion-ease),
      border-radius 0.25s var(--motion-ease);
  }

  .work-card__hit {
    transition: opacity 0.2s ease;
  }

  .music-detail__action {
    transition:
      opacity 0.2s ease,
      background 0.3s var(--motion-ease),
      border-radius 0.3s var(--motion-ease),
      transform 0.25s var(--motion-ease);
  }

  @media (hover: hover) and (pointer: fine) {
    .music-detail__action:hover {
      transform: translateY(-1px);
    }
  }
}

/* Clickable cards — as on new.otido.pro: hit-area + scale(0.99) + radius */
.article-card,
.training-card,
.music-clip,
.music-release {
  position: relative;
}

.article-card.is-clickable,
.training-card.is-clickable,
.work-card.is-clickable,
.music-release.is-clickable {
  cursor: pointer;
}

.music-release.is-clickable .music-release__cover-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.article-card.is-clickable .article-card__hit,
.training-card.is-clickable .training-card__hit,
.work-card.is-clickable .work-card__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-card__more {
  position: relative;
  z-index: 2;
}

.article-card,
.training-card,
.work-card,
.music-release {
  transform-origin: center center;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    border-radius 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    background 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.music-clip__play {
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.music-release__cover,
.music-release__cover-link {
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.music-release__cover-link {
  transform-origin: center center;
}

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .article-card.is-clickable:hover,
  .article-card.is-clickable:focus-within,
  .training-card.is-clickable:hover,
  .training-card.is-clickable:focus-within,
  .work-card.is-clickable:hover,
  .work-card.is-clickable:focus-within {
    transform: scale(0.975);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(47, 50, 59, 0.14);
    background: #e4e4e4;
    z-index: 2;
  }

  .training-card.is-clickable:hover .training-card__image,
  .training-card.is-clickable:focus-within .training-card__image {
    transform: scale(1.03);
  }

  .training-card.is-clickable:hover .training-card__content,
  .training-card.is-clickable:focus-within .training-card__content {
    box-shadow: inset 0 0 0 1px rgba(192, 114, 61, 0.18);
  }

  .article-card.is-clickable:hover .article-card__image,
  .article-card.is-clickable:focus-within .article-card__image,
  .work-card.is-clickable:hover .work-card__image,
  .work-card.is-clickable:focus-within .work-card__image {
    transform: scale(1.03);
  }

  .music-release.is-clickable:hover,
  .music-release.is-clickable:focus-within {
    transform: scale(0.99);
    border-radius: 12px;
    box-shadow: none;
    z-index: 2;
  }

  .music-clip__preview:hover .music-clip__play,
  .music-clip__preview:focus-visible .music-clip__play {
    transform: translate(-50%, -50%) scale(1.08);
  }

  .music-clip__preview.is-playable:hover .music-clip__thumb,
  .music-clip__preview.is-playable:focus-visible .music-clip__thumb {
    transform: scale(1.03);
  }

  .music-clip__link:hover,
  .music-clip__link:focus-visible {
    transform: scale(0.985);
    color: #212223;
    background: rgba(38, 38, 38, 0.14);
  }

  .music-clip__link:hover span,
  .music-clip__link:focus-visible span {
    background-image: linear-gradient(270deg, #212223 0%, #212223 100%);
    -webkit-text-fill-color: #212223;
    color: #212223;
  }

  .music-clip__link:hover svg,
  .music-clip__link:focus-visible svg {
    color: #212223;
  }

  .music-release.is-clickable:hover .music-release__title-link,
  .music-release.is-clickable:focus-within .music-release__title-link {
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

div.page {
  width: var(--layout-width);
  max-width: none;
  margin: 0 auto;
  padding: 21px 0 0;
  box-sizing: border-box;
  overflow-x: clip;
}

html {
  overflow-x: clip;
}

/* Header */
.header {
  width: auto;
  margin: 0 var(--layout-gutter);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  height: 70px;
  margin: 0 auto;
  padding: 0 60px;
  background: #ebebeb;
  border-radius: 8px;
}

.header__logo {
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  color: #323232;
  text-decoration: none;
  white-space: nowrap;
}

.header__logo--link {
  cursor: pointer;
  display: inline-block;
  transform: scale(1);
  transition:
    opacity 0.2s ease,
    transform 0.25s var(--motion-ease);
}

.header__logo--link:hover {
  opacity: 0.75;
  transform: scale(1.03);
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 64px;
  list-style: none;
}

.header__menu-item--hidden {
  display: none;
}

.header__menu a {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: #323232;
  text-decoration: none;
  white-space: nowrap;
}

.header__menu-item--active a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.header__menu a:hover {
  opacity: 0.75;
}

.header__menu-item--active a:hover {
  opacity: 1;
}

.header__burger {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.header__burger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  width: 20px;
  height: 12px;
}

.header__burger-lines span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 22px;
  background: #454647;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

/* Hero */
.hero {
  position: relative;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 10px var(--layout-gutter) 0;
  overflow: hidden;
  border-radius: 8px;
  --hero-pad-x: clamp(32px, 4vw, 60px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #212223;
  border-radius: 8px;
}

.hero__watermark {
  position: absolute;
  top: -13px;
  left: var(--hero-pad-x);
  height: 322px;
  display: flex;
  align-items: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 275px;
  line-height: 322px;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  background: radial-gradient(88.53% 50% at 50% 50%, rgba(255, 255, 255, 0.028) 52.75%, rgba(255, 255, 255, 0.05) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transform: translate3d(var(--hero-wm-x, 0px), 0, 0);
  will-change: transform;
}

.hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(20px, 2.8vw, 40px);
  min-height: clamp(400px, 36vw, 520px);
  height: auto;
  /* низ body = 0, чтобы фото сидело на краю; отступ у текста — на .hero__content */
  padding: clamp(32px, 4vw, 60px) var(--hero-pad-x) 0;
}

.hero__content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(833px, 100%);
  padding-bottom: clamp(32px, 4vw, 60px);
}

.hero__title {
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 80px);
  line-height: 90%;
  letter-spacing: -0.04em;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.page-about .hero__title {
  margin-bottom: 0;
}

@media (min-width: 901px) {
  .page-about .hero__content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .page-about .hero__greeting {
    margin-top: auto;
    margin-bottom: clamp(12px, 1.2vw, 18px);
  }

  .page-about .hero__text {
    margin-top: 0;
  }
}

.hero__greeting {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 20px;
  font-weight: 400;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.2;
  color: #c0723d;
}

.hero__wave {
  flex-shrink: 0;
}

.hero__text {
  font-weight: 400;
  font-size: clamp(18px, 1.85vw, 28px);
  line-height: 108%;
  letter-spacing: -0.02em;
  color: #ffffff;
  overflow-wrap: break-word;
}

.hero__text a,
.hero__highlight {
  color: #c0723d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__text a:hover,
.hero__highlight:hover {
  opacity: 0.85;
}

.hero__text strong,
.hero__text b {
  font-weight: 700;
}

.hero__text-thin,
.ak-text-thin {
  font-weight: 300;
}

.ak-text-mark {
  background: rgba(192, 114, 61, 0.18);
  color: inherit;
  padding: 0.05em 0.15em;
  border-radius: 2px;
}

.hero__text-lg {
  font-size: 1.25em;
}

.hero__text-sm {
  font-size: 0.85em;
}

.article-card__excerpt p,
.training-card__excerpt p,
.music-feature__description p,
.music-feature__subtitle p,
.music-disclaimer p,
.about-list__text p {
  margin: 0;
}

.article-card__excerpt p + p,
.training-card__excerpt p + p,
.music-feature__description p + p,
.music-feature__subtitle p + p,
.music-disclaimer p + p {
  margin-top: 0.5em;
}

.article-card__excerpt a,
.training-card__excerpt a,
.music-feature__description a,
.music-feature__subtitle a,
.music-disclaimer a,
.about-list__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-card__excerpt strong,
.training-card__excerpt strong,
.music-feature__description strong,
.music-feature__subtitle strong,
.music-disclaimer strong,
.about-list__text strong {
  font-weight: 700;
}

.hero__text em,
.hero__text i,
.article-card__excerpt em,
.article-card__excerpt i,
.training-card__excerpt em,
.training-card__excerpt i,
.music-feature__description em,
.music-feature__description i,
.music-feature__subtitle em,
.music-feature__subtitle i,
.music-disclaimer em,
.music-disclaimer i,
.about-list__text em,
.about-list__text i {
  font-style: italic;
}

.hero__text u,
.article-card__excerpt u,
.training-card__excerpt u,
.music-feature__description u,
.music-feature__subtitle u,
.music-disclaimer u,
.about-list__text u {
  text-decoration: underline;
}

.hero__text ul,
.hero__text ol,
.article-card__excerpt ul,
.article-card__excerpt ol,
.training-card__excerpt ul,
.training-card__excerpt ol,
.music-feature__description ul,
.music-feature__description ol,
.music-feature__subtitle ul,
.music-feature__subtitle ol,
.music-disclaimer ul,
.music-disclaimer ol,
.about-list__text ul,
.about-list__text ol {
  margin: 0.35em 0 0.35em 1.2em;
  padding: 0;
}

.hero__text li,
.article-card__excerpt li,
.training-card__excerpt li,
.music-feature__description li,
.music-feature__subtitle li,
.music-disclaimer li,
.about-list__text li {
  margin: 0.15em 0;
}

.hero__text blockquote,
.article-card__excerpt blockquote,
.training-card__excerpt blockquote,
.music-feature__description blockquote,
.music-feature__subtitle blockquote,
.music-disclaimer blockquote,
.about-list__text blockquote {
  margin: 0.5em 0;
  padding-left: 0.75em;
  border-left: 2px solid currentColor;
  opacity: 0.9;
}

.hero__text table,
.article-card__excerpt table,
.training-card__excerpt table,
.music-feature__description table,
.music-disclaimer table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5em 0;
}

.hero__text th,
.hero__text td,
.article-card__excerpt th,
.article-card__excerpt td,
.training-card__excerpt th,
.training-card__excerpt td,
.music-feature__description th,
.music-feature__description td,
.music-disclaimer th,
.music-disclaimer td {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35em 0.5em;
  vertical-align: top;
}

.hero__photo-picture {
  display: flex;
  align-items: flex-end;
  align-self: flex-end;
  flex: 0 0 auto;
  min-width: 0;
  max-width: min(437px, 42%);
  margin-top: auto;
}

.hero__photo {
  display: block;
  width: 100%;
  max-width: 437px;
  height: auto;
  aspect-ratio: 437 / 447;
  margin-top: 0;
  border-radius: 6px;
  object-fit: cover;
  object-position: center bottom;
}

/* Hero - водяные знаки: тот же левый отступ, что у текста баннера */
.page-about .hero__watermark,
.page-articles .hero__watermark,
.page-trainings .hero__watermark,
.page-music .hero__watermark {
  left: var(--hero-pad-x);
  width: auto;
  max-width: none;
  font-size: clamp(120px, 18vw, 275px);
  line-height: 1.17;
  height: auto;
}

.page-articles .hero__body,
.page-trainings .hero__body,
.page-music .hero__body {
  padding-bottom: 0;
}

.page-articles .hero__content,
.page-trainings .hero__content,
.page-music .hero__content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: clamp(40px, 4.5vw, 70px);
}

.page-articles .hero__text,
.page-trainings .hero__text {
  margin-top: auto;
}

.page-articles .hero__text {
  max-width: min(801px, 100%);
}

.page-trainings .hero__text {
  max-width: min(772px, 100%);
}

.page-music .hero__bottom {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 24px);
  margin-top: auto;
}

.page-music .hero__text {
  max-width: min(733px, 100%);
}

.page-music .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: #ffffff;
  width: fit-content;
}

.page-music .hero__badge-icon {
  flex-shrink: 0;
}

.page-music .hero__photo-picture {
  max-width: min(547px, 46%);
}

.page-music .hero__photo {
  width: 100%;
  max-width: 547px;
  height: auto;
  aspect-ratio: 547 / 477;
  max-height: none;
  margin-top: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center bottom;
}

/* Music releases */
.music-releases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 32px);
  width: 100%;
  max-width: var(--layout-narrow);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0 clamp(0px, 2vw, 0);
  box-sizing: border-box;
}

.music-release {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 1.8vw, 24px);
  width: 100%;
  min-width: 0;
}

.music-release__cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.music-release__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.music-release__cover-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.music-release__cover-wrap .music-release__cover,
.music-release__cover-link .music-release__cover {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.music-release__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(13.4px);
  -webkit-backdrop-filter: blur(13.4px);
}

.music-release__soon {
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 100%;
  letter-spacing: -0.04em;
  color: #323232;
}

.music-release__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: center;
  min-width: 0;
}

.music-release__title,
.music-release__title-link {
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #323232;
  text-decoration: none;
  transition: opacity 0.2s ease;
  overflow-wrap: break-word;
}

.music-release__year {
  font-weight: 400;
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 18px;
  color: #323232;
}

/* Music feature - альбом и клипы */
.music-feature {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--layout-narrow);
  margin: clamp(48px, 6vw, 80px) auto 0;
  background: #ebebeb;
  border-radius: 8px;
  overflow: hidden;
  scroll-margin-top: 80px;
  box-sizing: border-box;
}

.music-feature__header {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3.5vw, 50px);
  padding: clamp(32px, 5vw, 70px) clamp(24px, 4.2vw, 60px);
  background: linear-gradient(90deg, #e0e0e0 0%, #e0dfde 100%);
  border-radius: 8px 8px 0 0;
  min-width: 0;
}

.music-feature__cover {
  flex: 0 0 auto;
  width: clamp(140px, 18vw, 220px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.music-feature__intro {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 24px);
  min-width: 0;
  min-height: 0;
}

.music-feature__headline {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 16px);
  min-width: 0;
}

.music-feature__title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  color: #323232;
  overflow-wrap: break-word;
}

.music-feature__subtitle {
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #212223;
  overflow-wrap: break-word;
}

.music-feature__quote-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.music-feature__quote-line {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.music-feature__quote-icon {
  flex-shrink: 0;
}

.music-feature__divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(50, 50, 50, 0.4) 0%, rgba(50, 50, 50, 0) 100%);
}

.music-feature__description {
  max-width: 762px;
  font-weight: 400;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.3;
  color: #323232;
  overflow-wrap: break-word;
}

.music-feature__clips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  padding: clamp(28px, 4vw, 60px);
  width: 100%;
  box-sizing: border-box;
}

.music-feature__clips--stacked {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 46px);
}

.music-feature__clips-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  width: 100%;
}

.music-feature--no-quote .music-feature__quote-icon {
  display: none;
}

.music-feature--no-quote .music-feature__quote-line {
  gap: 0;
}

.music-feature--no-quote .music-feature__description {
  max-width: 736px;
}

.music-feature + .music-feature {
  margin-top: clamp(48px, 6vw, 80px);
}

.music-clip {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 16px);
  width: 100%;
  min-width: 0;
}

.music-clip__preview {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 365 / 220;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #212223;
}

.music-clip__preview.is-playable {
  cursor: pointer;
}

.music-clip__preview.is-playable:focus-visible {
  outline: 2px solid #c0723d;
  outline-offset: 2px;
}

.music-clip__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.music-clip__preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 29.15%);
  pointer-events: none;
  z-index: 1;
}

.music-clip__preview.is-playing::before {
  display: none;
}

.music-clip__preview.is-playing .music-clip__thumb,
.music-clip__preview.is-playing .music-clip__play,
.music-clip__preview.is-playing .music-clip__duration {
  display: none !important;
}

.music-clip__player {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
  z-index: 2;
}

.music-clip__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 6vw, 80px);
  height: clamp(56px, 6vw, 80px);
  padding-left: 6px;
  border-radius: 1000px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--motion-ease);
  z-index: 2;
  pointer-events: none;
}

.music-clip__play svg {
  width: clamp(18px, 2vw, 29px);
  height: auto;
}

.music-clip__duration {
  position: absolute;
  right: clamp(10px, 1.2vw, 16px);
  bottom: clamp(10px, 1.2vw, 16px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(38, 38, 38, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: #ffffff;
  z-index: 2;
  pointer-events: none;
}

.music-clip__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  min-width: 0;
}

.music-clip__meta {
  display: flex;
  flex: 1 1 140px;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.music-clip__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #2f323b;
  overflow-wrap: break-word;
}

.music-clip__artist {
  margin: 0;
  font-weight: 400;
  font-size: clamp(11px, 1vw, 12px);
  line-height: 1.25;
  color: #2f323b;
  overflow-wrap: break-word;
}

.music-clip__link {
  display: inline-flex;
  flex: 0 1 auto;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  min-height: 37px;
  max-width: 100%;
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(270deg, rgba(38, 38, 38, 0.12) 0%, rgba(114, 114, 114, 0.12) 100%);
  color: #555555;
  font-weight: 400;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 18px;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  transform: scale(1);
  transform-origin: center center;
  transition:
    transform 0.55s cubic-bezier(0.33, 1, 0.68, 1),
    background 0.55s cubic-bezier(0.33, 1, 0.68, 1),
    color 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.music-clip__link span {
  background-image: linear-gradient(270deg, #262626 0%, #727272 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition:
    opacity 0.55s cubic-bezier(0.33, 1, 0.68, 1),
    -webkit-text-fill-color 0.55s cubic-bezier(0.33, 1, 0.68, 1),
    color 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.music-clip__link svg {
  flex-shrink: 0;
  color: #555555;
  transition: color 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Tablet music: 3 колонки клипов, компактные заголовки */
@media (min-width: 901px) and (max-width: 1199px) {
  .page-music .music-releases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .page-music .music-feature {
    width: calc(100% - 48px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .page-music .music-feature__header {
    flex-wrap: nowrap;
    gap: 24px;
    padding: 36px 32px;
  }

  .page-music .music-feature__cover {
    width: 160px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .page-music .music-feature__title {
    font-size: clamp(22px, 2.8vw, 28px);
  }

  .page-music .music-feature__subtitle {
    font-size: 14px;
    line-height: 1.25;
  }

  .page-music .music-feature__description {
    font-size: 13px;
    line-height: 1.3;
  }

  .page-music .music-feature__clips,
  .page-music .music-feature__clips-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 28px 24px;
  }

  .page-music .music-feature__clips--stacked {
    gap: 28px;
  }

  .page-music .music-clip {
    gap: 10px;
    min-width: 0;
  }

  .page-music .music-clip__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-music .music-clip__meta {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    gap: 2px;
  }

  .page-music .music-clip__title {
    font-size: 14px;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }

  .page-music .music-clip__artist {
    font-size: 10px;
    line-height: 1.2;
  }

  .page-music .music-clip__link {
    width: 100%;
    min-height: 34px;
    padding: 8px 12px;
    justify-content: space-between;
    font-size: 12px;
    line-height: 15px;
    gap: 8px;
  }

  .page-music .music-clip__play {
    width: 48px;
    height: 48px;
  }

  .page-music .music-clip__play svg {
    width: 16px;
  }

  .page-music .music-clip__duration {
    padding: 6px 8px;
    font-size: 11px;
    line-height: 14px;
  }
}

.music-disclaimer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 415px;
  margin: 60px auto 0;
  font-family: 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: rgba(50, 50, 50, 0.6);
}

/* Music track detail */
.music-detail {
  width: auto;
  max-width: none;
  margin: 10px var(--layout-gutter) 0;
  box-sizing: border-box;
}

.music-detail__shell {
  position: relative;
  width: 100%;
  min-height: 670px;
  padding: 60px;
  background: #212223;
  border-radius: 8px;
}

.music-detail__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #ffffff;
}

.music-detail__breadcrumbs > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.music-detail__breadcrumbs a {
  color: #ffffff;
  opacity: 0.4;
  text-decoration: none;
}

.music-detail__breadcrumbs a:hover {
  opacity: 0.6;
}

.music-detail__breadcrumbs .breadcrumb_separator {
  color: #ffffff;
  opacity: 0.4;
}

.music-detail__breadcrumbs .breadcrumb_last {
  color: #ffffff;
  opacity: 1;
}

.music-detail__layout {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.music-detail__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 405px;
  width: 405px;
  min-height: 492px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.music-detail__panel-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.music-detail__heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.music-detail__title {
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.music-detail__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.music-detail__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
}

.music-detail__meta-row dt {
  color: rgba(255, 255, 255, 0.5);
}

.music-detail__meta-row dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.music-detail__album {
  position: relative;
}

.music-detail__album-label {
  position: absolute;
  top: -9px;
  left: 0;
  padding-right: 6px;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #919192;
  background: #212223;
}

.music-detail__album-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.music-detail__album-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.music-detail__album-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 20px;
}

.music-detail__album-cover {
  grid-row: 1 / 3;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border: 1px solid #424344;
  border-radius: 4px;
  object-fit: cover;
}

.music-detail__album-title {
  align-self: start;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.music-detail__album-link {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2.5px;
}

.music-detail__album-link:hover {
  opacity: 0.75;
}

.music-detail__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.music-detail__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.music-detail__action:hover {
  opacity: 0.75;
}

.music-detail__action-icon {
  flex-shrink: 0;
}

.music-detail__media {
  flex: 1;
  min-width: 0;
}

.music-detail__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  padding: 24px 0 24px 6px;
  border: none;
  border-radius: 1000px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.music-detail__video {
  position: relative;
  width: 100%;
  height: 490px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.music-detail__video.is-playing {
  cursor: default;
}

/* display:block/flex above overrides [hidden]; hide overlay when video plays */
.music-detail__video.is-playing .music-detail__video-thumb,
.music-detail__video.is-playing .music-detail__play {
  display: none !important;
}

.music-detail__video-thumb {
  display: block;
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center;
}

.music-detail__video-player {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  border: 0;
}

.music-detail__play:hover {
  background: rgba(0, 0, 0, 0.65);
}

.music-detail__play:disabled {
  cursor: default;
  opacity: 1;
}

.music-detail__play:disabled:hover {
  background: rgba(0, 0, 0, 0.5);
}

.page-music-detail .music-disclaimer {
  max-width: var(--layout-narrow);
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 17px;
  color: rgba(50, 50, 50, 0.6);
}

/* Article detail */
.article-detail {
  width: 100%;
  margin: clamp(24px, 4vw, 48px) 0 0;
  background: #ffffff;
  box-sizing: border-box;
}

.article-detail__inner {
  width: 100%;
  max-width: var(--layout-narrow);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  box-sizing: border-box;
}

.article-detail__top {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 5.5vw, 80px);
  min-width: 0;
}

.article-detail__media {
  flex: 0 1 auto;
  width: min(380px, 42%);
  max-width: 42%;
  min-width: 0;
}

.article-detail__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.article-detail__vline {
  flex-shrink: 0;
  align-self: stretch;
  width: 1px;
  min-height: clamp(160px, 22vw, 280px);
  background: #d9d9d9;
  border-radius: 6px;
}

.article-detail__intro {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 16px);
  min-width: 0;
}

.article-detail__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 110%;
  letter-spacing: -0.04em;
  color: #323232;
  overflow-wrap: break-word;
}

.article-detail__date {
  font-weight: 400;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.2;
  color: rgba(50, 50, 50, 0.7);
}

.article-detail__publisher {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: clamp(16px, 2.2vw, 30px);
}

.article-detail__publisher-logo {
  display: block;
  width: auto;
  max-width: min(160px, 70%);
  height: auto;
  max-height: 20px;
  object-fit: contain;
  object-position: left center;
}

.article-detail__imprint {
  margin: 0;
  font-weight: 400;
  font-size: clamp(12px, 1.05vw, 13px);
  line-height: 1.25;
  color: rgba(50, 50, 50, 0.7);
  overflow-wrap: break-word;
}

.article-detail__body {
  width: 100%;
  margin-top: clamp(28px, 4vw, 48px);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 150%;
  color: #323232;
  overflow-wrap: break-word;
}

.article-detail__body p {
  margin: 0 0 1.15em;
}

.article-detail__body p:last-child {
  margin-bottom: 0;
}

.article-detail__body a {
  color: #c0723d;
  text-decoration: underline;
  text-underline-offset: 2.5px;
}

.article-detail__body ul,
.article-detail__body ol {
  margin: 0 0 1.15em;
  padding-left: 1.25em;
}

.article-detail__body li {
  margin: 0 0 0.35em;
}

.article-detail__body li:last-child {
  margin-bottom: 0;
}

.article-detail__body h1,
.article-detail__body h2,
.article-detail__body h3,
.article-detail__body h4,
.article-detail__body h5,
.article-detail__body h6 {
  margin: 1.5em 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #323232;
  line-height: 1.25;
}

.article-detail__body h1 { font-size: 1.6em; }
.article-detail__body h2 { font-size: 1.35em; }
.article-detail__body h3 { font-size: 1.2em; }
.article-detail__body h4,
.article-detail__body h5,
.article-detail__body h6 { font-size: 1.05em; }

.article-detail__body blockquote {
  margin: 0 0 1.15em;
  padding: 0.2em 0 0.2em 1em;
  border-left: 3px solid #c0723d;
  color: #454647;
}

.article-detail__body hr {
  margin: 1.5em 0;
  border: 0;
  border-top: 1px solid rgba(50, 50, 50, 0.15);
}

.article-detail__body u {
  text-underline-offset: 2px;
}

.article-detail__body .ak-text-mark,
.article-detail__body mark {
  background: rgba(192, 114, 61, 0.18);
  color: inherit;
  padding: 0.05em 0.15em;
  border-radius: 2px;
}

.article-detail__body img {
  max-width: 100%;
  height: auto;
  margin: 0.75em 0 1.15em;
  border-radius: 6px;
}

.article-detail__body img.alignleft,
.article-detail__body .alignleft {
  float: left;
  margin: 0.35em 1.25em 1em 0;
  max-width: min(50%, 420px);
}

.article-detail__body img.alignright,
.article-detail__body .alignright {
  float: right;
  margin: 0.35em 0 1em 1.25em;
  max-width: min(50%, 420px);
}

.article-detail__body img.aligncenter,
.article-detail__body .aligncenter {
  display: block;
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.article-detail__body img.alignnone,
.article-detail__body .alignnone {
  display: inline-block;
  float: none;
  margin: 0.75em 0 1.15em;
}

.article-detail__body .wp-caption {
  max-width: 100%;
  margin: 0.75em 0 1.15em;
}

.article-detail__body .wp-caption.alignleft {
  float: left;
  margin: 0.35em 1.25em 1em 0;
  max-width: min(50%, 420px);
}

.article-detail__body .wp-caption.alignright {
  float: right;
  margin: 0.35em 0 1em 1.25em;
  max-width: min(50%, 420px);
}

.article-detail__body .wp-caption.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  float: none;
}

.article-detail__body .wp-caption img {
  display: block;
  margin: 0;
  width: 100%;
  height: auto;
}

.article-detail__body .wp-caption-text,
.article-detail__body figcaption {
  margin: 0.45em 0 0;
  font-size: 0.9em;
  line-height: 1.35;
  color: rgba(50, 50, 50, 0.7);
}

.article-detail__body figure {
  margin: 0.75em 0 1.15em;
  max-width: 100%;
}

.article-detail__body::after {
  content: '';
  display: table;
  clear: both;
}

.article-detail__body table {
  width: 100%;
  margin: 0 0 1.15em;
  border-collapse: collapse;
}

.article-detail__body th,
.article-detail__body td {
  padding: 0.55em 0.7em;
  border: 1px solid rgba(50, 50, 50, 0.15);
  text-align: left;
  vertical-align: top;
}

.article-detail__body th {
  font-weight: 600;
  background: rgba(50, 50, 50, 0.04);
}

.article-detail__signature {
  margin: 0;
  font-weight: 400;
  font-size: clamp(14px, 1.15vw, 15px);
  line-height: 1.2;
  color: #323232;
}

.article-detail__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  width: 100%;
  margin-top: clamp(24px, 2.5vw, 32px);
}

.article-detail__share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #323232;
  cursor: pointer;
}

.article-detail__share:hover {
  opacity: 0.7;
}

.article-detail__share-icon {
  flex-shrink: 0;
  color: #323232;
}

/* Article detail tablet */
@media (min-width: 901px) and (max-width: 1199px) {
  .article-detail__top {
    gap: clamp(20px, 3.5vw, 40px);
  }

  .article-detail__media {
    width: min(300px, 40%);
    max-width: 40%;
  }

  .article-detail__title {
    font-size: clamp(26px, 3.4vw, 32px);
  }

  .article-detail__publisher {
    margin-top: 20px;
  }
}

/* Article detail mid desktop */
@media (min-width: 1200px) and (max-width: 1439px) {
  .article-detail__top {
    gap: clamp(40px, 5vw, 64px);
  }

  .article-detail__media {
    flex: 0 0 auto;
    width: min(340px, 38%);
    max-width: 38%;
  }
}

/* Articles list */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: var(--layout-narrow);
  margin: 80px auto 0;
}

.article-card {
  display: flex;
  align-items: center;
  background: #ebebeb;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}

.article-card__media {
  display: flex;
  flex-shrink: 1;
  align-items: center;
  justify-content: center;
  width: 515px;
  max-width: 42%;
  min-height: 392px;
  padding: 50px;
  box-sizing: border-box;
}

.article-card__image {
  width: 100%;
  max-width: 306px;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.article-card__divider {
  flex-shrink: 0;
  width: 1px;
  height: 348px;
  max-height: 100%;
  background: #d9d9d9;
  border-radius: 6px;
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  gap: 40px;
  min-width: 0;
  padding: 50px;
  box-sizing: border-box;
}

.article-card__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.article-card__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-card__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.04em;
  color: #323232;
}

.article-card__date {
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: rgba(50, 50, 50, 0.8);
}

.article-card__excerpt {
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #323232;
  opacity: 0.8;
}

.article-card__excerpt-mobile {
  display: none;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  min-width: 0;
  width: 100%;
}

.article-card__source {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 76px;
  flex-shrink: 1;
}

.article-card__source-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 8px 0 0 8px;
}

.article-card__source-logo {
  position: absolute;
  top: 16px;
  left: 16px;
  max-width: calc(100% - 32px);
  height: auto;
}

.article-card__source-text {
  position: absolute;
  top: 44px;
  left: 16px;
  right: 16px;
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: rgba(50, 50, 50, 0.8);
}

/* Trainings list */
.trainings-list {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
  max-width: var(--layout-narrow);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0 clamp(0px, 2vw, 0);
  box-sizing: border-box;
  min-width: 0;
}

.training-card {
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1vw, 10px);
  width: 100%;
  min-width: 0;
  padding: clamp(8px, 1vw, 10px);
  background: #ebebeb;
  border-radius: clamp(12px, 1.2vw, 18px);
  box-sizing: border-box;
}

.training-card__media {
  display: flex;
  flex: 0 1 40%;
  align-items: stretch;
  justify-content: center;
  width: 40%;
  max-width: 491px;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.training-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 491 / 248;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.training-card__content {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 24px);
  min-width: 0;
  padding: clamp(24px, 3.6vw, 50px);
  background: #ffffff;
  border-radius: 8px;
  box-sizing: border-box;
  transition: box-shadow 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.training-card__title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 108%;
  letter-spacing: -0.02em;
  color: #323232;
  overflow-wrap: break-word;
}

.training-card__excerpt {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-top: auto;
  font-weight: 400;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.25;
  color: #323232;
}

/* Tablet: горизонтально, но уже и без вылезания */
@media (min-width: 901px) and (max-width: 1199px) {
  .page-trainings .trainings-list {
    padding: 0 clamp(16px, 3vw, 32px);
    box-sizing: border-box;
  }

  .page-trainings .training-card {
    gap: 8px;
    padding: 8px;
  }

  .page-trainings .training-card__media {
    flex: 0 0 34%;
    width: 34%;
    max-width: 34%;
  }

  .page-trainings .training-card__image {
    min-height: 160px;
  }

  .page-trainings .training-card__content {
    padding: clamp(20px, 2.8vw, 32px);
    gap: 16px;
  }

  .page-trainings .training-card__title {
    font-size: clamp(18px, 2.2vw, 22px);
  }

  .page-trainings .training-card__excerpt {
    max-width: none;
  }
}

/* Works */
.works {
  --works-gap: clamp(16px, 2.2vw, 32px);
  --works-visible: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  width: 100%;
  max-width: none;
  margin: 80px auto 0;
  padding: 0 clamp(20px, 5.5vw, 80px);
  box-sizing: border-box;
}

.works__header {
  display: flex;
  align-items: center;
  grid-column: 1;
  grid-row: 1;
  height: 60px;
  margin-bottom: 40px;
}

.works__title {
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 105%;
  letter-spacing: -0.06em;
  color: #212223;
}

.works__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin-bottom: 40px;
}

.works__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #ebebeb;
  color: #212223;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}

.works__nav-btn:disabled {
  background: rgba(235, 235, 235, 0.4);
  color: rgba(33, 34, 35, 0.4);
  cursor: default;
}

.works__nav-btn:not(:disabled):hover {
  opacity: 0.75;
}

.works__slider {
  grid-column: 1 / -1;
  grid-row: 2;
  overflow: hidden;
  padding: 6px 0;
  width: 100%;
  min-width: 0;
}

.works__track {
  display: flex;
  align-items: stretch;
  gap: var(--works-gap);
  transition: transform 0.4s ease;
  will-change: transform;
}

.work-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: clamp(12px, 1.4vw, 20px);
  /* Точную ширину ставит works-slider.js (1/2/3 в ряд от ширины слайдера). */
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: clamp(20px, 2.2vw, 32px) clamp(20px, 2.2vw, 32px) clamp(8px, 1vw, 12px);
  background: #ebebeb;
  border-radius: 8px;
  position: relative;
  z-index: 0;
  overflow: hidden;
  box-sizing: border-box;
  transform-origin: center center;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    border-radius 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    background 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.work-card:hover,
.work-card:focus-within {
  z-index: 2;
}

.work-card__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 16px;
  width: 100%;
  flex-shrink: 0;
}

.work-card__header {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
  min-height: 66px;
}

.work-card__title {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 22px;
  letter-spacing: -0.04em;
  color: #212223;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.work-card__meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
  gap: 4px;
  height: auto;
  flex-shrink: 0;
}

.work-card__type {
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #c0723d;
}

.work-card__date {
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: rgba(33, 34, 35, 0.8);
}

.work-card__image-picture {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  margin-top: auto;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 341 / 297;
}

.work-card__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
  object-position: center top;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (min-width: 901px) {
  .page-about .works {
    max-width: none;
  }

  .page-about .work-card {
    height: auto;
    justify-content: flex-start;
    align-items: stretch;
    transition:
      transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
      border-radius 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
      box-shadow 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
      background 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  .page-about .work-card__info {
    gap: 16px;
    flex-shrink: 0;
  }

  .page-about .work-card__header {
    min-height: 0;
    align-items: flex-start;
    gap: 0;
  }

  .page-about .work-card__title {
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #212223;
  }

  .page-about .work-card__meta {
    justify-content: flex-start;
    height: auto;
    gap: 4px;
  }

  .page-about .work-card__type {
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.2;
  }

  .page-about .work-card__date {
    font-size: clamp(11px, 0.95vw, 13px);
    line-height: 1.2;
  }

  .page-about .work-card__image-picture {
    flex: 1 1 auto;
    height: auto;
    margin-top: auto;
    width: 100%;
    aspect-ratio: 341 / 297;
  }

  .page-about .work-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .works {
    --works-visible: 2;
  }
}

/* About */
.about {
  width: 100%;
  max-width: none;
  margin: 80px auto 0;
  padding: 0 80px;
  box-sizing: border-box;
}

.about__title {
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  letter-spacing: -0.06em;
  color: #212223;
  text-align: center;
  margin-bottom: 40px;
}

.about__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 46px;
  background: #ebebeb;
  border-radius: 8px;
}

.about-card__title {
  font-weight: 400;
  font-size: 28px;
  line-height: 108%;
  letter-spacing: -0.02em;
  color: #212223;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.about-list__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.about-list__marker {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 3px;
}

.about-list__text {
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #212223;
}

.about-periods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.about-period {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-period__heading {
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.04em;
  color: #212223;
}

.about-period__years {
  color: rgba(33, 34, 35, 0.3);
}

/* Footer */
.footer {
  width: 100%;
  margin-top: 80px;
  background: #212223;
}

.page-music .footer,
.page-music-detail .footer {
  margin-top: 32px;
}

.page-article-detail .footer {
  margin-top: 80px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 56px var(--footer-padding-x);
}

.footer__copyright,
.footer__site {
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.footer__site,
.footer__email {
  text-decoration: none;
  color: #ffffff;
  transition: opacity 0.2s;
}

.footer__email {
  font-weight: 500;
  font-size: 18px;
  line-height: 109%;
  letter-spacing: -0.02em;
}

.footer__site:hover,
.footer__email:hover {
  opacity: 0.75;
}

/* Tablet / mid: резиновый hero — без наездов при зуме и узкой ширине */
@media (min-width: 901px) and (max-width: 1199px) {
  .hero {
    min-height: 0;
    --hero-pad-x: clamp(28px, 3.5vw, 40px);
  }

  .hero__body {
    min-height: clamp(360px, 48vw, 440px);
    padding: clamp(28px, 3.5vw, 40px) var(--hero-pad-x) 0;
    gap: clamp(16px, 2.4vw, 28px);
    align-items: stretch;
  }

  .hero__title {
    font-size: clamp(36px, 5.4vw, 56px);
  }

  .hero__greeting {
    font-size: clamp(12px, 1.2vw, 13px);
    line-height: 1.25;
    gap: 6px;
    margin-bottom: 12px;
  }

  .hero__text {
    font-size: clamp(17px, 2vw, 20px);
  }

  .hero__content {
    align-self: stretch;
    max-width: min(520px, 48%);
    padding-bottom: clamp(28px, 3.5vw, 40px);
  }

  .page-about .hero__content,
  .page-articles .hero__content,
  .page-trainings .hero__content,
  .page-music .hero__content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: auto;
    align-self: stretch;
    max-width: min(520px, 48%);
    padding-bottom: clamp(28px, 3.5vw, 40px);
  }

  .hero__photo-picture {
    align-self: flex-end;
    margin-top: auto;
    flex: 0 0 auto;
    max-width: min(400px, 50%);
  }

  .hero__photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-top: 0;
    object-fit: cover;
    object-position: center bottom;
  }

  .page-music .hero__photo-picture {
    max-width: min(420px, 52%);
  }

  .page-music .hero__photo {
    max-width: 420px;
  }

  .hero__watermark {
    top: -8px;
    left: var(--hero-pad-x);
    height: auto;
    font-size: clamp(110px, 16vw, 190px);
    line-height: 1.17;
  }

  .page-about .hero__watermark,
  .page-articles .hero__watermark,
  .page-trainings .hero__watermark,
  .page-music .hero__watermark {
    left: var(--hero-pad-x);
    width: auto;
  }

  .page-about .hero__greeting {
    margin-top: auto;
    margin-bottom: 12px;
    padding-top: clamp(16px, 2.5vw, 28px);
  }

  .page-articles .hero__text,
  .page-trainings .hero__text {
    margin-top: auto;
    padding-top: clamp(16px, 2.5vw, 28px);
  }

  .page-music .hero__bottom {
    margin-top: auto;
    gap: 16px;
    padding-top: clamp(16px, 2.5vw, 28px);
  }

  .page-articles .hero__body,
  .page-trainings .hero__body,
  .page-music .hero__body,
  .page-about .hero__body {
    padding-bottom: 0;
  }

  /* Articles: side-by-side layout needs room for source + CTA */
  .page-articles .article-card__media {
    width: 280px;
    max-width: 34%;
    min-height: 0;
    padding: 32px 20px;
  }

  .page-articles .article-card__image {
    max-width: 200px;
  }

  .page-articles .article-card__divider {
    height: auto;
    align-self: stretch;
    min-height: 220px;
  }

  .page-articles .article-card__body {
    padding: 32px 28px;
    gap: 28px;
    min-width: 0;
  }

  .page-articles .article-card__footer {
    gap: 16px;
    flex-wrap: wrap;
  }

  .page-articles .article-card__source {
    flex: 1 1 160px;
    height: 70px;
    max-height: 70px;
    min-width: 0;
  }

  .page-articles .article-card__source-text {
    top: 40px;
    font-size: 12px;
    line-height: 14px;
  }
}

/* Mid desktop: фото не сжимается текстом */
@media (min-width: 1200px) and (max-width: 1439px) {
  .hero__body {
    gap: clamp(20px, 2.2vw, 32px);
  }

  .hero__content {
    max-width: min(620px, 50%);
  }

  .page-about .hero__content,
  .page-articles .hero__content,
  .page-trainings .hero__content,
  .page-music .hero__content {
    max-width: min(620px, 50%);
  }

  .hero__photo-picture {
    flex: 0 0 auto;
    max-width: min(480px, 48%);
  }

  .hero__photo {
    max-width: 480px;
  }

  .page-music .hero__photo-picture {
    max-width: min(520px, 50%);
  }

  .page-music .hero__photo {
    max-width: 520px;
  }
}

/* Articles mid desktop: keep CTA visible before full Figma width */
@media (min-width: 1200px) and (max-width: 1399px) {
  .page-articles .article-card__media {
    width: 360px;
    max-width: 36%;
    min-height: 0;
    padding: 40px 28px;
  }

  .page-articles .article-card__image {
    max-width: 240px;
  }

  .page-articles .article-card__divider {
    height: auto;
    align-self: stretch;
    min-height: 260px;
  }

  .page-articles .article-card__body {
    padding: 40px 36px;
    gap: 32px;
  }

  .page-articles .article-card__footer {
    gap: 20px;
  }

  .page-articles .article-card__source {
    flex: 1 1 180px;
    height: 76px;
    max-height: 76px;
  }
}

/* Mobile (≤900px) */
@media (max-width: 900px) {
  :root {
    --layout-gutter: 5px;
    --layout-width: 100%;
    --layout-inner: 100%;
    --layout-narrow: 100%;
    --footer-padding-x: 24px;
    --motion-duration: 0.42s;
  }

  div.page {
    width: 100%;
    max-width: none;
    padding: 10px 5px 0;
    box-sizing: border-box;
    overflow-x: clip;
  }

  div.page .header,
  div.page .main,
  div.page .hero,
  div.page .header__inner {
    max-width: 100%;
    width: 100%;
  }

  .header,
  .hero {
    margin-left: 0;
    margin-right: 0;
  }

  .header__inner {
    position: relative;
    height: 60px;
    padding: 0 12px 0 20px;
  }

  .header__logo {
    font-size: 18px;
    line-height: 22px;
  }

  .header__burger {
    display: flex;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .header__burger-lines {
    position: relative;
    width: 20px;
    height: 12px;
  }

  .header--menu-open .header__burger-lines span:nth-child(1) {
    position: absolute;
    top: 5px;
    left: 0;
    transform: rotate(45deg);
  }

  .header--menu-open .header__burger-lines span:nth-child(2) {
    opacity: 0;
  }

  .header--menu-open .header__burger-lines span:nth-child(3) {
    position: absolute;
    top: 5px;
    left: 0;
    transform: rotate(-45deg);
  }

  .header {
    position: relative;
    z-index: 20;
  }

  .header__nav {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 16px 20px 20px;
    background: #ebebeb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    transition:
      opacity 0.28s var(--motion-ease),
      transform 0.28s var(--motion-ease),
      visibility 0.28s;
  }

  .header--menu-open .header__nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header--menu-open .header__menu-item {
    animation: site-fade-in 0.35s var(--motion-ease) both;
  }

  .header--menu-open .header__menu-item:nth-child(1) { animation-delay: 0.03s; }
  .header--menu-open .header__menu-item:nth-child(2) { animation-delay: 0.06s; }
  .header--menu-open .header__menu-item:nth-child(3) { animation-delay: 0.09s; }
  .header--menu-open .header__menu-item:nth-child(4) { animation-delay: 0.12s; }

  .header__menu {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
  }

  .header__menu a {
    font-size: 16px;
    line-height: 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero__body {
    flex-direction: column-reverse;
    align-items: center;
    padding: 32px 24px;
    height: auto;
  }

  .hero__content {
    padding-top: 0;
    max-width: 100%;
    min-width: 0;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__text {
    font-size: 18px;
  }

  /* Inline-размеры из редактора не ломают mobile-макет */
  .hero__text [style*="font-size"],
  .hero__text .hero__text-lg,
  .hero__text .hero__text-sm,
  .article-card__excerpt [style*="font-size"],
  .training-card__excerpt [style*="font-size"],
  .music-feature__description [style*="font-size"],
  .about-list__text [style*="font-size"] {
    font-size: inherit;
  }

  .hero__photo {
    width: 280px;
    height: 286px;
    margin-top: 0;
  }

  .hero__watermark {
    font-size: 100px;
    top: 0;
  }

  /* Hero mobile - единый паттерн как на главной */
  .page-about .hero,
  .page-articles .hero,
  .page-trainings .hero,
  .page-music .hero {
    height: auto;
    min-height: 0;
    margin-top: 5px;
    overflow: hidden;
    --hero-pad-x: 20px;
  }

  .page-about .hero__body,
  .page-articles .hero__body,
  .page-trainings .hero__body,
  .page-music .hero__body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: min(640px, 85dvh);
    padding: 20px var(--hero-pad-x) 0;
    gap: 0;
  }

  .page-about .hero__content,
  .page-articles .hero__content,
  .page-trainings .hero__content,
  .page-music .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    width: 100%;
    flex-shrink: 0;
  }

  .page-about .hero__title,
  .page-articles .hero__title,
  .page-trainings .hero__title,
  .page-music .hero__title {
    position: static;
    width: auto;
    max-width: 100%;
    margin: 0;
    font-size: 30px;
    line-height: 105%;
    letter-spacing: -0.03em;
    overflow-wrap: break-word;
  }

  .page-about .hero__text,
  .page-articles .hero__text,
  .page-trainings .hero__text,
  .page-music .hero__text {
    position: static;
    width: 100%;
    max-width: 100%;
    font-size: 18px;
    line-height: 108%;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
  }

  .page-about .hero__highlight,
  .page-articles .hero__highlight,
  .page-trainings .hero__highlight {
    text-underline-offset: 3px;
    overflow-wrap: break-word;
  }

  .page-about .hero__photo-picture,
  .page-articles .hero__photo-picture,
  .page-trainings .hero__photo-picture,
  .page-music .hero__photo-picture {
    position: relative;
    z-index: 1;
    display: block;
    align-self: stretch;
    width: calc(100% + 40px);
    max-width: none;
    margin: auto -20px 0;
    flex-shrink: 0;
  }

  .page-about .hero__photo,
  .page-articles .hero__photo,
  .page-trainings .hero__photo,
  .page-music .hero__photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 287px;
    margin-top: 0;
    border-radius: 6px 6px 0 0;
    object-fit: contain;
    object-position: center bottom;
  }

  .page-about .hero__watermark,
  .page-articles .hero__watermark,
  .page-trainings .hero__watermark,
  .page-music .hero__watermark {
    top: 20px;
    left: var(--hero-pad-x);
    max-width: none;
    height: 117px;
    font-size: 100px;
    line-height: 117px;
    transform: translate3d(var(--hero-wm-x, 0px), 0, 0);
    white-space: nowrap;
    pointer-events: none;
  }

  .page-about .hero__watermark { width: 511px; }
  .page-articles .hero__watermark { width: 332px; }
  .page-trainings .hero__watermark { width: 453px; }
  .page-music .hero__watermark { width: 380px; }

  .page-about .hero__greeting {
    position: static;
    display: inline-flex;
    gap: 4px;
    margin: 60px 0 0;
    font-size: 12px;
    line-height: 15px;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .page-about .hero__greeting span {
    overflow-wrap: break-word;
  }

  .page-about .hero__wave {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .page-about .hero__text {
    margin: 12px 0 20px;
  }

  .page-articles .hero__text,
  .page-trainings .hero__text {
    margin: 90px 0 0;
  }

  .page-music .hero__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 90px;
    gap: 20px;
  }

  .page-music .hero__text {
    margin: 0;
  }

  .page-music .hero__badge {
    position: static;
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 30px;
    margin: 0;
    padding: 8px 10px;
    gap: 6px;
    font-size: 10px;
    line-height: 12px;
  }

  .page-music .hero__badge-icon {
    width: 12px;
    height: 11px;
  }

  .page-music .music-releases {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin-top: 60px;
    padding: 0 20px;
    box-sizing: border-box;
    gap: 32px;
  }

  .page-music .music-release {
    width: 100%;
    max-width: none;
    gap: 20px;
    align-items: stretch;
  }

  .page-music .music-release__cover-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .page-music .music-release__cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
  }

  .page-music .music-release__overlay {
    border-radius: 8px;
  }

  .page-music .music-release__soon {
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -0.04em;
  }

  .page-music .music-release__info {
    gap: 8px;
    align-items: flex-start;
    width: 100%;
    text-align: left;
  }

  .page-music .music-release__title {
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.04em;
  }

  .page-music .music-release__year {
    font-size: 12px;
    line-height: 15px;
  }

  .page-music .music-feature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 40px);
    max-width: 100%;
    margin: 60px auto 0;
    background: #ebebeb;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .page-music .music-feature + .page-music .music-feature,
  .page-music .music-feature + .music-feature {
    margin-top: 60px;
  }

  .page-music .music-feature__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(90deg, #e0e0e0 0%, #e0dfde 100%);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
  }

  .page-music .music-feature__cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
  }

  .page-music .music-feature__intro {
    width: 100%;
    min-height: auto;
    justify-content: flex-start;
    gap: 32px;
  }

  .page-music .music-feature__headline {
    gap: 12px;
    width: 100%;
  }

  .page-music .music-feature__title {
    font-weight: 400;
    font-size: 24px;
    line-height: 105%;
    letter-spacing: -0.03em;
    color: #2f323b;
  }

  .page-music .music-feature__subtitle {
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #212223;
  }

  .page-music .music-feature__quote-block {
    gap: 16px;
    width: 100%;
  }

  .page-music .music-feature__quote-line {
    gap: 12px;
    width: 100%;
  }

  .page-music .music-feature__quote-icon {
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 16px;
  }

  .page-music .music-feature--no-quote .music-feature__quote-icon {
    display: none;
  }

  .page-music .music-feature__description {
    max-width: none;
    font-size: 12px;
    line-height: 15px;
    color: #323232;
  }

  .page-music .music-feature__clips,
  .page-music .music-feature__clips--stacked {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 32px;
    padding: 32px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-music .music-feature__clips-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
  }

  .page-music .music-clip {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-width: 0;
    gap: 12px;
  }

  .page-music .music-clip__preview {
    order: 2;
    width: 100%;
    height: 130px;
    aspect-ratio: auto;
    border-radius: 8px;
  }

  .page-music .music-clip__thumb {
    border-radius: 8px;
  }

  .page-music .music-clip__play {
    width: 50px;
    height: 50px;
    padding: 15px 0 15px 3.75px;
    backdrop-filter: blur(3.125px);
    -webkit-backdrop-filter: blur(3.125px);
  }

  .page-music .music-clip__play svg {
    width: 18px;
    height: 20px;
  }

  .page-music .music-clip__duration {
    padding: 6px 10px;
    gap: 4px;
    font-size: 10px;
    line-height: 12px;
    background: rgba(47, 50, 59, 0.6);
  }

  .page-music .music-clip__duration svg {
    width: 8px;
    height: 8px;
  }

  .page-music .music-clip__footer {
    display: contents;
  }

  .page-music .music-clip__meta {
    order: 1;
    flex: 0 0 auto;
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .page-music .music-clip__title {
    margin: 0;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #2f323b;
  }

  .page-music .music-clip__artist {
    margin: 0;
    font-size: 10px;
    line-height: 12px;
    color: #2f323b;
  }

  .page-music .music-clip__link {
    order: 3;
    flex: 0 0 auto;
    width: 100%;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0 16px;
    font-size: 12px;
    line-height: 15px;
    justify-content: space-between;
    background: linear-gradient(270deg, rgba(38, 38, 38, 0.12) 0%, rgba(114, 114, 114, 0.12) 100%);
  }

  .page-music .music-disclaimer {
    width: 100%;
    max-width: 270px;
    margin: 32px auto 0;
    padding: 0 25px;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 15px;
  }

  .page-music .footer {
    margin-top: 32px;
  }

  .page-music .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
  }

  .page-music .footer__copyright,
  .page-music .footer__site,
  .page-music .footer__email {
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.04em;
  }

  .page-articles .articles-list {
    width: 100%;
    max-width: 100%;
    margin-top: 60px;
    padding: 0 15px;
    box-sizing: border-box;
    gap: 24px;
  }

  .page-articles .article-card {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 32px;
    gap: 32px;
    background: #ebebeb;
    border-radius: 8px;
    overflow: visible;
  }

  .page-articles .article-card__media,
  .page-articles .article-card__divider {
    display: none;
  }

  .page-articles .article-card__body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0;
    width: 100%;
  }

  .page-articles .article-card__info {
    gap: 24px;
  }

  .page-articles .article-card__header {
    gap: 12px;
  }

  .page-articles .article-card__title {
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #2f323b;
  }

  .page-articles .article-card__date {
    font-size: 10px;
    line-height: 12px;
    color: #44474f;
  }

  .page-articles .article-card__excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #44474f;
    opacity: 1;
  }

  .page-articles .article-card__excerpt-desktop {
    display: none;
  }

  .page-articles .article-card__excerpt-mobile {
    display: inline;
  }

  .page-articles .article-card__more {
    color: #2f323b;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
  }

  .page-articles .article-card__excerpt--expanded .article-card__excerpt-desktop {
    display: inline;
  }

  .page-articles .article-card__excerpt--expanded .article-card__excerpt-mobile {
    display: none;
  }

  .page-articles .article-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: 100%;
  }

  .page-articles .article-card__source {
    position: relative;
    flex: none;
    width: 100%;
    max-width: none;
    height: 70px;
    max-height: 70px;
    padding: 0;
  }

  .page-articles .article-card__source-bg {
    position: absolute;
    top: 0;
    left: -3px;
    width: 222px;
    height: 70px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 6px 0 0 6px;
  }

  .page-articles .article-card__source-logo {
    position: absolute;
    top: 12px;
    left: 9px;
    width: 96px;
    height: 16px;
    margin: 0;
  }

  .page-articles .article-card__source-text {
    position: absolute;
    top: 34px;
    left: 9px;
    width: 144px;
    font-size: 10px;
    line-height: 12px;
    color: #44474f;
  }

  .music-releases {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
  }

  .music-release {
    width: 100%;
    max-width: none;
  }

  .music-feature {
    margin-top: 48px;
  }

  .music-feature__header {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }

  .music-feature__cover {
    width: min(100%, 220px);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .music-feature__intro {
    min-height: auto;
  }

  .music-feature__title {
    font-size: 28px;
  }

  .music-feature__subtitle {
    font-size: 16px;
    line-height: 1.25;
  }

  .music-feature + .music-feature {
    margin-top: 48px;
  }

  .music-feature__clips,
  .music-feature__clips--stacked {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  .music-feature__clips-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .music-clip {
    width: 100%;
    max-width: none;
  }

  .music-clip__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .music-disclaimer {
    margin-top: 32px;
  }

  .music-detail__shell {
    padding: 32px 24px;
    min-height: auto;
  }

  .music-detail__layout {
    flex-direction: column;
  }

  .music-detail__panel {
    flex: none;
    width: 100%;
    min-height: auto;
  }

  .music-detail__breadcrumbs {
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 14px;
  }

  .music-detail__title {
    font-size: 32px;
  }

  .music-detail__panel {
    padding: 24px;
  }

  .music-detail__album-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
  }

  .music-detail__album-cover {
    grid-row: auto;
  }

  .music-detail__actions {
    flex-wrap: wrap;
    margin-top: 24px;
  }

  .page-music-detail .music-detail {
    margin: 5px 20px 0;
  }

  .page-music-detail .music-detail__shell {
    width: 100%;
    min-height: auto;
    padding: 20px;
    box-sizing: border-box;
  }

  .page-music-detail .music-detail__breadcrumbs {
    gap: 8px;
    margin-bottom: 16px;
    font-size: 10px;
    line-height: 12px;
  }

  .page-music-detail .music-detail__layout {
    flex-direction: column;
    gap: 16px;
  }

  .page-music-detail .music-detail__media {
    order: -1;
    width: 100%;
  }

  .page-music-detail .music-detail__video {
    height: 163px;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 29.15%);
  }

  .page-music-detail .music-detail__video-thumb {
    height: 163px;
  }

  .page-music-detail .music-detail__video-player {
    height: 100%;
  }

  .page-music-detail .music-detail__video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 29.15%);
    pointer-events: none;
  }

  .page-music-detail .music-detail__video.is-playing::after {
    display: none;
  }

  .page-music-detail .music-detail__play {
    width: 50px;
    height: 50px;
    padding: 15px 0 15px 3.75px;
    backdrop-filter: blur(3.125px);
    -webkit-backdrop-filter: blur(3.125px);
  }

  .page-music-detail .music-detail__play svg {
    width: 18px;
    height: 20px;
  }

  .page-music-detail .music-detail__panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-height: auto;
    padding: 24px;
    gap: 32px;
    box-sizing: border-box;
  }

  .page-music-detail .music-detail__panel-top {
    gap: 32px;
  }

  .page-music-detail .music-detail__title {
    font-size: 24px;
    line-height: 105%;
    letter-spacing: -0.03em;
  }

  .page-music-detail .music-detail__meta-row {
    font-size: 12px;
    line-height: 15px;
  }

  .page-music-detail .music-detail__album-label {
    top: -9px;
    font-size: 12px;
    line-height: 15px;
    color: #ffffff;
    opacity: 0.5;
  }

  .page-music-detail .music-detail__album-body {
    gap: 24px;
  }

  .page-music-detail .music-detail__album-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .page-music-detail .music-detail__album-title {
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.01em;
  }

  .page-music-detail .music-detail__album-cover {
    width: 100%;
    height: 222px;
  }

  .page-music-detail .music-detail__album-link {
    align-self: start;
    font-size: 12px;
    line-height: 15px;
  }

  .page-music-detail .music-detail__actions {
    gap: 24px;
    margin-top: 0;
  }

  .page-music-detail .music-detail__action {
    font-size: 13px;
    line-height: 16px;
  }

  .page-music-detail .music-disclaimer {
    margin-top: 32px;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-article-detail .article-detail {
    margin-top: 24px;
  }

  .page-article-detail .article-detail__inner {
    padding: 0 20px;
  }

  .page-article-detail .article-detail__top {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .page-article-detail .article-detail__media {
    flex: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .page-article-detail .article-detail__vline {
    display: none;
  }

  .page-article-detail .article-detail__title {
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.03em;
  }

  .page-article-detail .article-detail__date {
    font-size: 13px;
    line-height: 16px;
  }

  .page-article-detail .article-detail__body {
    margin-top: 28px;
    font-size: 15px;
    line-height: 145%;
  }

  .page-article-detail .article-detail__body img.alignleft,
  .page-article-detail .article-detail__body img.alignright,
  .page-article-detail .article-detail__body .alignleft,
  .page-article-detail .article-detail__body .alignright,
  .page-article-detail .article-detail__body .wp-caption.alignleft,
  .page-article-detail .article-detail__body .wp-caption.alignright {
    float: none;
    display: block;
    margin: 0.75em auto 1.15em;
    max-width: 100%;
  }

  .page-article-detail .article-detail__footer {
    margin-top: 24px;
  }

  .page-article-detail .article-detail__signature {
    font-size: 14px;
  }

  .page-article-detail .article-detail__share {
    font-size: 14px;
  }

  .works {
    margin-top: 48px;
  }

  .page-about .works {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin-top: 60px;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-about .works__header {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    text-align: center;
  }

  .page-about .works__title {
    font-size: 24px;
    line-height: 105%;
    letter-spacing: -0.03em;
    color: #2f323b;
  }

  .page-about .works__slider {
    width: 100%;
    padding: 0;
    overflow: hidden;
    touch-action: pan-y;
  }

  .page-about .works__track {
    gap: 32px;
  }

  .page-about .works__nav {
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 0;
  }

  .page-about .works__nav-btn {
    width: 40px;
    height: 40px;
    padding: 10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .page-about .work-card {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    gap: 12px;
    padding: 24px 24px 6px;
    justify-content: flex-start;
    transform: none;
    transition: none;
  }

  .page-about .work-card:hover {
    z-index: 0;
    transform: none;
    border-radius: 8px;
  }

  .page-about .work-card__info {
    gap: 16px;
  }

  .page-about .work-card__title {
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #2f323b;
  }

  .page-about .work-card__meta {
    gap: 4px;
    height: auto;
  }

  .page-about .work-card__type {
    font-size: 13px;
    line-height: 16px;
  }

  .page-about .work-card__date {
    font-size: 10px;
    line-height: 12px;
  }

  .page-about .work-card__image-picture {
    width: 100%;
    flex: 1 1 auto;
    height: auto;
    aspect-ratio: 341 / 297;
  }

  .page-about .work-card__image {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .page-about .about {
    width: 100%;
    max-width: 100%;
    margin-top: 60px;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-about .about__title {
    font-size: 24px;
    line-height: 105%;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #212223;
  }

  .page-about .about__cards {
    width: 100%;
    margin: 0 auto;
    gap: 24px;
  }

  .page-about .about-card {
    width: 100%;
    padding: 24px;
    gap: 20px;
    justify-content: flex-start;
  }

  .page-about .about-card__title {
    font-size: 18px;
    line-height: 108%;
    letter-spacing: -0.01em;
  }

  .page-about .about-list {
    gap: 6px;
  }

  .page-about .about-list__item {
    align-items: flex-start;
    gap: 8px;
  }

  .page-about .about-list__marker {
    width: 10px;
    height: 10px;
    margin-top: 3px;
  }

  .page-about .about-list__text {
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.01em;
  }

  .page-about .about-periods {
    gap: 24px;
  }

  .page-about .about-period {
    gap: 16px;
  }

  .page-about .about-period .about-list {
    gap: 8px;
  }

  .page-about .about-period__heading {
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.04em;
  }

  .page-about .footer {
    margin-top: 60px;
    background: transparent;
  }

  .page-about .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    background: #212223;
    box-sizing: border-box;
  }

  .page-about .footer__copyright,
  .page-about .footer__site,
  .page-about .footer__email {
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #ffffff;
  }

  .works__header {
    margin-bottom: 24px;
  }

  .works__title {
    font-size: 28px;
  }

  .about {
    margin-top: 48px;
  }

  .about__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .about-card {
    padding: 24px;
    gap: 24px;
  }

  .about-card__title {
    font-size: 22px;
  }

  .about-list__text,
  .about-period__heading {
    font-size: 16px;
  }

  .footer {
    margin-top: 60px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 40px 24px;
  }

  .footer__copyright,
  .footer__site {
    font-size: 16px;
  }

  .footer__email {
    font-size: 16px;
  }

  .articles-list {
    margin-top: 48px;
  }

  .article-card {
    flex-direction: column;
  }

  .article-card__media {
    width: 100%;
    min-height: auto;
    padding: 24px;
  }

  .article-card__divider {
    width: 100%;
    height: 1px;
  }

  .article-card__body {
    padding: 24px;
    gap: 24px;
  }

  .article-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .article-card__source {
    flex: none;
    width: 100%;
    max-width: none;
    height: 70px;
    max-height: 70px;
    padding: 0;
  }

  .article-card__source-bg {
    width: 100%;
  }

  .article-card__source-logo,
  .article-card__source-text {
    position: static;
  }

  .article-card__source-logo {
    margin-bottom: 8px;
  }

  .trainings-list {
    margin-top: 48px;
    padding: 0 15px;
    max-width: 100%;
  }

  .training-card {
    flex-direction: column;
    border-radius: 12px;
  }

  .training-card__media {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: 0;
  }

  .training-card__image {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .training-card__content {
    padding: 24px;
    gap: 20px;
  }

  .training-card__title {
    font-size: 22px;
  }

  .training-card__excerpt {
    max-width: 100%;
  }
}

/* ACF typography: --ak-fs только на десктопе; на mobile остаётся размер из макета */
[style*="--ak-lh"] {
  line-height: var(--ak-lh);
}

@media (min-width: 901px) {
  [style*="--ak-fs"] {
    font-size: var(--ak-fs);
  }

  /* Иконки рядом с текстом масштабируются вместе с font-size */
  [style*="--ak-fs"] > svg,
  [style*="--ak-fs"] > .about-list__marker,
  [style*="--ak-fs"] > .hero__wave,
  [style*="--ak-fs"] > .hero__badge-icon,
  [style*="--ak-fs"] > .music-detail__action-icon {
    width: 1em;
    height: 1em;
  }

  .about-list__item[style*="--ak-fs"] .about-list__text {
    font-size: inherit;
  }

  .about-list__item[style*="--ak-fs"] > .about-list__marker {
    width: 0.7em;
    height: 0.7em;
  }

  .hero__greeting[style*="--ak-fs"] > .hero__wave {
    width: 1.2em;
    height: 1.2em;
  }

  .hero__badge[style*="--ak-fs"] > .hero__badge-icon {
    width: 1.23em;
    height: auto;
  }

  .music-clip__duration[style*="--ak-fs"] > svg {
    width: 0.77em;
    height: 0.77em;
  }

  .music-clip__link[style*="--ak-fs"] > svg {
    width: 0.35em;
    height: 0.5em;
  }
}
