/* NJMEP manufacturing landing v2. Scoped to .njm. Build njmep-mfg-20261109g */
.njm {
  --ink: #101820; --ink2: #17222d; --sky: #5C88DA; --sky-d: #315FAF; --mist: #D8DFE2; --stone: #847D7F;
  --paper: #F3F5F7; --text: #2b3640; --muted: #5b6670; --focus: #1C57B7; --on-ink: #c9d2d9;
  --display: "Galano Grotesque", "GalanoGrotesque", "Manrope", system-ui, sans-serif;
  --body: "BentonSans", "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: var(--body); color: var(--text); background: #fff; font-size: 17px; line-height: 1.6;
  overflow-x: clip;
}
.njm *, .njm *::before, .njm *::after { box-sizing: border-box; }
.njm h1, .njm h2, .njm h3 { font-family: var(--display); margin: 0; letter-spacing: -0.015em; color: var(--ink); text-transform: none; }
.njm p { margin: 0 0 16px; font-weight: 400; }
.njm ul, .njm ol { margin: 0; padding: 0; list-style: none; }
.njm img { display: block; max-width: 100%; height: auto; }
.njm a { color: var(--sky-d); }
.njm a:focus-visible, .njm button:focus-visible, .njm summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.njm button { font: inherit; cursor: pointer; }
.njm-wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }
.njm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.njm [class*="__grid"] > * { min-width: 0; }

/* Type */
.njm .njm-h1 { font-size: clamp(34px, 1.6rem + 2.2vw, 58px); line-height: 1.06; font-weight: 700; color: #fff; margin-bottom: 24px; max-width: 15ch; text-wrap: balance; letter-spacing: -0.02em; }
.njm .njm-h1 .njm-hl { color: var(--sky); }
.njm .njm-h2 { font-size: clamp(28px, 1.2rem + 1.6vw, 44px); line-height: 1.1; font-weight: 700; margin-bottom: 16px; text-wrap: balance; }
.njm .njm-h2--xl { font-size: clamp(36px, 1.4rem + 2.6vw, 60px); }
.njm h3 { font-size: 20px; line-height: 1.28; font-weight: 600; margin-bottom: 8px; }
.njm-kicker { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-d); }
.njm-intro { font-size: 19px; color: var(--muted); max-width: 620px; }
.njm-head { margin-bottom: 48px; }
.njm-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.njm-head--light .njm-h2 { color: #fff; }
.njm-head--light .njm-kicker { color: var(--sky); }

/* Split headline lines (JS adds spans) */
.njm-line { display: block; overflow: hidden; padding-bottom: .06em; }
.njm-line > span { display: block; }

/* Buttons and links */
.njm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 16px; }
.njm-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 3px; font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; overflow: hidden; isolation: isolate; transition: color 200ms var(--ease), border-color 200ms var(--ease); }
.njm-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease); }
.njm-btn:hover::before { transform: scaleX(1); }
.njm-btn span { transition: transform 200ms var(--ease); }
.njm-btn:hover span { transform: translateX(4px); }
.njm .njm-btn--sky { background: var(--sky); color: #fff; }
.njm .njm-btn--sky::before { background: #fff; }
.njm .njm-btn--sky:hover { color: var(--ink); }
.njm .njm-btn--line { color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.njm .njm-btn--line::before { background: #fff; }
.njm .njm-btn--line:hover { color: var(--ink); border-color: #fff; }
.njm-arrow { font-family: var(--display); font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 4px; display: inline-flex; gap: 8px; }
.njm-arrow span { transition: transform 200ms var(--ease); }
.njm-arrow:hover span { transform: translateX(4px); }

/* ---------- Hero ---------- */
.njm-hero { position: relative; background: var(--ink); color: var(--on-ink); padding: 72px 0 0; overflow: hidden; }
.njm-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(92,136,218,.22), rgba(92,136,218,0)); pointer-events: none; }
.njm-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: center; }
.njm-badge { display: inline-flex; align-items: center; gap: 14px; padding: 8px 16px 8px 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 3px; margin-bottom: 28px !important; font-size: 14px; color: #fff; font-family: var(--display); font-weight: 600; }
.njm-badge img { width: 128px; background: #fff; padding: 6px 8px; border-radius: 2px; }
.njm-lede { font-size: clamp(17px, 1rem + .25vw, 19px); line-height: 1.6; color: var(--on-ink); max-width: 560px; }
.njm-note { font-size: 14px; color: #8f9ba5; }

/* Photo stage: framed, interactive */
.njm-stage { position: relative; }
.njm-stage__frame { position: relative; aspect-ratio: 4 / 3.1; }
.njm-stage__frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 2px solid var(--sky); z-index: 0; }
.njm-stage__frame::after { content: ""; position: absolute; left: -18px; top: -18px; width: 96px; height: 96px; background: var(--sky); z-index: 0; }
.njm-stage__slide { position: absolute; inset: 0; margin: 0; z-index: 1; opacity: 0; transition: opacity 600ms var(--ease); overflow: hidden; background: var(--ink2); }
.njm-stage__slide.is-active { opacity: 1; z-index: 2; }
.njm-stage__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.njm-stage__slide.is-active img { transform: scale(1); }
.njm-stage__slide figcaption { position: absolute; right: 0; bottom: 0; font-size: 11px; padding: 4px 8px; background: rgba(16,24,32,.7); color: #c9d2d9; }
.njm-stage__slide figcaption a { color: #c9d2d9; }
.njm-stage__tag { position: absolute; z-index: 3; left: -1px; bottom: 32px; background: #fff; color: var(--ink); padding: 14px 20px; font-family: var(--display); line-height: 1.1; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.njm-stage__tag span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-d); font-weight: 600; }
.njm-stage__tag strong { font-size: 22px; }
.njm-stage__tabs { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 48px; }
.njm-stage__tab { display: flex; align-items: center; gap: 10px; padding: 6px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 3px; color: #c9d2d9; text-align: left; transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease); }
.njm-stage__tab:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.njm-stage__tab[aria-selected="true"] { border-color: var(--sky); background: rgba(92,136,218,.16); color: #fff; }
.njm-stage__thumb { flex: 0 0 52px; height: 40px; overflow: hidden; }
.njm-stage__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 200ms var(--ease); }
.njm-stage__tab[aria-selected="true"] .njm-stage__thumb img, .njm-stage__tab:hover .njm-stage__thumb img { filter: none; }
.njm-stage__label { font-family: var(--display); font-weight: 600; font-size: 14px; }

/* Proof strip */
.njm-proof { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px !important; border-top: 1px solid rgba(255,255,255,.14); }
.njm-proof li { padding: 28px 28px 36px 0; display: flex; flex-direction: column; gap: 6px; }
.njm-proof li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.njm-proof strong { font-family: var(--display); font-size: clamp(22px, 1rem + .9vw, 30px); font-weight: 700; color: #fff; line-height: 1.15; white-space: nowrap; }
.njm-proof em { font-style: normal; color: var(--sky); }
.njm-proof span { font-size: 14px; line-height: 1.45; color: var(--on-ink); max-width: 30ch; }

/* ---------- Live with (sticky) ---------- */
.njm-live { padding: 120px 0; background: #fff; }
.njm-live__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.njm-live__visual { position: relative; }
.njm-live__frame { position: relative; aspect-ratio: 5 / 4; }
.njm-live__frame::before { content: ""; position: absolute; inset: -20px 20px 20px -20px; background: var(--paper); z-index: 0; }
.njm-live__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity 500ms var(--ease); }
.njm-live__frame img.is-on { opacity: 1; }
.njm-live__count { position: absolute; z-index: 2; right: 0; bottom: 0; background: var(--ink); color: #fff; padding: 12px 18px; font-family: var(--display); font-size: 14px; }
.njm-live__count b { color: var(--sky); font-size: 20px; }
.njm-live__list li { padding: 22px 0 22px 28px; border-left: 2px solid var(--mist); position: relative; transition: border-color 320ms var(--ease); }
.njm-live__list li::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 0; background: var(--sky); transition: height 600ms var(--ease); }
.njm-live__list li.is-on::before { height: 100%; }
.njm-live__list h3 { font-size: clamp(18px, .9rem + .5vw, 22px); transition: color 320ms var(--ease); }
.njm-live__list p { color: var(--muted); margin: 0; }
.njm-js .njm-live__list li:not(.is-on) h3 { color: #8a949c; }

/* ---------- Why ---------- */
.njm-why { background: var(--ink); padding: 120px 0; color: var(--on-ink); position: relative; overflow: hidden; }
.njm-why::before { content: ""; position: absolute; left: 50%; top: -30%; width: 70%; height: 80%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(92,136,218,.16), rgba(92,136,218,0)); pointer-events: none; }
.njm-head--center { text-align: center; margin-inline: auto; max-width: 760px; }
.njm-head--center .njm-intro { margin-inline: auto; }
.njm-why__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.njm-why__item { position: relative; background: linear-gradient(180deg, #1a2632 0%, #141e28 100%); border: 1px solid rgba(255,255,255,.1); border-radius: 3px; padding: 40px 34px; overflow: hidden; transition: transform 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease); }
.njm-why__item::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--sky); transform: scaleX(.12); transform-origin: left; transition: transform 420ms var(--ease); }
.njm-why__item:hover { transform: translateY(-6px); border-color: rgba(92,136,218,.5); box-shadow: 0 24px 48px rgba(0,0,0,.35); }
.njm-why__item:hover::before { transform: scaleX(1); }
.njm-why__n { position: absolute; right: 28px; top: 26px; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: rgba(255,255,255,.07); }
.njm-why__icon { display: grid; place-items: center; width: 60px; height: 60px; background: rgba(92,136,218,.14); border: 1px solid rgba(92,136,218,.4); border-radius: 3px; }
.njm-why__item h3 { color: #fff; font-size: 21px; margin: 26px 0 12px; }
.njm-why__item p { color: var(--on-ink); margin: 0; font-size: 16px; }
.njm-ico { width: 32px; height: 32px; color: var(--sky); transition: transform 320ms var(--ease); }
.njm-why__item:hover .njm-ico { transform: scale(1.08); }

/* ---------- Triggers accordion ---------- */
.njm-triggers { padding: 120px 0; background: var(--paper); }
.njm-triggers__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.njm-triggers .njm-head { position: sticky; top: 120px; }
.njm-triggers .njm-arrow { color: var(--ink); margin-top: 8px; }
.njm-acc__item { background: #fff; margin-bottom: 10px; border-left: 3px solid transparent; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.njm-acc__item[open] { border-left-color: var(--sky); box-shadow: 0 16px 40px rgba(16,24,32,.08); }
.njm-acc__item summary { list-style: none; display: grid; grid-template-columns: 48px 1fr 24px; gap: 12px; align-items: center; padding: 20px 28px; cursor: pointer; }
.njm-acc__item summary::-webkit-details-marker { display: none; }
.njm-acc__n { font-family: var(--display); font-weight: 700; color: var(--sky-d); font-size: 15px; }
.njm-acc__q { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink); line-height: 1.3; }
.njm-acc__x { position: relative; width: 18px; height: 18px; }
.njm-acc__x::before, .njm-acc__x::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--ink); transition: transform 320ms var(--ease); }
.njm-acc__x::after { transform: rotate(90deg); }
.njm-acc__item[open] .njm-acc__x::after { transform: rotate(0); }
.njm-acc__body { overflow: hidden; }
.njm-acc__item .njm-acc__body p { padding: 0 28px 24px 88px; margin: 0; color: var(--muted); }
.njm-acc__q { transition: color 200ms var(--ease); }
.njm-acc__item summary:hover .njm-acc__q { color: var(--sky-d); }

/* ---------- Services accordion ---------- */
.njm-services { background: #fff; padding: 120px 0; }
.njm-svc { border-top: 1px solid var(--mist); }
.njm-svc__item { border-bottom: 1px solid var(--mist); transition: background-color 320ms var(--ease); }
.njm-svc__item[open] { background: var(--paper); }
.njm-svc__item summary { list-style: none; display: grid; grid-template-columns: 64px 1fr auto 24px; gap: 16px; align-items: center; padding: 26px 24px; cursor: pointer; }
.njm-svc__item summary::-webkit-details-marker { display: none; }
.njm-svc__n { font-family: var(--display); font-weight: 700; color: var(--sky-d); font-size: 15px; }
.njm-svc__name { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: clamp(20px, 1rem + .8vw, 28px); transition: color 200ms var(--ease), transform 320ms var(--ease); }
.njm-svc__item summary:hover .njm-svc__name { color: var(--sky-d); transform: translateX(4px); }
.njm-svc__count { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.njm-svc__item ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; padding: 0 24px 28px 104px; }
.njm-svc__item li { position: relative; padding: 14px 0 14px 26px; border-top: 1px solid var(--mist); color: var(--text); font-size: 16px; }
.njm-svc__item li::before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 2px; background: var(--sky); }

/* ---------- AR ---------- */
.njm-ar { padding: 120px 0; background: var(--ink); color: var(--on-ink); }
.njm-ar .njm-h2 { color: #fff; }
.njm-ar .njm-kicker { color: var(--sky); }
.njm-ar__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.njm-ar__copy > p { color: var(--on-ink); font-size: 18px; }
.njm-ar__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 36px 0 44px; }
.njm-ar__steps li { padding: 18px 18px 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--sky); border-radius: 3px; }
.njm-ar__steps b { display: block; font-family: var(--display); color: #fff; font-size: 18px; margin-bottom: 4px; }
.njm-ar__steps span { font-size: 14px; line-height: 1.45; color: var(--on-ink); }
.njm-ar__media { position: relative; }
.njm-ar__media::before { content: ""; position: absolute; inset: -22px 22px 44px -22px; border: 2px solid var(--sky); z-index: 0; }
.njm-player { position: relative; z-index: 1; aspect-ratio: 16 / 9; background: var(--ink); box-shadow: 0 30px 60px rgba(16,24,32,.25); }
.njm-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.njm-player__poster { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: var(--ink); overflow: hidden; }
.njm-player__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity 320ms var(--ease), transform 1s var(--ease); }
.njm-player__poster:hover img { opacity: .9; transform: scale(1.03); }
.njm-player__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; display: grid; place-items: center; background: var(--sky); color: #fff; transition: background-color 200ms var(--ease), transform 200ms var(--ease); }
.njm-player__poster:hover .njm-player__play { background: #fff; color: var(--ink); transform: translate(-50%, -50%) scale(1.06); }
.njm-player__meta { position: absolute; left: 0; bottom: 0; right: 0; padding: 16px 20px; text-align: left; color: #fff; font-family: var(--display); font-size: 15px; background: linear-gradient(0deg, rgba(16,24,32,.9), rgba(16,24,32,0)); }
.njm-player__meta b { color: var(--sky); margin-right: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.njm-cap { position: relative; z-index: 1; font-size: 13px; color: #8f9ba5; margin-top: 56px !important; }

/* ---------- Team ---------- */
.njm-team { padding: 120px 0; background: var(--paper); }
.njm-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.njm-person { background: #fff; display: flex; flex-direction: column; transition: transform 320ms var(--ease), box-shadow 320ms var(--ease); }
.njm-person:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(16,24,32,.12); }
.njm-person__photo { position: relative; aspect-ratio: 5 / 5.4; overflow: hidden; background: linear-gradient(160deg, #e7ecef 0%, #cfd8de 100%); }
.njm-person__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: var(--sky); transform: scaleX(.18); transform-origin: left; transition: transform 420ms var(--ease); }
.njm-person:hover .njm-person__photo::after { transform: scaleX(1); }
.njm-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: grayscale(1) contrast(1.02); transition: transform 600ms var(--ease); }
.njm-person:hover .njm-person__photo img { transform: scale(1.04); }
.njm-person__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.njm-person__role { font-family: var(--display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--sky-d); font-weight: 600; margin-bottom: 14px !important; }
.njm-person__body > p:not(.njm-person__role) { color: var(--muted); font-size: 16px; }
.njm-person__links { margin-top: auto !important; padding-top: 16px; border-top: 1px solid var(--mist); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.njm-person__links a { text-decoration: none; font-weight: 600; }
.njm-person__links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Insights ---------- */
.njm-insights { padding: 120px 0; }
.njm-insights .njm-arrow { color: var(--ink); }
.njm-insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.njm-post { display: flex; flex-direction: column; text-decoration: none; color: var(--ink) !important; }
.njm-post__img { display: block; overflow: hidden; margin-bottom: 18px; position: relative; }
.njm-post__img::after { content: ""; position: absolute; inset: 0; border: 0 solid var(--sky); transition: border-width 200ms var(--ease); }
.njm-post:hover .njm-post__img::after { border-width: 4px; }
.njm-post img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform 600ms var(--ease); }
.njm-post:hover img { transform: scale(1.05); }
.njm-post__tag { font-family: var(--display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-d); font-weight: 600; margin-bottom: 8px; }
.njm-post h3 { font-size: 21px; margin-bottom: 14px; }
.njm-post__more { margin-top: auto; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--sky-d); }

/* ---------- Contact + form ---------- */
.njm-contact { position: relative; padding: 120px 0; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.njm-contact::before { content: ""; position: absolute; left: -20%; bottom: -40%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(92,136,218,.18), rgba(92,136,218,0)); pointer-events: none; }
.njm-contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.njm-contact .njm-h2 { color: #fff; }
.njm-contact .njm-kicker { color: var(--sky); }
.njm-contact__copy > p { color: var(--on-ink); font-size: 18px; }
.njm-contact__direct { margin: 32px 0 !important; border-top: 1px solid rgba(255,255,255,.14); }
.njm-contact__direct li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; }
.njm-contact__direct span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8f9ba5; margin-bottom: 4px; }
.njm-contact__direct a { color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; }
.njm-contact__direct a:hover { color: var(--sky); }
.njm-affiliate { display: flex; align-items: center; gap: 20px; padding: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.njm-affiliate img { flex: 0 0 auto; width: 180px; background: #fff; padding: 10px 12px; }
.njm-affiliate p { margin: 0; font-size: 14px; color: var(--on-ink); }

.njm-form { position: relative; background: #fff; color: var(--ink); padding: 40px 40px 32px; }
.njm-form__head { border-bottom: 1px solid var(--mist); padding-bottom: 18px; margin-bottom: 22px; }
.njm-form__title { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--ink); margin: 0 0 4px !important; }
.njm-form__sub { color: var(--muted); font-size: 15px; margin: 0 !important; }
.njm-form__target { min-height: 380px; }
.njm-form__skeleton i { display: block; height: 48px; margin-bottom: 14px; background: linear-gradient(90deg, #eef1f3, #f7f9fa, #eef1f3); background-size: 200% 100%; animation: njm-sk 1.2s linear infinite; }
.njm-form__skeleton i.w { width: 40%; background: var(--mist); }
@keyframes njm-sk { to { background-position: -200% 0; } }
.njm-form__fallback { font-size: 14px; color: var(--muted); }
.njm-form.is-ready .njm-form__skeleton, .njm-form.is-ready .njm-form__fallback { display: none; }
/* HubSpot form skin */
.njm-form .hs-form fieldset { max-width: none !important; }
.njm-form .hs-form .hs-form-field { margin-bottom: 18px; }
.njm-form .hs-form label { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; display: block; }
.njm-form .hs-form .hs-input:not([type="checkbox"]):not([type="radio"]) { width: 100% !important; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--mist); border-radius: 3px; background: #fafbfc; font: inherit; color: var(--ink); transition: border-color 200ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.njm-form .hs-form .hs-input:hover { border-color: #b9c4cb; }
.njm-form .hs-form .hs-input:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 3px rgba(92,136,218,.2); }
.njm-form .hs-form .hs-input.invalid.error { border-color: #b3261e; }
.njm-form .hs-form .hs-error-msgs { font-size: 13px; color: #b3261e; margin-top: 4px; }
.njm-form .hs-form .form-columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.njm-form .hs-form .form-columns-2 .hs-form-field { width: auto !important; float: none !important; padding: 0 !important; }
.njm-form .hs-form .input { margin-right: 0 !important; }
.njm-form .hs-form .hs-button { width: 100%; min-height: 54px; background: var(--ink); color: #fff; border: 0; border-radius: 3px; font-family: var(--display); font-weight: 600; font-size: 17px; cursor: pointer; transition: background-color 200ms var(--ease); }
.njm-form .hs-form .hs-button:hover { background: var(--sky); }
.njm-form .hs-form .legal-consent-container, .njm-form .hs-richtext { font-size: 12px; color: var(--muted); }
.njm-form .submitted-message { font-family: var(--display); font-size: 20px; color: var(--ink); padding: 40px 0; }

/* ---------- Motion setup (JS present, motion allowed) ---------- */
.njm-anim [data-njm-rise] { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .njm-tabs { grid-template-columns: 260px 1fr; }
}
@media (max-width: 960px) {
  .njm-wrap { width: calc(100% - 48px); }
  .njm-hero__grid, .njm-live__grid, .njm-triggers__grid, .njm-ar__grid, .njm-contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .njm-stage { margin-right: 24px; }
  .njm-live__visual, .njm-triggers .njm-head { position: static; }
  .njm-live__visual { display: none; }
  .njm-js .njm-live__list li:not(.is-on) h3 { color: var(--ink); }
  .njm-live__list li::before { height: 100%; }
  .njm-why__grid, .njm-team__grid, .njm-insights__grid { grid-template-columns: 1fr; }
  .njm-team__grid { grid-template-columns: 1fr 1fr; }
  .njm-tabs { grid-template-columns: 1fr; }
  .njm-tabs__list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .njm-tabs__list button { flex: 0 0 auto; border-bottom: 0; border-right: 1px solid rgba(255,255,255,.14); padding: 18px 20px; font-size: 16px; }
  .njm-tabs__list button::after { display: none; }
  .njm-ar__media { margin-left: 24px; }
}
@media (max-width: 640px) {
  .njm { font-size: 16px; }
  .njm-wrap { width: calc(100% - 32px); }
  .njm-hero { padding-top: 40px; }
  .njm-live, .njm-why, .njm-triggers, .njm-services, .njm-ar, .njm-team, .njm-insights, .njm-contact { padding: 72px 0; }
  .njm-head { margin-bottom: 32px; }
  .njm-badge img { width: 96px; }
  .njm-stage { margin-right: 16px; }
  .njm-stage__frame::before { inset: 16px -16px -16px 16px; }
  .njm-stage__frame::after { width: 56px; height: 56px; left: -10px; top: -10px; }
  .njm-stage__tag { padding: 10px 14px; bottom: 16px; }
  .njm-stage__tag strong { font-size: 17px; }
  .njm-stage__tabs { margin-top: 32px; gap: 6px; }
  .njm-stage__thumb { display: none; }
  .njm-stage__tab { justify-content: center; padding: 10px 6px; }
  .njm-stage__label { font-size: 13px; }
  .njm-proof { grid-template-columns: 1fr; margin-top: 56px !important; }
  .njm-proof li, .njm-proof li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .njm-actions .njm-btn { width: 100%; justify-content: center; }
  .njm-acc__item summary { grid-template-columns: 34px 1fr 18px; padding: 20px 18px; }
  .njm-acc__q { font-size: 17px; }
  .njm-acc__item p { padding: 0 18px 22px 64px; }
  .njm-tabs__panel { padding: 28px 22px; }
  .njm-tabs__panel h3 { font-size: 24px; }
  .njm-ar__steps { grid-template-columns: 1fr; }
  .njm-ar__media { margin-left: 16px; }
  .njm-team__grid { grid-template-columns: 1fr; }
  .njm-affiliate { flex-direction: column; align-items: flex-start; }
  .njm-form { padding: 26px 20px; }
  .njm-form .hs-form .form-columns-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .njm *, .njm *::before, .njm *::after { transition: none !important; animation: none !important; }
  .njm-anim [data-njm-rise] { opacity: 1; transform: none; }
}

/* ---------- Partners marquee ---------- */
.njm-logos { background: #0b1219; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); padding: 26px 0; }
.njm-logos__inner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.njm-logos__label { margin: 0 !important; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8f9ba5; line-height: 1.5; padding-right: 32px; border-right: 1px solid rgba(255,255,255,.14); }
.njm-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.njm-marquee__track { display: flex; align-items: center; gap: 72px; width: max-content; animation: njm-marquee 38s linear infinite; }
.njm-marquee:hover .njm-marquee__track, .njm-marquee:focus-within .njm-marquee__track { animation-play-state: paused; }
.njm-marquee__track li { flex: 0 0 auto; }
.njm-marquee__track img { height: auto; max-height: 40px; object-fit: contain; opacity: .7; filter: brightness(0) invert(1); transition: opacity 200ms var(--ease), filter 200ms var(--ease); }
.njm-marquee__track img.is-white { filter: none; }
.njm-marquee__track li:hover img { opacity: 1; }
@keyframes njm-marquee { to { transform: translateX(calc(-50% - 36px)); } }

/* Pinned day-to-day */
.njm-live__grid.is-pinned { align-items: center; }

@media (max-width: 960px) {
  .njm-why__grid { grid-template-columns: 1fr; }
  .njm-svc__item ul { grid-template-columns: 1fr; padding: 0 20px 24px 20px; }
  .njm-svc__item summary { grid-template-columns: 40px 1fr 20px; padding: 22px 16px; }
  .njm-svc__count { display: none; }
  .njm-ar__media { margin-left: 22px; }
  .njm-logos__inner { grid-template-columns: 1fr; gap: 16px; }
  .njm-logos__label { border-right: 0; padding-right: 0; }
  .njm-logos__label br { display: none; }
}
@media (max-width: 640px) {
  .njm-proof strong { white-space: normal; }
  .njm-ar__steps { grid-template-columns: 1fr; }
  .njm-acc__item .njm-acc__body p { padding: 0 18px 20px 64px; }
  .njm-marquee__track { gap: 48px; }
  .njm-why__item { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .njm-marquee__track { animation: none; flex-wrap: wrap; width: auto; gap: 24px 40px; }
  .njm-marquee__track li[aria-hidden="true"] { display: none; }
  .njm-marquee { -webkit-mask-image: none; mask-image: none; }
}
.njm-svc__item[open] .njm-acc__x::after { transform: rotate(0); }
.njm-svc__item .njm-acc__body { overflow: hidden; }
.njm-marquee__track img.is-pad { max-height: 54px; opacity: .85; }

/* ===== v4 (20261109j) ===== */
/* AR: margins were losing to `.njm ul, .njm ol { margin: 0 }`; raise specificity */
.njm .njm-ar__steps { margin: 36px 0 0; }
.njm-ar__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.njm .njm-btn--line:hover span { transform: none; }

/* Ink button for light sections */
.njm .njm-btn--ink { background: var(--ink); color: #fff; }
.njm .njm-btn--ink::before { background: var(--sky); }
.njm .njm-btn--ink:hover { color: #fff; }

/* Services CTA row */
.njm-svc__cta { padding: 0 24px 28px 104px; }
.njm .njm-svc__cta .njm-btn { min-height: 46px; padding: 12px 22px; font-size: 15px; }

/* Accordions: let the browser keep the clicked row stable (no JS scrolling) */
.njm-acc, .njm-svc { overflow-anchor: auto; }

/* ---------- Popup form ---------- */
html.njm-modal-open { overflow: hidden; }
.njm-modal { padding: 0; border: 0; background: transparent; max-width: min(1040px, calc(100vw - 32px)); width: 100%; max-height: calc(100dvh - 32px); margin: auto; color: var(--ink); overflow: visible; }
.njm-modal::backdrop { background: rgba(10,16,22,.72); backdrop-filter: blur(3px); }
.njm-modal__panel { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; background: #fff; border-radius: 3px; overflow: hidden; max-height: calc(100dvh - 32px); box-shadow: 0 40px 80px rgba(0,0,0,.4); font-family: var(--body); }
.njm-modal__close { position: absolute; z-index: 2; right: 14px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; color: var(--ink); border-radius: 3px; cursor: pointer; transition: background-color 200ms var(--ease); }
.njm-modal__close:hover { background: var(--paper); }
.njm-modal__close:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.njm-modal__aside { background: var(--ink); color: var(--on-ink); padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.njm-modal__aside > img { width: 150px; background: #fff; padding: 8px 10px; border-radius: 2px; margin-bottom: 8px; }
.njm-modal__kicker { margin: 0; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.njm-modal__lead { margin: 0; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; color: #fff; }
.njm-modal__note { margin: 0; font-size: 15px; color: var(--on-ink); }
.njm-modal__people { list-style: none; margin: auto 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 12px; }
.njm-modal__people li { display: flex; align-items: center; gap: 12px; }
.njm-modal__people img { width: 44px; height: 44px; object-fit: cover; object-position: 50% 0; border-radius: 50%; filter: grayscale(1); }
.njm-modal__people span { font-size: 13px; color: var(--on-ink); line-height: 1.35; }
.njm-modal__people b { display: block; color: #fff; font-family: var(--display); font-size: 14px; }
.njm-modal__form { padding: 40px 40px 36px; overflow-y: auto; }
.njm-modal__title { margin: 0 48px 6px 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--ink); }
.njm-modal__preview { margin: 0 0 22px; font-size: 13px; color: var(--muted); padding: 8px 12px; background: var(--paper); border-left: 3px solid var(--sky); }
.njm-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.njm-field { position: relative; margin-bottom: 16px; }
.njm-field label { display: block; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.njm-field input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--mist); border-radius: 3px; background: #fafbfc; font: inherit; font-size: 16px; color: var(--ink); transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease); }
.njm-field input:hover { border-color: #b9c4cb; }
.njm-field input:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 3px rgba(92,136,218,.2); }
.njm-field__err { display: none; margin-top: 4px; font-size: 13px; color: #b3261e; }
.njm-field.is-invalid input { border-color: #b3261e; }
.njm-field.is-invalid .njm-field__err { display: block; }
.njm-chips { border: 0; margin: 4px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.njm-chips legend { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 10px; padding: 0; }
.njm-chips legend span { font-weight: 400; color: var(--muted); }
.njm-chip { position: relative; cursor: pointer; }
.njm-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.njm-chip span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--mist); border-radius: 3px; font-size: 14px; color: var(--text); background: #fff; transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease); }
.njm-chip:hover span { border-color: var(--sky); }
.njm-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.njm-chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.njm .njm-modal__submit { width: 100%; justify-content: center; }
.njm-modal__form.is-done > :not(.njm-modal__done):not(.njm-modal__title) { display: none; }
.njm-modal__done { padding: 18px 20px; background: var(--paper); border-left: 3px solid var(--sky); }
.njm-modal__done:focus { outline: none; }
.njm-modal__done-title { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 8px; }
.njm-modal__done p { margin: 0 0 6px; font-size: 15px; color: var(--text); }

@media (max-width: 960px) {
  .njm-svc__cta { padding: 0 20px 24px; }
}
@media (max-width: 760px) {
  .njm-modal__panel { grid-template-columns: 1fr; overflow-y: auto; }
  .njm-modal__aside { padding: 28px 24px 22px; }
  .njm-modal__people, .njm-modal__note { display: none; }
  .njm-modal__lead { font-size: 20px; }
  .njm-modal__form { padding: 24px 22px 28px; overflow: visible; }
  .njm-field-row { grid-template-columns: 1fr; }
  .njm-modal__close { color: #fff; }
  .njm-modal__close:hover { background: rgba(255,255,255,.1); }
  .njm-ar__actions .njm-btn { width: 100%; justify-content: center; }
}
/* Open rows are always full height unless an animation is running (guards against interrupted tweens) */
.njm details[open]:not(.is-anim) > .njm-acc__body { height: auto !important; }
.njm details[open]:not(.is-anim) > .njm-acc__body > * { opacity: 1 !important; transform: none !important; }

/* ===== v5 (20261109n): pinned day-to-day with illustrated scenes ===== */
.njm-live__pin { position: relative; }
.njm-live__pin .njm-head { margin-bottom: 32px; }
.njm-live__frame { aspect-ratio: 4 / 3; }
.njm-live__frame::before { inset: -18px 18px 18px -18px; background: #DCE6F5; }
.njm-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity 450ms var(--ease); border: 1px solid var(--mist); background: #EEF2F6; }
.njm-scene.is-on { opacity: 1; z-index: 2; }
.njm-scene:not(.is-on) * { animation-play-state: paused !important; }
.njm-scene text { font-family: var(--display); }
.njm-scene .t-b { font-weight: 700; }
.njm-scene .t-xs { font-size: 12px; } .njm-scene .t-xxs { font-size: 7px; letter-spacing: .06em; } .njm-scene .t-s { font-size: 17px; }
.njm-scene .t-w { fill: #fff; } .njm-scene .t-ink { fill: #101820; } .njm-scene .t-mute { fill: #5b6670; } .njm-scene .t-sky { fill: #5C88DA; } .njm-scene .t-red { fill: #B3261E; }
.njm-scene .t-mono { font-family: "Courier New", ui-monospace, monospace; font-size: 15px; }
.njm-scene .t-mono.t-xs { font-size: 11px; }
.njm-scene g, .njm-scene rect, .njm-scene path, .njm-scene circle, .njm-scene text { transform-box: fill-box; }

/* 01 invoices: endless paper falls on a pile, two heads turn, inbox pings */
.s0-fall { animation: s0-fall 3.2s cubic-bezier(.4,0,.6,1) infinite; opacity: 0; }
.s0-fall--1 { animation-delay: .8s; } .s0-fall--2 { animation-delay: 1.6s; } .s0-fall--3 { animation-delay: 2.4s; }
@keyframes s0-fall { 0% { transform: translateY(-90px) rotate(-8deg); opacity: 0; } 12% { opacity: 1; } 70% { transform: translateY(118px) rotate(4deg); opacity: 1; } 85%, 100% { transform: translateY(126px) rotate(0); opacity: 0; } }
.s0-pile { animation: s0-pile 0.8s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes s0-pile { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.02); } }
.s0-head { animation: s0-look 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
.s0-head--b { animation-delay: 1.2s; }
@keyframes s0-look { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.s0-ping { animation: s0-ping 1.6s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes s0-ping { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.s0-think { animation: s0-think 4s ease-in-out infinite; transform-origin: 10% 100%; }
@keyframes s0-think { 0%, 15% { opacity: 0; transform: scale(.8); } 25%, 75% { opacity: 1; transform: scale(1); } 88%, 100% { opacity: 0; transform: scale(.9); } }

/* 02 controller: plan for next quarter appears, gets buried by data entry */
.s1-think { animation: s1-think 5s ease-in-out infinite; transform-origin: 0% 100%; }
@keyframes s1-think { 0%, 8% { opacity: 0; transform: scale(.85); } 20%, 100% { opacity: 1; transform: scale(1); } }
.s1-line { stroke-dasharray: 200; animation: s1-line 5s ease-out infinite; }
@keyframes s1-line { 0%, 15% { stroke-dashoffset: 200; } 40%, 100% { stroke-dashoffset: 0; } }
.s1-bury { animation: s1-bury 5s cubic-bezier(.5,0,.3,1) infinite; }
@keyframes s1-bury { 0%, 52% { transform: translate(-230px, 170px) rotate(-20deg); opacity: 0; } 58% { opacity: 1; } 68%, 92% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(0, 0); opacity: 0; } }
.s1-paper { animation: s1-paper 2.2s ease-in-out infinite; }
.s1-paper--b { animation-delay: 1.1s; }
@keyframes s1-paper { 0% { transform: translateX(-120px); opacity: 0; } 30% { opacity: 1; } 60%, 100% { transform: translateX(0); opacity: 1; } }
.s1-key { opacity: .25; animation: s1-key .9s steps(1) infinite; }
.s1-key--1 { animation-delay: .15s; } .s1-key--2 { animation-delay: .3s; } .s1-key--3 { animation-delay: .45s; } .s1-key--4 { animation-delay: .6s; } .s1-key--5 { animation-delay: .75s; }
@keyframes s1-key { 0% { opacity: 1; } 30%, 100% { opacity: .25; } }
.s1-head { animation: s1-head 0.9s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes s1-head { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }

/* 03 ERP: old screen, rebates rebuilt cell by cell in Excel, numbers never match */
.s2-scan { animation: s2-scan 2.6s linear infinite; }
@keyframes s2-scan { 0% { transform: translateY(0); } 100% { transform: translateY(90px); } }
.s2-cursor { animation: s2-blink 1s steps(1) infinite; }
@keyframes s2-blink { 50% { opacity: 0; } }
.s2-flow { animation: s2-flow 1s linear infinite; }
@keyframes s2-flow { to { stroke-dashoffset: -24; } }
.s2-cell { animation: s2-cell 6s ease-in-out infinite; }
.s2-cell--0 { animation-delay: 0.00s; } .s2-cell--1 { animation-delay: 0.32s; } .s2-cell--2 { animation-delay: 0.64s; } .s2-cell--3 { animation-delay: 0.96s; } .s2-cell--4 { animation-delay: 1.28s; } .s2-cell--5 { animation-delay: 1.60s; } .s2-cell--6 { animation-delay: 1.92s; } .s2-cell--7 { animation-delay: 2.24s; } .s2-cell--8 { animation-delay: 2.56s; } .s2-cell--9 { animation-delay: 2.88s; } .s2-cell--10 { animation-delay: 3.20s; } .s2-cell--11 { animation-delay: 3.52s; } .s2-cell--12 { animation-delay: 3.84s; } .s2-cell--13 { animation-delay: 4.16s; } .s2-cell--14 { animation-delay: 4.48s; } 
@keyframes s2-cell { 0%, 4% { fill: #EEF2F6; } 8%, 80% { fill: #CFDBEF; } 92%, 100% { fill: #EEF2F6; } }
.s2-neq { animation: s2-neq 1.4s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes s2-neq { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* 04 tariffs: ship lands, DUTY stamps COGS, refund returns, part belongs to inventory */
.s3-ship { animation: s3-ship 7s cubic-bezier(.3,.1,.3,1) infinite; }
@keyframes s3-ship { 0% { transform: translateX(-260px); } 30%, 100% { transform: translateX(120px); } }
.s3-wave { animation: s3-wave 2s linear infinite; }
@keyframes s3-wave { to { transform: translateX(-40px); } }
.s3-stamp { animation: s3-stamp 7s ease-in infinite; transform-origin: 50% 50%; }
@keyframes s3-stamp { 0%, 30% { transform: translateY(-60px) scale(1.6) rotate(-12deg); opacity: 0; } 38% { transform: translateY(46px) scale(1) rotate(-8deg); opacity: 1; } 90% { transform: translateY(46px) rotate(-8deg); opacity: 1; } 100% { opacity: 0; transform: translateY(46px) rotate(-8deg); } }
.s3-cogs { animation: s3-cogs 7s ease-out infinite; transform-origin: 50% 100%; }
@keyframes s3-cogs { 0%, 37% { transform: scaleY(1); } 44%, 92% { transform: scaleY(1.55); } 100% { transform: scaleY(1); } }
.s3-refund { animation: s3-refund 7s ease-in-out infinite; }
@keyframes s3-refund { 0%, 55% { transform: translateX(160px); opacity: 0; } 65%, 92% { transform: translateX(0); opacity: 1; } 100% { opacity: 0; } }
.s3-split { stroke-dashoffset: 0; animation: s3-split 7s linear infinite; opacity: 0; }
@keyframes s3-split { 0%, 66% { opacity: 0; } 72%, 92% { opacity: 1; } 100% { opacity: 0; } }
.s3-q { animation: s3-split 7s linear infinite; opacity: 0; }
.s3-inv { animation: s3-inv 7s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes s3-inv { 0%, 74% { transform: scale(1); } 80% { transform: scale(1.08); } 86%, 100% { transform: scale(1); } }

@media (max-width: 960px) {
  .njm-live__visual { display: block !important; position: sticky; top: 76px; z-index: 3; margin: 0 0 8px; padding: 8px 0 12px; background: #fff; }
  .njm-live__frame { aspect-ratio: 16 / 10; max-height: 46vh; margin-left: 12px; }
  .njm-live__frame::before { inset: -10px 10px 10px -10px; }
  .njm-live__grid { gap: 16px; }
  .njm-js .njm-live__list li:not(.is-on) h3 { color: #8a949c; }
  .njm-live__list li::before { height: 0; }
  .njm-live__list li.is-on::before { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .njm-scene * { animation: none !important; }
  .s0-fall, .s1-bury, .s3-refund, .s3-split, .s3-q, .s0-think { opacity: 1; }
}
/* Pinned desktop: only the active item shows its description, so the whole block fits one screen */
.njm-live__pin.is-pinned .njm-live__list li { padding: 16px 0 16px 28px; }
.njm-live__pin.is-pinned .njm-live__list li p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 450ms var(--ease), opacity 300ms var(--ease), margin 300ms var(--ease); }
.njm-live__pin.is-pinned .njm-live__list li.is-on p { max-height: 140px; opacity: 1; margin-top: 8px; }
.njm-live__pin.is-pinned .njm-live__grid { align-items: center; }
@media (max-width: 960px) {
  /* Block flow so the sticky scene can travel the full height of the list */
  .njm-live__grid { display: block; }
  .njm-live__visual { box-shadow: 0 10px 16px -12px rgba(16,24,32,.25); }
  .njm-live__list { padding-top: 8px; }
}
/* This page only: the theme's body{overflow:hidden} makes <body> a scroll container, which breaks position:sticky. clip keeps horizontal overflow hidden without that side effect. */
body.page-template-template-njmep-manufacturing { overflow: visible; overflow-x: clip; }
