/* Hero ideas for the consulting and systems message (template-parts/hero-new.php). */
.hn { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 6vw, 88px) 0; background: #fff; }
.hn > .wrap { position: relative; z-index: 1; }
.hn__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hn__split--even { align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.hn__center { max-width: 820px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.hn__center--cta { max-width: 680px; margin: clamp(28px, 4vw, 44px) auto 0; text-align: left; }
.hn__t { margin: 0; color: var(--navy); font: 700 clamp(34px, 4.2vw, 56px)/1.08 var(--font-h); letter-spacing: -.02em; text-wrap: balance; }
.hn__t .hl { color: var(--blue); }
.hn__lead { margin: 16px 0 0; max-width: 56ch; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; }
.hn__center .hn__lead { margin-inline: auto; }
.hn__cta { margin-top: 24px; }
.hn__split--even .hn__cta { margin-top: 0; }
.hn__cta .fd-cta-wrap { width: 100%; margin-top: 0; justify-items: stretch; }
.hn__cta .fd-cta { width: 100%; text-align: left; }
.hn__cta .fd-cta-arrow, .hn__cta .fd-cta__art { display: none !important; }
.hn .cs-stats { margin: 24px 0 0; padding: 18px 0; gap: 16px 20px; }
.hn .cs-stats b { font-size: clamp(26px, 2.6vw, 36px); }
.hn .cs-stats small { font-size: 13.5px; }

/* 10: manual to automatic */
.hn-day { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hn-day li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px dashed var(--line-strong); transition: border-color .35s, background-color .35s; }
.hn-day__ic { display: grid; place-items: center; width: 44px; height: 44px; background: var(--bg-alt); color: var(--muted); transition: background-color .35s, color .35s; }
.hn-day__ic svg { width: 22px; height: 22px; }
.hn-day b { color: var(--navy); font-size: 16px; line-height: 1.25; }
.hn-day__tag { position: relative; display: grid; font-size: 14px; white-space: nowrap; text-align: right; }
.hn-day__tag i, .hn-day__tag em { grid-area: 1 / 1; font-style: normal; transition: opacity .3s; }
.hn-day__tag i { color: var(--muted); }
.hn-day__tag em { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: var(--ok); font-weight: 700; opacity: 0; }
.hn-day__tag svg { width: 16px; height: 16px; }
.hn-day li.is-on { background: #F4FAF7; border: 1px solid #BFE3D2; }
.hn-day li.is-on .hn-day__ic { background: var(--navy); color: #fff; }
.hn-day li.is-on i { opacity: 0; }
.hn-day li.is-on em { opacity: 1; }

/* 11: module board */
.hn-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hn-board li { position: relative; min-height: 158px; padding: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: background-color .35s, border-color .35s; }
.hn-board b { position: relative; z-index: 1; display: block; color: var(--navy); font: 700 19px/1.2 var(--font-h); transition: color .35s; }
.hn-board span { position: relative; z-index: 1; display: block; max-width: 78%; margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.35; transition: color .35s; }
.hn-board .cs-art { width: 46%; max-width: 110px; }
.hn-board li.is-on { background: var(--navy); border-color: var(--navy); }
.hn-board li.is-on b { color: #fff; }
.hn-board li.is-on span { color: #C9D6E6; }
.hn-board li.is-on .cs-art { opacity: .16; filter: invert(1) hue-rotate(180deg); }

/* 12: pipeline */
.hn-pipe { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hn-pipe li { position: relative; display: grid; align-content: start; gap: 6px; }
.hn-pipe li::before { content: ""; position: absolute; left: 0; right: -12px; top: 28px; z-index: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 15px); transition: background .3s; }
.hn-pipe li:last-child::before { display: none; }
.hn-pipe li.is-on::before { background: var(--blue); }
.hn-pipe__ic { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line-strong); color: var(--muted); transition: background-color .3s, color .3s, border-color .3s; }
.hn-pipe__ic svg { width: 24px; height: 24px; }
.hn-pipe li.is-on .hn-pipe__ic { background: var(--blue); border-color: var(--blue); color: #fff; }
.hn-pipe b { color: var(--navy); font: 700 18px/1.2 var(--font-h); }
.hn-pipe small { padding-right: 8px; color: var(--muted); font-size: 14px; line-height: 1.35; }

/* 13: consulting */
.hn-map { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hn-map li { display: grid; grid-template-columns: minmax(0, 1.2fr) 40px minmax(0, 1fr); align-items: center; }
.hn-map p { margin: 0; padding: 14px 16px; background: #fff; border: 1px dashed var(--line-strong); color: var(--navy); font-size: 15.5px; line-height: 1.3; }
.hn-map i { height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); }
.hn-map span { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; background: var(--bg-alt); color: var(--navy); transition: background-color .35s, color .35s; }
.hn-map span svg { flex: none; width: 20px; height: 20px; color: var(--blue); transition: color .35s; }
.hn-map b { font-size: 15px; line-height: 1.25; }
.hn-map li.is-on span { background: var(--navy); color: #fff; }
.hn-map li.is-on span svg { color: #fff; }
.hn-map li.is-on i { background: var(--blue); }

/* 14: case study */
.hn-stack { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hn-stack .cs-box:first-child { grid-column: 1 / -1; box-shadow: var(--shadow); }
.hn-stack .glow-link { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }

@media (max-width: 960px) {
	.hn__split { grid-template-columns: 1fr; }
	.hn-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hn-pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
	.hn-pipe li::before { display: none; }
}
@media (max-width: 640px) {
	.hn-day li { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
	.hn-day__ic { width: 36px; height: 36px; }
	.hn-day b { font-size: 14.5px; }
	.hn-day__tag { font-size: 12.5px; }
	.hn-board li { min-height: 136px; padding: 14px; }
	.hn-board b { font-size: 16px; }
	.hn-board span { max-width: none; font-size: 13px; }
	.hn-map li { grid-template-columns: 1fr; gap: 0; }
	.hn-map i { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hn-day li, .hn-board li, .hn-map span, .hn-pipe__ic { transition: none; } }

/* The hero on home: centred heading, one line of email, the video large below */
.hn--video { padding-block: clamp(26px, 3vw, 44px) clamp(28px, 3vw, 44px); }
.hn__center--hero { max-width: 980px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.hn__center--hero .hn__t { font-size: clamp(32px, 3.6vw, 52px); }
.hn__center--hero .hn__lead { margin-top: 12px; }
.hn-optin { max-width: 600px; margin: 18px auto 0; }
.hn-optin .auth__row { display: flex; gap: 8px; }
.hn-optin .auth__row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); background: #fff; font: 400 16px var(--font-b); }
.hn-optin .auth__row .btn { flex: none; height: 52px; white-space: nowrap; }
.hn-optin .auth__fine { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; text-align: center; }
.hn-stage { max-width: 1180px; }
.hn-video { margin: 0; background: #0A2540; box-shadow: 0 30px 70px rgba(10, 37, 64, .22); }
.hn-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.hn-parts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: clamp(16px, 2vw, 24px) 0 0; padding: 0; list-style: none; }
.hn-parts a { display: block; padding: 10px 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); font-size: 15px; font-weight: 600; transition: background-color .2s, color .2s; }
.hn-parts a:hover { background: var(--blue); color: #fff; }
.hn-parts a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 600px) { .hn-optin .auth__row { flex-direction: column; } .hn-optin .auth__row .btn { width: 100%; justify-content: center; } .hn-parts a { padding: 8px 12px; font-size: 14px; } }
