/* ielena meet elena motion */
.imx-back { display: inline-flex; align-items: center; gap: 10px; }
.imx-arrow { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-size: 18px; line-height: 1; transition: transform .25s; }
.imx-back:hover .imx-arrow, .imx-back:focus-visible .imx-arrow { transform: translateX(-4px); }
@media (max-width: 600px) { .imx-arrow { width: 30px; height: 30px; font-size: 16px; } }

/* Fixed scroll cue: white on dark, black on light (difference blend) */
.imx-cue { position: fixed; right: clamp(16px, 3vw, 40px); bottom: clamp(18px, 4vh, 40px); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #FFFFFF; mix-blend-mode: difference; pointer-events: none; font: 600 12px/1 Inter, system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; transition: opacity .4s; }
.imx-cue i { display: block; width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.imx-cue.is-idle { animation: imx-pulse 1.2s ease-in-out infinite; }
.imx-cue.is-end { opacity: 0; }
@keyframes imx-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25) translateY(6px); opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .imx-cue.is-idle { animation: imx-blink 1.6s steps(2) infinite; } @keyframes imx-blink { 50% { opacity: .3; } } }

/* Process strip: bigger photos with the step text laid over the bottom of each photo */
html .nh2-steps .head { margin-bottom: 20px; }
html .nh2-steps .head h2 { font-size: clamp(26px, 3vw, 44px); }
html .nh2-steps .track li { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; padding: 24px 22px; overflow: hidden; }
html .nh2-steps .track li figure { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; }
html .nh2-steps .track li figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 100%); }
html .nh2-steps .track li > span, html .nh2-steps .track li > h3, html .nh2-steps .track li > p { position: relative; z-index: 1; }
html .nh2-steps li span { color: #CFE3DE; }
html .nh2-steps li h3 { font-size: 26px; margin: 4px 0 6px; }
html .nh2-steps li p { color: #F2F2F2; font-size: 15px; line-height: 1.45; }
@media (min-width: 992px) {
	html.nh2-on .nh2-steps .pin { justify-content: flex-start; padding: 104px 0 16px; }
	html.nh2-on .nh2-steps .track { gap: 64px; }
	html.nh2-on .nh2-steps .track li { width: calc((100vh - 250px) * .8); min-width: 280px; max-width: 620px; }
}
/* Phones and tablets: pinned, slides left while scrolling down */
@media (max-width: 991px) {
	html.imx-pin .nh2-steps .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 72px 0 16px; }
	html.imx-pin .nh2-steps .head { display: block; }
	html.imx-pin .nh2-steps .track { overflow: visible; scroll-snap-type: none; width: max-content; gap: 28px; padding: 0 var(--gutter); transform: translate3d(calc(var(--imx-x, 0) * -1px), 0, 0); will-change: transform; }
	html.imx-pin .nh2-steps .track li { flex: 0 0 auto; width: min(84vw, calc((100svh - 230px) * .8)); max-width: none; }
}
