/* v12: правки после просмотра v11 */

/* Логотип: только знак Северстали, белый, в правом верхнем углу */
.brand.brand-mark { right: 96px; top: 40px; width: 76px; }

/* Чему научил первый проект: по шагу 5 плиток одна за другой, затем «Топ-5 из 12»; блок по центру относительно списка */
.learn9 { align-items: center; }
.learn-r12 { align-self: center; display: grid; justify-items: center; text-align: center; padding-left: 64px; }
.learn-r12 .lr-cap { margin-top: 0; transition-delay: 0ms !important; transform: none; }
.la-cubes { display: flex; gap: 16px; justify-content: center; margin-bottom: 36px; }
.la-cubes i { width: 64px; height: 64px; border-radius: var(--r-s); background: var(--flow); opacity: 0; transform: translateY(16px) scale(.8); }
.learn-r12 .lr-cap.is-shown .la-cubes i { animation: cube-in 500ms var(--ease-out) forwards; animation-delay: calc(var(--j) * 140ms); }
@keyframes cube-in { to { opacity: 1; transform: none; } }
.learn-r12 .lr-cap > p { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.learn-r12 .lr-cap.is-shown > p { opacity: 1; transform: none; transition-delay: 850ms; }
.learn-r12 .lr-cap.is-shown > p + p { transition-delay: 950ms; }
.learn-r12 .lr-cap.is-shown > p + p + p { transition-delay: 1050ms; }

/* Топ-5 в работе: рисующееся сердце из кита (DrawLine, форма heart, m-shared), внутри I-One */
.ione3 { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.ione3 .ione-links { position: absolute; inset: 0; width: 1920px; height: 1080px; overflow: visible; }
.ione3 .ione-links path { fill: none; stroke: var(--flow); stroke-width: 2.5; stroke-linecap: round; opacity: .55; stroke-dasharray: 6 10; }
.ione-dl { position: absolute; left: var(--cx); top: var(--cy); width: 540px; height: 540px; translate: -50% -50%; }
/* .m-draw — как в m-shared/modern.css: цвет --m-red, линия прячется через stroke-dashoffset и рисуется классом is-in */
.m-draw { color: #FF0000; overflow: visible; flex: none; display: block; width: 100%; height: 100%; }
.m-draw path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.m-draw.is-in path { animation: m-draw var(--m-draw-dur, 1.6s) cubic-bezier(.65, 0, .35, 1) var(--m-draw-delay, 0s) forwards; }
@keyframes m-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .m-draw path { stroke-dashoffset: 0; animation: none !important; } }
.ione-dl .h-txt { position: absolute; left: 0; right: 0; top: 182px; display: grid; justify-items: center; text-align: center; color: var(--text); opacity: 0; }
.ione-dl .h-txt b { font-size: 84px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.ione-dl .h-txt span { font-size: 21px; font-weight: 600; color: var(--text-2); margin-top: 12px; }
.slide.s-ione.is-active .ione-dl .h-txt { animation: h-txt 600ms var(--ease-out) 1.2s forwards; }
.slide.s-ione.is-active .ione3 .ione-links path { animation: ione-flow 1.2s linear infinite, ione-show 500ms var(--ease-out) both; animation-delay: 0s, calc(1500ms + var(--k) * 150ms); }
.slide.s-ione:not(.is-active) .ione3 .ione-links path { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .ione-dl .h-txt { opacity: 1; animation: none !important; } }
/* подложка перехода к проекту: сердце целое и гаснет, как только начинается приближение */
.zoom-ov .ione3 { z-index: 0; transition: opacity 250ms var(--ease-out); }
.zoom-ov .ione3 .m-draw path { stroke-dashoffset: 0; animation: none; }
.zoom-ov .ione3 .h-txt { opacity: 1; }
.zoom-ov.has-focus .ione3 { opacity: 0; }
