/* Scoped live counterparts of the original white 5:4, 12-second videos.
   Container units preserve their geometry without scaling translated text to an image.
   Logical spacing inherits the page's direction; native demo excerpts isolate theirs. */
.home-feature-animation { container-type: inline-size; }
body.home-v2 .project-section .project-card-items .project-thumb.home-feature-media.home-feature-animation { aspect-ratio: auto; }
.home-feature-animation .hfa-surface {
  box-sizing: border-box;
  min-height: 80cqw;
  padding-block: 11%;
  padding-inline: 12.5%;
  color: var(--navy, #101828);
  font-family: inherit;
  font-size: 2.55cqw;
  line-height: 1.25;
  text-align: start;
}
.home-feature-animation .hfa-surface p { font: inherit; color: inherit; margin: 0; }
.home-feature-animation .hfa-surface b { font-weight: 650; }
.home-feature-animation .hfa-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5cqw; }
.home-feature-animation .hfa-surface .hfa-label { font-size: 1.85cqw; font-weight: 550; letter-spacing: .16em; text-transform: uppercase; }
.home-feature-animation .hfa-live { display: inline-flex; align-items: center; gap: .8cqw; }
.home-feature-animation .hfa-live::before { content: ""; width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--green); flex: none; }
.home-feature-animation .hfa-live--cyan::before { background: var(--cyan); }
.home-feature-animation .hfa-live--pink::before { background: var(--pink); }
.home-feature-animation .hfa-language-header { gap: 1cqw; flex-wrap: wrap; }
.home-feature-animation .hfa-language-pills { display: flex; align-items: center; gap: .7cqw; font-size: 1.8cqw; font-weight: 600; }
.home-feature-animation .hfa-language-pills span { padding: .55cqw 1.25cqw; border-radius: 2cqw; background: var(--gray-white, #f6f7f9); }
.home-feature-animation .hfa-language-pill { animation: hfa-language-pill 12s linear infinite; }
.home-feature-animation .hfa-language-pill--1 { animation-delay: -9s; }
.home-feature-animation .hfa-language-pill--2 { animation-delay: -6s; }
.home-feature-animation .hfa-language-pill--3 { animation-delay: -3s; }
.home-feature-animation .hfa-session { display: grid; position: relative; min-height: 46cqw; margin-block-start: 3cqw; }
.home-feature-animation .hfa-phase { position: absolute; inset: 0; opacity: 0; }
.home-feature-animation .hfa-session > .hfa-phase,
.home-feature-animation .hfa-dialogue > .hfa-phase { position: relative; grid-area: 1 / 1; }
.home-feature-animation .hfa-language-scene { animation: hfa-language-scene 12s linear infinite; }
.home-feature-animation .hfa-language-scene--1 { animation-delay: -9s; }
.home-feature-animation .hfa-language-scene--2 { animation-delay: -6s; }
.home-feature-animation .hfa-language-scene--3 { animation-delay: -3s; }
.home-feature-animation .hfa-person { display: flex; align-items: center; gap: 1.6cqw; }
.home-feature-animation .hfa-avatar { display: inline-flex; align-items: center; justify-content: center; min-width: 6.3cqw; min-height: 4.3cqw; padding: .5cqw; border-radius: .7cqw; background: var(--gray-white, #f6f7f9); font-size: 1.8cqw; flex: none; }
.home-feature-animation .hfa-person small,
.home-feature-animation .hfa-framework small { display: block; font-size: 2.1cqw; color: var(--gray-dark, #667085); }
.home-feature-animation .hfa-question { margin-block-start: 3cqw !important; font-weight: 650 !important; }
.home-feature-animation .hfa-answer { display: flex; justify-content: flex-end; margin-block-start: 4cqw; }
.home-feature-animation .hfa-answer > span { display: inline-block; max-width: 88%; background: var(--gray-white, #f6f7f9); padding: 1cqw 1.4cqw; border-radius: .7cqw; }
.home-feature-animation .hfa-report { margin-block-start: 5cqw; border-block-start: 1px solid var(--gray-light); padding-block-start: 2.5cqw; }
.home-feature-animation .hfa-report-language { font-size: 1.9cqw; font-weight: 600; }
.home-feature-animation .hfa-report-result { margin-block-start: 3cqw; animation: hfa-report-result 3s linear infinite; }
.home-feature-animation .hfa-report-result small { display: block; margin-block-start: 1.6cqw; font-size: 1.9cqw; color: var(--gray-dark, #667085); }
.home-feature-animation mark { padding: 0 .1em; color: inherit; background: color-mix(in srgb, var(--yellow) 50%, transparent); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.home-feature-animation .hfa-scenario { margin-block-start: 2.5cqw !important; font-size: 2.9cqw !important; font-weight: 650 !important; }
.home-feature-animation .hfa-dialogue { display: grid; position: relative; min-height: 14cqw; margin-block-start: 3cqw; }
.home-feature-animation .hfa-dialogue-scene { animation: hfa-dialogue-scene 12s linear infinite; }
.home-feature-animation .hfa-dialogue-scene--1 { animation-delay: -8s; }
.home-feature-animation .hfa-dialogue-scene--2 { animation-delay: -4s; }
.home-feature-animation .hfa-dialogue-reply { animation: hfa-dialogue-reply 4s linear infinite; }
.home-feature-animation .hfa-divider { border-block-start: 1px solid var(--gray-light); margin-block: 2cqw; }
.home-feature-animation .hfa-frameworks { display: grid; gap: 1.5cqw; margin-block-start: 2.5cqw; }
.home-feature-animation .hfa-framework { display: flex; align-items: center; gap: 2cqw; }
.home-feature-animation .hfa-framework > div { flex: 1; min-width: 0; }
.home-feature-animation .hfa-check { width: 3.6cqw; height: 3.6cqw; border: 1px solid var(--gray-light); border-radius: 50%; color: var(--white); flex: none; animation: hfa-check 12s linear infinite; }
.home-feature-animation .hfa-check svg { display: block; width: 100%; height: 100%; }
.home-feature-animation .hfa-framework--1 .hfa-check { animation-name: hfa-check-second; }
.home-feature-animation .hfa-framework--2 .hfa-check { animation-name: hfa-check-third; }
.home-feature-animation .hfa-cohort { max-width: 55%; padding: .6cqw 1.4cqw; border-radius: 3cqw; background: color-mix(in srgb, var(--green) 12%, var(--white)); color: var(--green-dark, #24713e); font-size: 1.8cqw; letter-spacing: .08em; text-transform: uppercase; }
.home-feature-animation .hfa-skills { margin-block-start: 3cqw; animation: hfa-skills 12s linear infinite; }
.home-feature-animation .hfa-skill { margin-block-start: 1.1cqw; }
.home-feature-animation .hfa-score-unit { color: var(--gray-dark, #667085); font-size: 2.05cqw; }
.home-feature-animation .hfa-track { height: .7cqw; margin-block-start: .3cqw; background: var(--gray-white, #f6f7f9); border-radius: 2cqw; overflow: hidden; }
.home-feature-animation .hfa-bar { display: block; height: 100%; background: var(--cyan); border-radius: inherit; transform-origin: left; animation: hfa-bar 12s ease-out infinite; }
[dir="rtl"] .home-feature-animation .hfa-bar { transform-origin: right; }
.home-feature-animation .hfa-bar--91 { width: 91%; background: var(--green); }
.home-feature-animation .hfa-bar--64 { width: 64%; animation-name: hfa-bar-communication; }
.home-feature-animation .hfa-bar--78 { width: 78%; }
.home-feature-animation .hfa-bar--42 { width: 42%; background: var(--pink); }
.home-feature-animation .hfa-evidence { animation: hfa-evidence 12s linear infinite; }
.home-feature-animation .hfa-quote { margin-block-start: 2cqw !important; font-weight: 600 !important; }
.home-feature-animation .hfa-group { animation: hfa-group 12s linear infinite; }
.home-feature-animation .hfa-distribution { position: relative; height: 5cqw; margin-block-start: 1cqw; }
.home-feature-animation .hfa-distribution::before { content: ""; position: absolute; inset-inline: 0; top: 50%; border-block-start: 1px solid var(--gray-light); }
.home-feature-animation .hfa-dot,
.home-feature-animation .hfa-new-dot { position: absolute; top: calc(50% - .85cqw); width: 1.7cqw; height: 1.7cqw; border-radius: 50%; background: color-mix(in srgb, var(--pink) 35%, var(--white)); }
.home-feature-animation .hfa-dot--0 { inset-inline-start: 18%; }
.home-feature-animation .hfa-dot--1 { inset-inline-start: 26%; }
.home-feature-animation .hfa-dot--2 { inset-inline-start: 33%; }
.home-feature-animation .hfa-dot--3 { inset-inline-start: 42%; }
.home-feature-animation .hfa-dot--4 { inset-inline-start: 47%; }
.home-feature-animation .hfa-dot--5 { inset-inline-start: 52%; }
.home-feature-animation .hfa-dot--6 { inset-inline-start: 57%; }
.home-feature-animation .hfa-dot--7 { inset-inline-start: 61%; }
.home-feature-animation .hfa-dot--8 { inset-inline-start: 65%; }
.home-feature-animation .hfa-dot--9 { inset-inline-start: 73%; }
.home-feature-animation .hfa-dot--10 { inset-inline-start: 83%; }
.home-feature-animation .hfa-dot--11 { inset-inline-start: 89%; }
.home-feature-animation .hfa-new-dot { inset-inline-start: 64%; background: var(--pink); outline: .5cqw solid color-mix(in srgb, var(--pink) 25%, transparent); animation: hfa-new-dot 12s linear infinite; }
.home-feature-animation .hfa-next { animation: hfa-next 12s linear infinite; }
.home-feature-animation .hfa-next .hfa-header { font-size: 2.2cqw; }
.home-feature-animation .hfa-arrow { font-size: 3cqw; }
[dir="rtl"] .home-feature-animation .hfa-arrow { transform: scaleX(-1); }
[dir="rtl"] .home-feature-animation .hfa-label { letter-spacing: normal; }
.home-feature-animation .hfa-count-before { animation: hfa-count-before 12s step-end infinite; }
.home-feature-animation .hfa-count-after { animation: hfa-count-after 12s step-end infinite; }
.home-feature-animation[data-home-feature-animation="insight"] .hfa-surface { padding-block: 10%; font-size: 2.35cqw; }
.home-feature-animation[data-home-feature-animation="insight"] .hfa-skills { margin-block-start: 2cqw; }
.home-feature-animation[data-home-feature-animation="insight"] .hfa-skill { margin-block-start: .7cqw; }
.home-feature-animation[data-home-feature-animation="insight"] .hfa-evidence .hfa-divider,
.home-feature-animation[data-home-feature-animation="insight"] .hfa-group .hfa-divider { margin-block: 1.5cqw; }
.home-feature-animation[data-home-feature-animation="insight"] .hfa-next .hfa-divider { margin-block: 1cqw; }
.home-feature-animation[data-home-feature-animation="insight"] .hfa-distribution { height: 3.5cqw; }
/* These static-mode guards intentionally override every per-scene animation,
   including the more-specific staggered checkmarks. */
.home-feature-animation:not([data-motion-ready]) * { animation: none !important; }
.home-feature-animation:not([data-motion-ready]) .hfa-phase:first-child { opacity: 1; }
.home-feature-animation:not([data-motion-ready]) .hfa-check { background: var(--green); color: var(--white); }
.home-feature-animation:not([data-motion-ready]) .hfa-count-after,
.home-feature-animation:not([data-motion-ready]) .hfa-new-dot { display: none; }
.home-feature-animation *, .home-feature-animation *::before, .home-feature-animation *::after { animation-play-state: paused !important; }
.home-feature-animation[data-playing] *, .home-feature-animation[data-playing] *::before, .home-feature-animation[data-playing] *::after { animation-play-state: running !important; }
@keyframes hfa-language-pill { 0%,24.9% { background: color-mix(in srgb, var(--cyan) 20%, var(--white)); box-shadow: inset 0 0 0 1px var(--cyan); } 25%,100% { background: var(--gray-white, #f6f7f9); box-shadow: none; } }
@keyframes hfa-language-scene { 0%,24.5% { opacity: 1; } 25%,100% { opacity: 0; } }
@keyframes hfa-report-result { 0%,28% { opacity: 0; transform: translateY(1cqw); } 45%,100% { opacity: 1; transform: none; } }
@keyframes hfa-dialogue-scene { 0%,32.8% { opacity: 1; } 33.3%,100% { opacity: 0; } }
@keyframes hfa-dialogue-reply { 0%,22% { opacity: 0; transform: translateY(1cqw); } 38%,100% { opacity: 1; transform: none; } }
@keyframes hfa-check { 0%,12% { background: transparent; color: transparent; } 16%,99% { background: var(--green); color: var(--white); } 100% { background: transparent; color: transparent; } }
@keyframes hfa-check-second { 0%,45% { background: transparent; color: transparent; } 49%,99% { background: var(--green); color: var(--white); } 100% { background: transparent; color: transparent; } }
@keyframes hfa-check-third { 0%,75% { background: transparent; color: transparent; } 79%,99% { background: var(--green); color: var(--white); } 100% { background: transparent; color: transparent; } }
@keyframes hfa-skills { 0%,5% { opacity: 0; } 12%,100% { opacity: 1; } }
@keyframes hfa-bar { 0%,8% { transform: scaleX(0); } 19%,100% { transform: scaleX(1); } }
@keyframes hfa-bar-communication { 0%,8% { transform: scaleX(0); width: 64%; } 19%,60% { transform: scaleX(1); width: 64%; } 68%,100% { transform: scaleX(1); width: 66%; } }
@keyframes hfa-evidence { 0%,23% { opacity: 0; } 30%,100% { opacity: 1; } }
@keyframes hfa-group { 0%,40% { opacity: 0; } 48%,100% { opacity: 1; } }
@keyframes hfa-next { 0%,55% { opacity: 0; } 63%,100% { opacity: 1; } }
@keyframes hfa-new-dot { 0%,60% { opacity: 0; transform: scale(.3); } 68%,100% { opacity: 1; transform: scale(1); } }
@keyframes hfa-count-before { 0%,65% { display: inline; } 65.01%,100% { display: none; } }
@keyframes hfa-count-after { 0%,65% { display: none; } 65.01%,100% { display: inline; } }
@media (prefers-reduced-motion: reduce) {
  .home-feature-animation *, .home-feature-animation *::before, .home-feature-animation *::after { animation: none !important; }
  .home-feature-animation .hfa-phase { opacity: 0; }
  .home-feature-animation .hfa-phase:first-child { opacity: 1; }
  .home-feature-animation .hfa-check { background: var(--green); color: var(--white); }
  .home-feature-animation .hfa-count-before { display: inline; }
  .home-feature-animation .hfa-count-after, .home-feature-animation .hfa-new-dot { display: none; }
}
