/* ==========================================================================
   Home page (rebuilt 27 September 2026: Home and AI in Action combined)
   Loaded on the front page only, after services.css, which supplies the shared
   colours, buttons, headings, scroll reveal, prompt box and keyframes.
   Every class here starts "hm-". Motion stops for visitors who ask for reduced
   motion (bottom of this file and of services.css) and pauses in sections that
   are off screen (assets/js/services.js).
   ========================================================================== */

/* 1. Hero ------------------------------------------------------------------- */
.hm-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: 92px 0 54px;
  background:
    radial-gradient(1000px 620px at 80% 12%, rgba(47, 123, 255, 0.34), transparent 62%),
    radial-gradient(760px 460px at -6% 104%, rgba(245, 174, 49, 0.15), transparent 60%),
    linear-gradient(180deg, var(--svc-ink) 0%, var(--svc-deep) 100%);
}
.hm-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 11, 28, 0.84) 0%, rgba(4, 11, 28, 0.4) 50%, rgba(4, 11, 28, 0.1) 100%);
}
.hm-hero .svc-hero-floor { height: 38%; opacity: 0.8; }
.hm-hero-inner { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 36px; align-items: center; }
.hm-hero-copy { max-width: 620px; }
.hm-title {
  color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.7rem); line-height: 1.03;
  letter-spacing: -0.025em; margin: 24px 0 22px;
}
.hm-nw { white-space: nowrap; }
.hm-w { display: inline-block; animation: hm-rise 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 95ms + 150ms); }
.hm-lead { animation: hm-fade-up 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s both; }
.hm-actions { animation: hm-fade-up 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both; }
.hm-engine-wrap { position: relative; animation: hm-fade-in 1.4s ease 0.3s both; }

/* The intelligence engine */
.hm-engine { display: block; width: 100%; height: auto; overflow: visible; }
.hm-e-glow { transform-box: fill-box; transform-origin: center; animation: svc-breathe 5s ease-in-out infinite; }
.hm-e-orbit { transform-box: fill-box; transform-origin: center; animation: svc-spin 46s linear infinite; }
.hm-e-orbit > circle:first-child { fill: none; stroke: rgba(124, 196, 255, 0.16); stroke-width: 1; stroke-dasharray: 2 9; }
.hm-e-sat { fill: var(--svc-orange); }
.hm-e-sat.s2 { fill: var(--svc-sky); }
.hm-e-sat.halo { opacity: 0.28; }
.hm-e-link { fill: none; stroke: rgba(124, 196, 255, 0.2); stroke-width: 1.5; }
.hm-e-link.out { stroke: rgba(245, 174, 49, 0.24); }
.hm-e-flow { fill: none; stroke: rgba(124, 196, 255, 0.6); stroke-width: 1.5; stroke-dasharray: 3 9; animation: hm-flow 1.1s linear infinite; }
.hm-e-flow.out { stroke: rgba(255, 210, 122, 0.65); }
.hm-e-pk { fill: #D8ECFF; }
.hm-e-pk .halo { fill: #7CC4FF; opacity: 0.3; }
.hm-e-pk.out { fill: #FFD27A; }
.hm-e-pk.out .halo { fill: #F5AE31; opacity: 0.32; }
.hm-e-hex { fill: rgba(7, 20, 46, 0.6); stroke: url(#hmHexGrad); stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(124, 196, 255, 0.45)); }
.hm-e-runner { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 64 644; animation: hm-run 5.2s linear infinite; }
.hm-e-hex2 { fill: none; stroke: rgba(124, 196, 255, 0.36); stroke-width: 1.2; stroke-dasharray: 4 7; transform-box: fill-box; transform-origin: center; animation: svc-spin-rev 38s linear infinite; }
.hm-e-arcs { transform-box: fill-box; transform-origin: center; animation: svc-spin 12s linear infinite; }
.hm-e-arcs circle { fill: none; stroke: url(#hmHexGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 92 38 28 64; }
.hm-e-core { fill: url(#hmCoreGrad); stroke: rgba(124, 196, 255, 0.55); stroke-width: 1.5; filter: drop-shadow(0 0 26px rgba(47, 123, 255, 0.85)); }
.hm-e-sweep { transform-box: fill-box; transform-origin: center; animation: svc-spin 3.6s linear infinite; }
.hm-e-icon { color: #fff; }
.hm-e-node rect { fill: rgba(12, 32, 72, 0.92); stroke: rgba(124, 196, 255, 0.42); stroke-width: 1; }
.hm-e-node use { color: var(--svc-sky); }
.hm-e-node text { fill: #C4D2EC; font: 600 13px 'Inter', sans-serif; }
.hm-e-node.out rect { stroke: rgba(245, 174, 49, 0.55); animation: hm-node 2.4s ease-in-out infinite; }
.hm-e-node.o2 rect { animation-delay: 0.8s; }
.hm-e-node.o3 rect { animation-delay: 1.6s; }
.hm-e-node.out use { color: var(--svc-amber); }
.hm-e-label { fill: var(--svc-sky); font: 700 12.5px var(--svc-mono); letter-spacing: 0.2em; }

/* Illustrative activity feed */
.hm-feed { position: relative; max-width: 460px; margin: -2px auto 0; }
.hm-feed-label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px 4px;
  font-family: var(--svc-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #8FA6CF;
}
.hm-feed-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--svc-green); animation: svc-blink 1.4s ease-in-out infinite; }
.hm-feed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hm-feed-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px;
  background: rgba(11, 29, 66, 0.92); border: 1px solid rgba(124, 196, 255, 0.22);
  font-size: 0.9rem; line-height: 1.35; color: #E6EEFB;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9);
  transition: opacity 0.5s ease;
}
.hm-feed-item i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--svc-green); box-shadow: 0 0 0 4px rgba(156, 209, 75, 0.16); }
.hm-feed-item.warn i { background: var(--svc-orange); box-shadow: 0 0 0 4px rgba(245, 174, 49, 0.18); }
.hm-feed-item.wait i { background: var(--svc-sky); box-shadow: 0 0 0 4px rgba(124, 196, 255, 0.18); }
.hm-feed-item span { flex: 1; min-width: 0; }
.hm-feed-item small { flex: none; font-family: var(--svc-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; color: #7F93B8; }
.hm-feed-item:nth-child(2) { opacity: 0.74; }
.hm-feed-item:nth-child(3) { opacity: 0.46; }
.hm-feed-item.is-new { animation: hm-feed-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }

/* Partner strip */
.hm-partners {
  position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(124, 196, 255, 0.14);
  animation: hm-fade-up 1s cubic-bezier(0.2, 0.7, 0.2, 1) 1s both;
}
.hm-partners-text { display: flex; flex-direction: column; gap: 6px; margin-right: 8px; }
.hm-partners-label { font-family: 'Montserrat', 'Inter', sans-serif; font-size: 1.12rem; font-weight: 800; letter-spacing: 0.01em; color: #fff; }
.hm-partners-names { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 0.92rem; font-weight: 500; color: #BFD4F2; }
.hm-partners-names > span { display: inline-flex; align-items: center; gap: 10px; }
.hm-partners-names > span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--svc-orange); }
.hm-partner-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.hm-partner-logos li {
  display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 7px 14px;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.9); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hm-partner-logos li:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -16px rgba(47, 123, 255, 0.7); }
.hm-partner-logos img { display: block; height: 38px; width: auto; }
.hm-partner-logos li:last-child img { height: 44px; margin: -3px 0; }

/* 2. AI in action -------------------------------------------------------------- */
.hm-show {
  position: relative; padding: 112px 0 118px;
  background:
    radial-gradient(rgba(14, 66, 140, 0.08) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, #F4F7FC, #EDF2FA);
}
.hm-show .svc-eyebrow, .hm-pillars .svc-eyebrow, .hm-insights .svc-eyebrow { color: #8F5800; }
.hm-page h2, .hm-caption h3 { text-wrap: balance; }
.hm-show .svc-head .lead, .hm-pillars .svc-head .lead { color: #51607A; }

/* Without JavaScript (and before it runs), every example shows in turn. */
.hm-case { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: center; margin: 0 0 64px; }
.hm-case:last-child { margin-bottom: 0; }

/* With JavaScript: a tab list beside one screen. */
.hm-show-grid.is-tabs { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 34px; align-items: start; }
.hm-show-grid.is-tabs .hm-cases { display: grid; }
.hm-show-grid.is-tabs .hm-case {
  grid-area: 1 / 1; display: block; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}
.hm-show-grid.is-tabs .hm-case.is-active { opacity: 1; visibility: visible; transition: opacity 0.55s ease; }

.hm-tabs { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 124px; }
.hm-tab {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; margin: 0;
  padding: 14px 16px 17px; border-radius: 16px; border: 1px solid transparent; background: transparent;
  color: #3A4458; font: inherit; text-align: left; cursor: pointer; overflow: hidden;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.hm-tab:hover { background: rgba(255, 255, 255, 0.7); border-color: #DCE4F0; }
.hm-tab[aria-selected="true"] { background: #fff; border-color: #DCE4F0; box-shadow: 0 24px 50px -30px rgba(10, 42, 94, 0.55); transform: translateX(6px); }
.hm-tab:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.hm-tab-icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: #E4EEFC; color: var(--navy); transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.hm-tab-icon .svc-i { width: 22px; height: 22px; }
.hm-tab[aria-selected="true"] .hm-tab-icon { background: linear-gradient(135deg, #0E428C, #2F7BFF); color: #fff; box-shadow: 0 12px 24px -12px rgba(47, 123, 255, 0.9); }
.hm-tab-text { display: flex; flex-direction: column; min-width: 0; }
.hm-tab-num { font-family: var(--svc-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; color: #8F5800; }
.hm-tab-text b { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.02rem; line-height: 1.25; color: var(--navy-dark); }
.hm-tab-text small { margin-top: 2px; font-size: 0.83rem; line-height: 1.35; color: #5F6B80; }
.hm-tab-bar { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 3px; border-radius: 3px; background: #E8EEF7; opacity: 0; transition: opacity 0.25s; }
.hm-tab[aria-selected="true"] .hm-tab-bar { opacity: 1; }
.hm-tab-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2F7BFF, #F5AE31); transform-origin: left center; transform: scaleX(1); }
.hm-show-grid.is-auto .hm-tab[aria-selected="true"] .hm-tab-bar i { transform: scaleX(0); animation: hm-progress var(--hm-dur, 9s) linear forwards; }
.hm-show-grid.is-paused .hm-tab-bar i { animation-play-state: paused !important; }

/* The screen */
.hm-frame {
  border-radius: 18px; overflow: hidden; background: #0B1D44; border: 1px solid #1E3A72;
  box-shadow: 0 50px 100px -50px rgba(10, 42, 94, 0.75), 0 0 0 6px rgba(47, 123, 255, 0.05);
}
.hm-frame-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0B1D44;
  font-family: var(--svc-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8FA6CF;
}
.hm-frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2A3B5E; }
.hm-frame-bar i:first-child { background: #FF6B6B; opacity: 0.7; }
.hm-frame-bar i:nth-child(2) { background: var(--orange); opacity: 0.7; }
.hm-frame-bar i:nth-child(3) { background: var(--svc-green); opacity: 0.7; }
.hm-frame-url { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: rgba(124, 196, 255, 0.08); text-transform: none; letter-spacing: 0.06em; color: #A9B8D6; }
.hm-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #EEF1F5; }
.hm-zoom { position: absolute; inset: 0; transform-origin: 50% 50%; }
.hm-zoom > img, .hm-zoom > .hm-arch { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-show-grid.is-tabs .hm-case.is-active .hm-zoom { animation: hm-kenburns 14s ease-out both; }
.hm-show-grid.is-tabs .hm-case.is-active .hm-view.is-diagram .hm-zoom { animation: none; }

/* Notes that pop up on the picture */
.hm-spot { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 2; }
.hm-spot i {
  position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--svc-orange); border: 3px solid #fff; cursor: default;
  box-shadow: 0 6px 14px -4px rgba(10, 42, 94, 0.6); animation: svc-ring 1.8s ease-out infinite;
}
.hm-spot em {
  position: absolute; left: 18px; bottom: 12px; width: max-content; max-width: 250px;
  padding: 8px 12px; border-radius: 10px; background: rgba(7, 20, 46, 0.94); color: #fff;
  font-style: normal; font-size: 0.82rem; font-weight: 700; line-height: 1.35;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(6px) scale(0.96); transform-origin: left bottom;
  transition: opacity 0.35s ease, transform 0.35s ease; pointer-events: none;
}
.hm-spot.side-l em { left: auto; right: 18px; transform-origin: right bottom; }
.hm-spot.side-b em { bottom: auto; top: 16px; transform-origin: left top; }
.hm-spot.is-on em, .hm-spot:hover em { opacity: 1; transform: none; }
.hm-spot.is-on i { background: #FFD27A; }

/* Caption under (or beside) the screen */
.hm-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 6px 13px 6px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; color: var(--navy); background: #E4EEFC;
}
.hm-tag .svc-i { width: 15px; height: 15px; color: #C98410; }
.hm-caption h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.01em; margin: 0 0 8px; }
.hm-caption p { margin: 0; color: #3A4458; }
.hm-look { margin-top: 18px; }
.hm-look b { display: block; margin-bottom: 8px; font-family: var(--svc-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8F5800; }
.hm-look ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.hm-look li { position: relative; padding-left: 22px; font-size: 0.93rem; line-height: 1.45; color: #3A4458; }
.hm-look li::before { content: ""; position: absolute; left: 3px; top: 0.45em; width: 9px; height: 9px; border-radius: 50%; background: var(--svc-orange); box-shadow: 0 0 0 3px rgba(245, 174, 49, 0.2); }
.hm-show-grid.is-tabs .hm-caption { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 0 34px; margin-top: 26px; }
.hm-show-grid.is-tabs .hm-caption > :not(.hm-look) { grid-column: 1; }
.hm-show-grid.is-tabs .hm-caption .hm-tag { justify-self: start; }
.hm-show-grid.is-tabs .hm-look { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #E1E8F2; }

/* Example 5: the architecture drawing */
.hm-arch text { font-family: 'Inter', sans-serif; }
.hm-a-col { font: 700 19px var(--svc-mono); letter-spacing: 0.14em; fill: #5F6B80; }
.hm-a-card > rect:first-child { fill: #fff; stroke: #D5DFEC; stroke-width: 2; }
.hm-a-card.out > rect:first-child { stroke: #F1CF8C; }
.hm-a-chip { fill: url(#hmArchChip); }
.hm-a-card.out .hm-a-chip { fill: url(#hmArchGate); }
.hm-a-ic { color: #fff; }
.hm-a-card.out .hm-a-ic { color: #0A2A5E; }
.hm-a-card text { font: 800 27px 'Montserrat', sans-serif; fill: #0A2A5E; }
.hm-a-mirror > rect { fill: #fff; stroke: #2F7BFF; stroke-width: 3; stroke-dasharray: 12 9; }
.hm-a-mirror text { font: 800 25px 'Montserrat', sans-serif; fill: #0A2A5E; }
.hm-a-ic2 { color: #2F7BFF; }
.hm-a-lock circle { fill: var(--svc-orange); }
.hm-a-lock use { color: #0A2A5E; }
.hm-a-ring { fill: none; stroke: rgba(47, 123, 255, 0.45); stroke-width: 3; stroke-dasharray: 6 12; transform-box: fill-box; transform-origin: center; animation: svc-spin 22s linear infinite; }
.hm-a-halo { fill: rgba(47, 123, 255, 0.2); transform-box: fill-box; transform-origin: center; animation: svc-halo 2.6s ease-out infinite; }
.hm-a-core { fill: url(#hmArchCore); }
.hm-a-ic3 { color: #fff; }
.hm-a-big { font: 800 32px 'Montserrat', sans-serif; fill: #0A2A5E; }
.hm-a-sub { font: 700 18px var(--svc-mono); letter-spacing: 0.16em; fill: #5F6B80; }
.hm-a-gate rect { fill: url(#hmArchGate); }
.hm-a-gate use { color: #0A2A5E; }
.hm-a-pill rect { fill: #FFF4DB; stroke: #F1CF8C; stroke-width: 2; }
.hm-a-pill text { font: 800 19px 'Montserrat', sans-serif; fill: #8F5800; }
.hm-a-link { fill: none; stroke: #C4D4EA; stroke-width: 4; }
.hm-a-link.out { stroke: #F3D8A0; }
.hm-a-flow { fill: none; stroke: #2F7BFF; stroke-width: 4; stroke-dasharray: 6 16; animation: hm-flow2 1s linear infinite; }
.hm-a-flow.out { stroke: #F5AE31; }
.hm-a-pk { fill: #2F7BFF; }
.hm-a-pk.out { fill: #F5AE31; }

/* 3. The path ------------------------------------------------------------------ */
.hm-path {
  position: relative; overflow: hidden; padding: 116px 0 112px;
  background:
    radial-gradient(900px 460px at 50% 42%, rgba(47, 123, 255, 0.2), transparent 70%),
    linear-gradient(180deg, var(--svc-deep) 0%, #0A1B40 100%);
}
.hm-track { position: relative; margin: 6px 0 58px; }
.hm-track-line { position: absolute; left: 12.5%; right: 12.5%; top: 133px; height: 3px; border-radius: 3px; background: rgba(124, 196, 255, 0.14); }
.hm-track-fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--svc-sky), #BFE0FF 38%, var(--svc-orange) 72%, var(--svc-green));
  box-shadow: 0 0 16px rgba(124, 196, 255, 0.55);
  transform-origin: left center; transform: scaleX(0); transition: transform 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
}
.hm-track.is-in .hm-track-fill, .svc-page:not(.svc-js) .hm-track-fill { transform: scaleX(1); }
.hm-track-dot { position: absolute; left: 0; top: -5px; width: 100%; height: 13px; opacity: 0; transform: translateX(-100%); }
.hm-track-dot::after { content: ""; position: absolute; right: -6px; top: 0; width: 13px; height: 13px; border-radius: 50%; background: #FFD27A; box-shadow: 0 0 14px 3px rgba(245, 174, 49, 0.8); }
.hm-track.is-in .hm-track-dot { animation: svc-travel 6.5s linear 2.8s infinite; }
.hm-stations { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hm-station { position: relative; text-align: center; padding: 0 4px; }
.svc-js .hm-station { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 1) * 380ms); }
.svc-js .hm-track:not(.is-in) .hm-station { opacity: 0; transform: translateY(22px); }
.hm-station-anim { height: 84px; margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: center; }
.hm-station-node {
  position: relative; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, #2F7BFF, #0E428C 62%, #07142E);
  box-shadow: 0 0 0 8px rgba(47, 123, 255, 0.12), 0 0 34px rgba(47, 123, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hm-station-node .svc-i { width: 28px; height: 28px; }
.hm-station.s3 .hm-station-node { background: radial-gradient(circle at 35% 30%, #FFD27A, #F5AE31 55%, #9A5F00); color: #0A2A5E; box-shadow: 0 0 0 8px rgba(245, 174, 49, 0.12), 0 0 34px rgba(245, 174, 49, 0.55); }
.hm-station.s4 .hm-station-node { background: radial-gradient(circle at 35% 30%, #C4EC84, #7FB23A 55%, #2E4A0E); color: #0A2A5E; box-shadow: 0 0 0 8px rgba(156, 209, 75, 0.12), 0 0 34px rgba(156, 209, 75, 0.55); }
.hm-station:hover .hm-station-node { transform: scale(1.1); }
.hm-station-no { display: block; margin-bottom: 6px; font-family: var(--svc-mono); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.2em; color: var(--svc-sky); }
.hm-station h3 { color: #fff; font-size: 1.55rem; margin: 0 0 6px; }
.hm-station-q { max-width: 240px; margin: 0 auto 12px; color: var(--svc-amber); font-weight: 600; line-height: 1.45; }
.hm-station .svc-stage-note { display: inline-block; margin: 0 0 12px; }
.hm-station-pillar { display: block; font-family: var(--svc-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--svc-orange); }
.hm-path-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }

/* 4. Three specialists --------------------------------------------------------- */
.hm-pillars { position: relative; padding: 116px 0; background: #fff; }
.hm-pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1400px; }
.hm-pillar {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: 22px;
  background: linear-gradient(180deg, #fff, #F6F9FD); border: 1px solid #E1E8F2;
  box-shadow: 0 40px 80px -58px rgba(10, 42, 94, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hm-pillar::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0), rgba(47, 123, 255, 0.65), rgba(245, 174, 49, 0.75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity 0.4s ease;
}
.hm-pillar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, -600px) var(--my, -600px), rgba(47, 123, 255, 0.1), transparent 60%);
}
.hm-pillar:hover { box-shadow: 0 50px 90px -50px rgba(10, 42, 94, 0.62); }
.svc-js .hm-pillar.is-settled { transition: transform 0.25s ease, box-shadow 0.4s ease; transition-delay: 0ms; }
.hm-pillar:hover::before { opacity: 1; }
.hm-pillar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.hm-pillar-icon {
  flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #0E428C, #2F7BFF); box-shadow: 0 16px 30px -14px rgba(47, 123, 255, 0.9);
}
.hm-pillar-icon .svc-i { width: 28px; height: 28px; }
.hm-pillar.p2 .hm-pillar-icon { background: linear-gradient(135deg, #0A6E8C, #3FB6D9); box-shadow: 0 16px 30px -14px rgba(63, 182, 217, 0.9); }
.hm-pillar.p3 .hm-pillar-icon { background: linear-gradient(135deg, #C98410, #F5AE31); color: #0A2A5E; box-shadow: 0 16px 30px -14px rgba(245, 174, 49, 0.9); }
.hm-pillar-logo { display: block; height: 40px; width: auto; max-width: 130px; object-fit: contain; }
.hm-pillar.p3 .hm-pillar-logo { height: 56px; }
.hm-pillar h3 { font-size: 1.3rem; margin: 0 0 10px; }
.hm-pillar p { margin: 0 0 16px; color: #3A4458; }
.hm-pillar .hm-pillar-lead { margin: auto 0 14px; padding-top: 4px; font-family: var(--svc-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8F5800; }
.hm-pillar-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-pillar-stages li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: #EEF4FC; color: var(--navy); font-size: 0.82rem; font-weight: 700; }
.hm-pillar-stages .svc-i { width: 16px; height: 16px; }
.hm-pillars-note { max-width: 860px; margin: 46px auto 0; text-align: center; color: #51607A; }
.hm-link {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; padding-bottom: 1px;
  font-weight: 700; color: var(--navy); border-bottom: 1px solid rgba(14, 66, 140, 0.3);
}
.hm-link .svc-i { width: 16px; height: 16px; transition: transform 0.2s ease; }
.hm-link:hover { color: var(--navy-dark); }
.hm-link:hover .svc-i { transform: translateX(3px); }

/* 5. What clients can expect --------------------------------------------------- */
.hm-outcomes {
  position: relative; overflow: hidden; padding: 104px 0 118px;
  background:
    radial-gradient(760px 380px at 50% 105%, rgba(245, 174, 49, 0.13), transparent 70%),
    linear-gradient(180deg, #0A1B40 0%, var(--svc-ink) 100%);
}
.hm-out-title { color: #fff; text-align: center; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.015em; margin: 0 0 56px; }
.hm-hexes { list-style: none; margin: 0 auto; padding: 0; max-width: 1060px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.hm-hex { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.hm-hex:nth-child(even) { margin-top: 52px; }
.svc-js .hm-hexes .hm-hex { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.svc-js .hm-hexes:not(.is-in) .hm-hex { opacity: 0; transform: translateY(28px) scale(0.92); }
.hm-hex-shape {
  position: relative; width: 124px; height: 108px; display: grid; place-items: center;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: linear-gradient(135deg, rgba(124, 196, 255, 0.75), rgba(245, 174, 49, 0.75));
}
.hm-hex-shape::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(255, 210, 122, 0.5), transparent 66%);
  opacity: 0; animation: hm-hexglow 6.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.1s);
}
.hm-hex-inner {
  position: absolute; inset: 2px; display: grid; place-items: center; color: var(--svc-sky);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: linear-gradient(180deg, #11306A, #081733);
  animation: hm-hexicon 6.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.1s);
}
.hm-hex-inner .svc-i { width: 36px; height: 36px; }
.hm-hex b { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; }

/* 6. Latest Insights ------------------------------------------------------------ */
.hm-insights { position: relative; padding: 112px 0; background: #F2F5FA; }
.hm-ins-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 24px; margin-bottom: 40px; }
.hm-ins-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.015em; margin: 0 0 8px; }
.hm-ins-head .lead { margin: 0; color: #51607A; }
.hm-ins-head .hm-link { margin-bottom: 10px; }
.hm-ins-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hm-ins-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: #fff; border: 1px solid #E1E8F2; box-shadow: 0 30px 60px -46px rgba(10, 42, 94, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.svc-js .hm-ins-card[data-reveal].is-in:hover, .hm-ins-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -42px rgba(10, 42, 94, 0.6); transition-delay: 0ms; }
.hm-ins-card:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.hm-ins-art { aspect-ratio: 12 / 5; overflow: hidden; background: #07142E; }
.hm-ins-art svg, .hm-ins-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.hm-ins-card:hover .hm-ins-art svg, .hm-ins-card:hover .hm-ins-art img { transform: scale(1.06); }
.hm-ins-art line { stroke: #7CC4FF; stroke-width: 1.2; }
.hm-ins-art circle { fill: #D8ECFF; }
.hm-ins-art circle.hot { fill: #FFD27A; filter: drop-shadow(0 0 6px rgba(245, 174, 49, 0.9)); animation: svc-blink 2.6s ease-in-out infinite; }
.hm-ins-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.hm-ins-date { font-family: var(--svc-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8F5800; }
.hm-ins-body h3 { font-size: 1.18rem; line-height: 1.32; margin: 8px 0 10px; }
.hm-ins-link { color: var(--navy-dark); }
.hm-ins-link:hover { color: var(--navy); }
.hm-ins-link::after { content: ""; position: absolute; inset: 0; }
.hm-ins-link:focus-visible { outline: none; }
.hm-ins-body p { margin: 0 0 16px; font-size: 0.95rem; color: #51607A; }
.hm-ins-read { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; color: var(--navy); }
.hm-ins-read .svc-i { width: 16px; height: 16px; transition: transform 0.2s ease; }
.hm-ins-card:hover .hm-ins-read .svc-i { transform: translateX(3px); }

/* 7. Closing band: shares .svc-cta from services.css ----------------------------- */
.hm-cta .svc-cta-link { margin-top: 26px; }

/* Keyframes -------------------------------------------------------------------- */
@keyframes hm-rise { from { opacity: 0; transform: translateY(0.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hm-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hm-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hm-flow { to { stroke-dashoffset: -12; } }
@keyframes hm-flow2 { to { stroke-dashoffset: -22; } }
@keyframes hm-run { to { stroke-dashoffset: -708; } }
@keyframes hm-node { 0%, 100% { stroke: rgba(245, 174, 49, 0.45); } 50% { stroke: rgba(255, 210, 122, 1); } }
@keyframes hm-feed-in { from { opacity: 0; transform: translateY(-12px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes hm-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hm-kenburns { from { transform: scale(1); } to { transform: scale(1.045); } }
@keyframes hm-hexglow { 0%, 24%, 100% { opacity: 0; } 9% { opacity: 1; } }
@keyframes hm-hexicon { 0%, 24%, 100% { color: #7CC4FF; } 9% { color: #FFD27A; } }

/* Responsive -------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hm-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hm-engine-wrap { max-width: 600px; width: 100%; margin: 0 auto; }
  .hm-show-grid.is-tabs { grid-template-columns: 1fr; gap: 22px; }
  .hm-tabs { position: static; flex-direction: row; overflow-x: auto; gap: 10px; padding: 4px 24px 12px; margin: 0 -24px; scroll-snap-type: x proximity; scroll-padding: 0 24px; -webkit-overflow-scrolling: touch; }
  .hm-tab { flex: 0 0 auto; width: auto; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; border-color: #DCE4F0; scroll-snap-align: start; }
  .hm-tab[aria-selected="true"] { transform: none; border-color: var(--navy); }
  .hm-tab-icon { width: 38px; height: 38px; border-radius: 50%; }
  .hm-tab-icon .svc-i { width: 18px; height: 18px; }
  .hm-tab-num, .hm-tab-text small { display: none; }
  .hm-tab-text b { font-size: 0.92rem; white-space: nowrap; }
  .hm-tab-bar { left: 50px; right: 18px; bottom: 5px; height: 2px; }
  .hm-case { grid-template-columns: 1fr; gap: 24px; }
  .hm-stations { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .hm-track-line { display: none; }
  .hm-hexes { grid-template-columns: repeat(3, 1fr); gap: 26px 14px; max-width: 560px; }
  .hm-hex:nth-child(even) { margin-top: 0; }
}
@media (max-width: 900px) {
  .hm-hero { padding: 68px 0 46px; }
  .hm-show, .hm-path, .hm-pillars, .hm-insights { padding: 84px 0; }
  .hm-outcomes { padding: 80px 0 90px; }
  .hm-show-grid.is-tabs .hm-caption { grid-template-columns: 1fr; }
  .hm-show-grid.is-tabs .hm-look { grid-column: 1; grid-row: auto; margin-top: 18px; }
  .hm-pillar-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hm-ins-grid { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 600px) {
  .hm-title { font-size: 2.4rem; }
  .hm-actions .btn { width: 100%; justify-content: center; }
  .hm-e-node text { font-size: 15px; }
  .hm-feed-item:nth-child(3) { display: none; }
  .hm-partners { margin-top: 38px; }
  .hm-partner-logos img { height: 32px; }
  .hm-spot em { display: none; }
  .hm-spot i { width: 14px; height: 14px; left: -7px; top: -7px; border-width: 2px; }
  .hm-stations { grid-template-columns: 1fr; gap: 40px; }
  .hm-hexes { gap: 22px 10px; }
  .hm-hex-shape { width: 96px; height: 84px; }
  .hm-hex-inner .svc-i { width: 28px; height: 28px; }
  .hm-hex b { font-size: 0.92rem; }
  .hm-pillar { padding: 24px 20px 22px; }
}

/* Reduced motion: a still page (services.css also stops every animation) ------- */
@media (prefers-reduced-motion: reduce) {
  .hm-w, .hm-lead, .hm-actions, .hm-engine-wrap, .hm-partners { opacity: 1; transform: none; filter: none; }
  .hm-e-pk, .hm-a-pk, .hm-track-dot, .svc-scan { display: none; }
  .hm-track-fill { transform: scaleX(1); }
  .svc-js .hm-track:not(.is-in) .hm-station, .svc-js .hm-hexes:not(.is-in) .hm-hex { opacity: 1; transform: none; }
}
