/* Lower homepage: service signals travel toward an outcome, with one explicit motion control.
   CSS timelines start paused and the React observer only runs visible illustrations. */
.hm-control { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--color-rule); color: var(--color-muted); font-size: 13px; letter-spacing: .02em; }
.hm-control button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 8px 14px; border: 1px solid #375364; border-radius: 999px; color: #c8dde6; background: #13232d; font: inherit; cursor: pointer; }
.hm-control button:hover { border-color: #71c5e3; background: #1b303c; }
.hm-control button:focus-visible { outline: 2px solid #7ed7f4; outline-offset: 4px; }
.hm-control button:disabled { cursor: default; }
.pa-lane-grid { margin-top: 24px; }
.pa-lane { border-top: 0; padding-top: 0; }
.hm-signal { position: relative; margin-bottom: 24px; padding: 6px 0 14px; border: 1px solid #2d404b; border-radius: 14px; background: radial-gradient(ellipse at 50% 52%, #203540 0%, #14232d 50%, #111c25 100%); overflow: hidden; }
.hm-signal svg { width: 100%; height: auto; display: block; overflow: visible; }
.hm-gridline { stroke: #5d8195; stroke-width: .5; opacity: .13; }
.hm-wire { fill: none; stroke: #6ab5ce; stroke-width: 1; opacity: .45; }
.hm-flow { fill: #b6efff; filter: drop-shadow(0 0 4px #78d7f8); animation: hm-flow 5.4s linear infinite; }
.hm-node { fill: #1a2d39; stroke: #638b9e; stroke-width: 1; }
.hm-glyph { fill: none; stroke: #b8dce9; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.hm-halo { fill: #66d1f3; opacity: .06; transform-box: fill-box; transform-origin: center; animation: hm-halo 5.4s ease-out infinite; }
.hm-station-1 .hm-halo { animation-delay: 1.8s; }
.hm-station-2 .hm-halo { animation-delay: 3.6s; }
.hm-signal-1 .hm-flow, .hm-signal-1 .hm-halo { animation-delay: -.9s; }
.hm-signal-2 .hm-flow, .hm-signal-2 .hm-halo { animation-delay: -1.8s; }
.hm-signal-3 .hm-flow, .hm-signal-3 .hm-halo { animation-delay: -2.7s; }
.hm-stages { display: grid; grid-template-columns: repeat(3, 1fr); padding-inline: 4px; gap: 4px; color: #b4cbd5; text-align: center; font-size: 11px; }
.pa-lane:hover .hm-node, .pa-lane:focus-within .hm-node { stroke: #a4e7ff; }
.hm-product-track { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 12px; color: #aec6d2; font-size: 11px; border-bottom: 1px solid #304550; }
.hm-product-track span { min-width: 0; text-align: center; }
.hm-product-track i { position: relative; flex: 1 0 10px; height: 1px; background: #385868; overflow: hidden; }
.hm-product-track i::after { content: ''; position: absolute; height: 1px; width: 60%; background: #9be7ff; animation: hm-line 3s linear infinite; }
.hm-product-track i:nth-of-type(2)::after { animation-delay: 1.5s; }
.hm-infrastructure { min-width: 0; }
.hm-image { position: relative; overflow: hidden; border-radius: 12px; }
.hm-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0d1926 2%, #0d192600 70%); pointer-events: none; }
.hm-infra-overlay { position: absolute; z-index: 1; inset: auto 24px 22px; color: #d3e7ef; }
.hm-infra-label { display: block; margin-bottom: 17px; font-size: 10px; letter-spacing: .14em; color: #a5becb; }
.hm-infra-rail { display: flex; align-items: center; gap: 16px; font-family: var(--font-display); font-size: clamp(19px, 2vw, 27px); font-weight: 400; }
.hm-infra-rail i { position: relative; flex: 1; min-width: 14px; height: 1px; background: #567f93; overflow: hidden; }
.hm-infra-rail i::after { content: ''; position: absolute; width: 40%; height: 1px; background: #b0f0ff; animation: hm-line 3.4s linear infinite; }
.hm-infra-rail i:last-of-type::after { animation-delay: 1.7s; }
.hm-assessment { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0 0 36px; padding: 0 0 24px; border-bottom: 1px solid #3a4c58; list-style: none; }
.hm-assessment li { display: flex; align-items: center; gap: 14px; position: relative; color: var(--color-title); font-size: 15px; }
.hm-step-number { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1px solid #598094; border-radius: 50%; color: #b6e8fa; font-family: var(--font-display); font-size: 22px; background: #172d3a; }
.hm-assessment i { position: relative; flex: 1; min-width: 12px; height: 1px; background: #466071; overflow: hidden; }
.hm-assessment i::after { content: ''; position: absolute; height: 1px; width: 40%; background: #a1eaff; animation: hm-line 6s linear infinite; }
.hm-assessment li:nth-child(2) i::after { animation-delay: 2s; }
.hm-assessment li:nth-child(3) i::after { animation-delay: 4s; }
.hm-case-label { display: flex; align-items: center; gap: 20px; color: #9eb7c5; font-size: 11px; letter-spacing: .12em; margin-bottom: 20px; }
.hm-case-label i { flex: 1; height: 1px; position: relative; overflow: hidden; background: #365365; }
.hm-case-label i::after { content: ''; position: absolute; width: 30%; height: 1px; background: #95d9f2; animation: hm-line 5s linear infinite; }
.pa-ev:nth-child(2) .hm-case-label i::after { animation-delay: -1.6s; }
.pa-ev:nth-child(3) .hm-case-label i::after { animation-delay: -3.2s; }
.hm-close { position: relative; isolation: isolate; overflow: hidden; }
.hm-close::before { content: ''; position: absolute; z-index: -1; width: 55%; height: 300px; right: -10%; top: -130px; background: radial-gradient(ellipse, #377f992b, transparent 70%); animation: hm-breathe 8s ease-in-out infinite; }
.hm-close::after { content: ''; position: absolute; left: 0; top: 0; height: 1px; width: 25%; background: linear-gradient(90deg, transparent, #77cce6, transparent); animation: hm-close 12s linear infinite; }
[data-home-motion] { --hm-play: paused; }
[data-home-motion][data-motion-active="true"] { --hm-play: running; }
.hm-flow, .hm-halo, .hm-product-track i::after, .hm-infra-rail i::after, .hm-assessment i::after, .hm-case-label i::after, .hm-close::before, .hm-close::after { animation-play-state: var(--hm-play, paused); }
@keyframes hm-flow { 0% { transform: translateX(0); opacity: 0; } 5%, 90% { opacity: 1; } 100% { transform: translateX(268px); opacity: 0; } }
@keyframes hm-halo { 0%, 18%, 100% { transform: scale(1); opacity: .05; } 28% { transform: scale(1.25); opacity: .24; } 48% { transform: scale(1.5); opacity: 0; } }
@keyframes hm-line { from { transform: translateX(-110%); } to { transform: translateX(350%); } }
@keyframes hm-breathe { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.25); opacity: 1; } }
@keyframes hm-close { from { transform: translateX(-100%); } to { transform: translateX(500%); } }
@media (max-width: 600px) {
  .hm-signal { max-width: none; }
  .hm-stages { font-size: 12px; }
  .hm-assessment { grid-template-columns: 1fr; gap: 16px; }
  .hm-assessment li { font-size: 16px; }
  .hm-assessment i { max-width: 100px; margin-left: auto; }
  .hm-infra-overlay { inset: auto 16px 16px; }
  .hm-infra-label { margin-bottom: 10px; }
  .hm-infra-rail { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-flow, .hm-halo, .hm-product-track i::after, .hm-infra-rail i::after, .hm-assessment i::after, .hm-case-label i::after, .hm-close::before, .hm-close::after { animation: none !important; }
  .hm-flow { opacity: .7; transform: translateX(120px); }
}
