/* ==========================================================================
   Hero journey cards, 2026-11-21 (loaded last on index.html).
   The four steps under the hero button are small product widgets, as on wantace.com: a white
   card with a blue title, one clear piece of UI and one short story each. No step headers,
   captions or footers on screen (the captions stay for screen readers).
     01 Discovery call: a time is picked and the free call is booked.
     02 Blueprint: a scan line checks the lead flow row by row, then it is approved.
     03 Build: a blue card where the code types out and the DODD preview rises in.
     04 Launch: HANBORO is published and goes live.
   js/hero-process-sequence.js still runs the tour: it lifts the cards onto one wide U, draws the
   arc, adds the round nodes and plays each card's story (.is-story) when its step is current.
   Outside its story a card rests on the story's last frame, so the default styles below are that
   last frame and the keyframes only describe how a card gets there.
   ========================================================================== */

#home .hero-journey {
  --hw-blue: #2563eb;
  --hw-blue-2: #1d4ed8;
  --hw-wash: #eef4ff;
  --hw-line: #e3e9f3;
  --hw-ink: #111111;
  --hw-mute: #5b6b82;
  --hw-w: clamp(198px, 14.4vw, 214px);
  /* Node icons, shared by the arc nodes (desktop) and the rail points (phones). */
  --hw-i1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='12' height='12' rx='2.5'/%3E%3Cpath d='m15 10.5 5-3v9l-5-3'/%3E%3C/svg%3E");
  --hw-i2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2.2'/%3E%3Ccircle cx='18' cy='6' r='2.2'/%3E%3Cpath d='M8.2 18H14a3 3 0 0 0 0-6h-4a3 3 0 0 1 0-6h5.8'/%3E%3C/svg%3E");
  --hw-i3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 8-4 4 4 4M16 8l4 4-4 4M13.5 5.5l-3 13'/%3E%3C/svg%3E");
  --hw-i4: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- The card ---------- */
html body #home .hero-journey .hj-card.hw {
  position: relative;
  display: flex; flex-direction: column; gap: 9px;
  width: var(--hw-w); max-width: 100%;
  padding: 11px !important;
  border: 1px solid var(--hw-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 22px 40px -22px rgba(17, 17, 17, .28) !important;
  color: var(--hw-ink);
  font-family: inherit;
  text-align: left;
}
html body #home .hero-journey .hj-card.hw.is-current {
  border-color: #c9dafb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .08), 0 1px 2px rgba(17, 17, 17, .04), 0 26px 44px -22px rgba(37, 99, 235, .42) !important;
}
html body #home .hero-journey .hj-card.hw.hw-blue {
  border-color: var(--hw-blue) !important;
  background: var(--hw-blue) !important;
  color: #fff;
  box-shadow: 0 1px 2px rgba(17, 17, 17, .06), 0 24px 44px -20px rgba(37, 99, 235, .6) !important;
}
html body #home .hero-journey .hj-card.hw.hw-blue.is-current {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .16), 0 28px 48px -20px rgba(37, 99, 235, .7) !important;
}
#home .hero-journey .hw * { font-family: inherit; letter-spacing: 0; }
#home .hero-journey .hw svg { display: block; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

/* Head: a blue title and one small tag, like wantace's "Discovery Call". */
#home .hero-journey .hw-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 22px; }
#home .hero-journey .hw-head > b { color: var(--hw-blue); font-size: 13px; font-weight: 600 !important; line-height: 1.2; white-space: nowrap; }
#home .hero-journey .hw-blue .hw-head > b { color: #fff; }
#home .hero-journey .hw-tag {
  flex: none; padding: 3px 7px; border-radius: 99px; background: #f2f5fa; color: var(--hw-mute);
  font-size: 10px; font-weight: 500; line-height: 1.3; white-space: nowrap;
}
#home .hero-journey .hw-blue .hw-tag { background: rgba(255, 255, 255, .16); color: #fff; }

/* A button that changes state during its story (cards 01 and 04). Both labels share one cell. */
#home .hero-journey .hw-btn {
  position: relative; display: grid; place-items: center; height: 30px; overflow: hidden;
  border: 1px solid var(--hw-blue); border-radius: 10px; background: var(--hw-blue); color: #fff;
  font-size: 11.5px; font-weight: 500; line-height: 1;
}
#home .hero-journey .hw-btn > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
#home .hero-journey .hw-btn-a { color: var(--hw-blue); opacity: 0; }
#home .hero-journey .hw-btn svg { width: 13px; height: 13px; stroke-width: 2.8; }
#home .hero-journey .hw-btn path { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* ---------- 01 Discovery call ---------- */
#home .hero-journey .hw-book { display: flex; flex-direction: column; gap: 8px; }
#home .hero-journey .hw-host { display: flex; align-items: center; gap: 9px; min-width: 0; }
#home .hero-journey .hw-mark {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px;
  background: #fff0f7; box-shadow: inset 0 0 0 1px #fbd3e6;
}
#home .hero-journey .hw-mark img { width: 21px; height: auto; }
#home .hero-journey .hw-host > span:last-child { display: grid; gap: 2px; min-width: 0; }
#home .hero-journey .hw-host b { color: var(--hw-ink); font-size: 12.5px; font-weight: 500 !important; line-height: 1.2; }
#home .hero-journey .hw-host small { overflow: hidden; color: var(--hw-mute); font-size: 10.5px; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
#home .hero-journey .hw-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
#home .hero-journey .hw-slots > span {
  display: grid; gap: 1px; padding: 4px 0; border: 1px solid var(--hw-line); border-radius: 9px;
  color: #6a7b93; font-size: 9.5px; line-height: 1.25; text-align: center;
}
#home .hero-journey .hw-slots b { color: var(--hw-ink); font-size: 11px; font-weight: 500 !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
#home .hero-journey .hw-slots .hw-pick { border-color: var(--hw-blue); background: var(--hw-wash); color: var(--hw-blue); box-shadow: inset 0 0 0 .5px var(--hw-blue); }
#home .hero-journey .hw-slots .hw-pick b { color: var(--hw-blue); }

#home .hero-journey .hj-discover.is-story .hw-slots > span { animation: hw-rise 6.4s cubic-bezier(.16, 1, .3, 1) both; }
#home .hero-journey .hj-discover.is-story .hw-slots > span:nth-child(2) { animation-name: hw-rise2; }
#home .hero-journey .hj-discover.is-story .hw-slots > span:nth-child(3) { animation-name: hw-rise3; }
#home .hero-journey .hj-discover.is-story .hw-pick { animation: hw-rise2 6.4s cubic-bezier(.16, 1, .3, 1) both, hw-pick 6.4s ease both; }
#home .hero-journey .hj-discover.is-story .hw-pick b { animation: hw-pick-b 6.4s ease both; }
#home .hero-journey .hj-discover.is-story .hw-btn { animation: hw-btn 6.4s ease both; }
#home .hero-journey .hj-discover.is-story .hw-btn-a { animation: hw-label-out 6.4s ease both; }
#home .hero-journey .hj-discover.is-story .hw-btn-b { animation: hw-label-in 6.4s ease both; }
#home .hero-journey .hj-discover.is-story .hw-btn path { animation: hw-tick 6.4s ease both; }
@keyframes hw-rise  { 0%, 3%  { opacity: 0; transform: translateY(8px); } 11%, 100% { opacity: 1; transform: none; } }
@keyframes hw-rise2 { 0%, 7%  { opacity: 0; transform: translateY(8px); } 15%, 100% { opacity: 1; transform: none; } }
@keyframes hw-rise3 { 0%, 11% { opacity: 0; transform: translateY(8px); } 19%, 100% { opacity: 1; transform: none; } }
@keyframes hw-pick {
  0%, 26% { border-color: var(--hw-line); background: #fff; color: #6a7b93; box-shadow: none; }
  32%, 100% { border-color: var(--hw-blue); background: var(--hw-wash); color: var(--hw-blue); box-shadow: inset 0 0 0 .5px var(--hw-blue); }
}
@keyframes hw-pick-b { 0%, 26% { color: var(--hw-ink); } 32%, 100% { color: var(--hw-blue); } }
@keyframes hw-btn {
  0%, 44% { background: #fff; transform: none; }
  48% { background: var(--hw-wash); transform: scale(.95); }
  54%, 100% { background: var(--hw-blue); transform: none; }
}
@keyframes hw-label-out { 0%, 50% { opacity: 1; transform: none; } 56%, 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes hw-label-in { 0%, 52% { opacity: 0; transform: translateY(14px); } 60%, 100% { opacity: 1; transform: none; } }
@keyframes hw-tick { 0%, 58% { stroke-dashoffset: 1; } 70%, 100% { stroke-dashoffset: 0; } }

/* ---------- 02 Blueprint ---------- */
#home .hero-journey .hw-ok {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 99px;
  background: var(--hw-wash); color: var(--hw-blue); font-size: 10.5px; font-weight: 500; line-height: 1.3;
}
#home .hero-journey .hw-ok svg { width: 11px; height: 11px; stroke-width: 3; }
#home .hero-journey .hw-plan { position: relative; padding: 6px; }
#home .hero-journey .hw-steps { position: relative; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
#home .hero-journey .hw-steps li {
  display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; padding: 3px 7px 3px 3px;
  border: 1px solid #e8eef7; border-radius: 9px; background: #f7f9fc;
}
#home .hero-journey .hw-steps li > i {
  display: grid; place-items: center; flex: none; width: 19px; height: 19px; border-radius: 6px;
  background: #fff; box-shadow: inset 0 0 0 1px #dbe6f8; color: var(--hw-blue); font-size: 9.5px;
}
#home .hero-journey .hw-steps li > b { flex: 1; min-width: 0; overflow: hidden; color: var(--hw-ink); font-size: 11.5px; font-weight: 500 !important; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
#home .hero-journey .hw-steps li > svg { width: 13px; height: 13px; color: var(--hw-blue); stroke-width: 2.8; }
#home .hero-journey .hw-steps path { stroke-dasharray: 1; stroke-dashoffset: 0; }
/* Corner brackets round the list, as on wantace's strategy card. */
#home .hero-journey .hw-frame {
  position: absolute; inset: 0; pointer-events: none;
  --c: var(--hw-blue); --l: 13px; --t: 2px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) 0 0 / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--t) var(--l);
  background-repeat: no-repeat;
}
/* The scan line: a blue rule with a soft wash trailing above it. Hidden at rest. */
#home .hero-journey .hw-scan {
  position: absolute; left: 3px; right: 3px; top: 7px; height: 2px; border-radius: 2px;
  background: var(--hw-blue); box-shadow: 0 0 10px 1px rgba(37, 99, 235, .45); opacity: 0; pointer-events: none;
}
#home .hero-journey .hw-scan::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 30px;
  background: linear-gradient(to top, rgba(37, 99, 235, .16), rgba(37, 99, 235, 0));
}
#home .hero-journey .hj-strategy.is-story .hw-scan { animation: hw-scan 6.4s cubic-bezier(.45, .05, .4, 1) both; }
#home .hero-journey .hj-strategy.is-story .hw-frame { animation: hw-frame 6.4s ease both; }
#home .hero-journey .hj-strategy.is-story .hw-steps li { animation: hw-row1 6.4s ease both; }
#home .hero-journey .hj-strategy.is-story .hw-steps li:nth-child(2) { animation-name: hw-row2; }
#home .hero-journey .hj-strategy.is-story .hw-steps li:nth-child(3) { animation-name: hw-row3; }
#home .hero-journey .hj-strategy.is-story .hw-steps li:nth-child(4) { animation-name: hw-row4; }
#home .hero-journey .hj-strategy.is-story .hw-steps li path { animation: hw-ok1 6.4s ease both; }
#home .hero-journey .hj-strategy.is-story .hw-steps li:nth-child(2) path { animation-name: hw-ok2; }
#home .hero-journey .hj-strategy.is-story .hw-steps li:nth-child(3) path { animation-name: hw-ok3; }
#home .hero-journey .hj-strategy.is-story .hw-steps li:nth-child(4) path { animation-name: hw-ok4; }
#home .hero-journey .hj-strategy.is-story .hw-ok { animation: hw-approve 6.4s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes hw-frame { 0% { opacity: 0; transform: scale(1.06); } 8%, 100% { opacity: 1; transform: none; } }
@keyframes hw-scan {
  0%, 6% { opacity: 0; top: 7px; }
  9% { opacity: 1; top: 7px; }
  58% { opacity: 1; top: calc(100% - 9px); }
  64%, 100% { opacity: 0; top: calc(100% - 9px); }
}
@keyframes hw-row1 { 0%, 14% { opacity: .45; background: #f7f9fc; } 18% { opacity: 1; background: var(--hw-wash); } 30%, 100% { opacity: 1; background: #f7f9fc; } }
@keyframes hw-row2 { 0%, 26% { opacity: .45; background: #f7f9fc; } 30% { opacity: 1; background: var(--hw-wash); } 42%, 100% { opacity: 1; background: #f7f9fc; } }
@keyframes hw-row3 { 0%, 38% { opacity: .45; background: #f7f9fc; } 42% { opacity: 1; background: var(--hw-wash); } 54%, 100% { opacity: 1; background: #f7f9fc; } }
@keyframes hw-row4 { 0%, 50% { opacity: .45; background: #f7f9fc; } 54% { opacity: 1; background: var(--hw-wash); } 66%, 100% { opacity: 1; background: #f7f9fc; } }
@keyframes hw-ok1 { 0%, 17% { stroke-dashoffset: 1; } 23%, 100% { stroke-dashoffset: 0; } }
@keyframes hw-ok2 { 0%, 29% { stroke-dashoffset: 1; } 35%, 100% { stroke-dashoffset: 0; } }
@keyframes hw-ok3 { 0%, 41% { stroke-dashoffset: 1; } 47%, 100% { stroke-dashoffset: 0; } }
@keyframes hw-ok4 { 0%, 53% { stroke-dashoffset: 1; } 59%, 100% { stroke-dashoffset: 0; } }
@keyframes hw-approve { 0%, 64% { opacity: 0; transform: scale(.6); } 72%, 100% { opacity: 1; transform: none; } }

/* ---------- 03 Build (the blue card) ---------- */
#home .hero-journey .hw-build { display: flex; flex-direction: column; gap: 7px; }
#home .hero-journey .hw-code {
  padding: 7px 9px; border-radius: 10px; background: var(--hw-blue-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #dbe7ff; font: 9.5px/1.42 ui-monospace, SFMono-Regular, Menlo, monospace !important;
}
#home .hero-journey .hw-code span { display: block; overflow: hidden; white-space: pre; font: inherit !important; clip-path: inset(0 0 0 0); }
#home .hero-journey .hw-code em { color: rgba(255, 255, 255, .62); font-style: normal; }
#home .hero-journey .hw-code b { color: #fff; font-weight: 500 !important; }
#home .hero-journey .hw-code i { display: inline-block; width: 1.5px; height: 10px; margin-left: 2px; background: #fff; vertical-align: -1px; animation: hw-caret 1s steps(2, end) infinite; }
#home .hero-journey .hw-shot { position: relative; overflow: hidden; aspect-ratio: 2 / 1; border-radius: 10px; background: #2b1d14; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 12px 22px -12px rgba(17, 17, 17, .5); }
#home .hero-journey .hw-shot video { display: block; width: 100%; height: 100%; object-fit: cover; }
#home .hero-journey .hw-chip {
  position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px 3px 6px; border-radius: 99px; background: #fff; color: var(--hw-ink);
  font-size: 9.5px; font-weight: 500; line-height: 1.3; box-shadow: 0 4px 10px rgba(17, 17, 17, .18);
}
#home .hero-journey .hw-chip i { width: 5px; height: 5px; border-radius: 50%; background: var(--hw-blue); }
#home .hero-journey .hj-create.is-story .hw-code span { animation: hw-type1 6.4s steps(18, end) both; }
#home .hero-journey .hj-create.is-story .hw-code span:nth-child(2) { animation-name: hw-type2; }
#home .hero-journey .hj-create.is-story .hw-code span:nth-child(3) { animation-name: hw-type3; }
#home .hero-journey .hj-create.is-story .hw-code span:nth-child(4) { animation-name: hw-type4; }
#home .hero-journey .hj-create.is-story .hw-shot { animation: hw-shot 6.4s cubic-bezier(.16, 1, .3, 1) both; }
#home .hero-journey .hj-create.is-story .hw-chip { animation: hw-chip 6.4s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes hw-caret { 50% { opacity: 0; } }
@keyframes hw-type1 { 0%, 3%  { clip-path: inset(0 100% 0 0); } 13%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes hw-type2 { 0%, 13% { clip-path: inset(0 100% 0 0); } 24%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes hw-type3 { 0%, 24% { clip-path: inset(0 100% 0 0); } 33%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes hw-type4 { 0%, 33% { clip-path: inset(0 100% 0 0); } 37%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes hw-shot { 0%, 38% { opacity: 0; transform: translateY(16px) scale(.94); } 52%, 100% { opacity: 1; transform: none; } }
@keyframes hw-chip { 0%, 58% { opacity: 0; transform: translateY(6px) scale(.7); } 66%, 100% { opacity: 1; transform: none; } }

/* ---------- 04 Launch ---------- */
#home .hero-journey .hw-url { display: inline-flex; align-items: center; gap: 4px; min-width: 0; color: var(--hw-ink) !important; font-size: 11.5px; font-weight: 500; line-height: 1.2; text-decoration: none !important; white-space: nowrap; }
#home .hero-journey .hw-url:hover { color: var(--hw-blue) !important; }
#home .hero-journey .hw-url span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#home .hero-journey .hw-url img { flex: none; width: 13px; height: 13px; object-fit: cover; object-position: 0 50%; }
#home .hero-journey .hw-live {
  display: inline-flex; flex: none; align-items: center; gap: 4px; padding: 3px 7px 3px 6px; border-radius: 99px;
  background: var(--hw-wash); color: var(--hw-blue); font-size: 10px; font-weight: 500; line-height: 1.3;
}
#home .hero-journey .hw-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--hw-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
#home .hero-journey .hw-ship { display: flex; flex-direction: column; gap: 7px; }
#home .hero-journey .hw-site { overflow: hidden; aspect-ratio: 2 / 1; border-radius: 10px; background: #111; box-shadow: inset 0 0 0 1px var(--hw-line); }
#home .hero-journey .hw-site img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
#home .hero-journey .hw-bar { position: absolute !important; inset: 0; opacity: 0; }
#home .hero-journey .hw-bar i { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--hw-wash); }
#home .hero-journey .hw-bar::after { content: "Publishing"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--hw-blue); font-size: 11.5px; }
#home .hero-journey .hj-launch.is-story .hw-site img { animation: hw-sharpen 6.4s ease both; }
#home .hero-journey .hj-launch.is-story .hw-btn { animation: hw-pub 6.4s ease both; }
#home .hero-journey .hj-launch.is-story .hw-btn-a { animation: hw-pub-a 6.4s ease both; }
#home .hero-journey .hj-launch.is-story .hw-bar { animation: hw-pub-bar 6.4s ease both; }
#home .hero-journey .hj-launch.is-story .hw-bar i { animation: hw-pub-fill 6.4s cubic-bezier(.45, .05, .35, 1) both; }
#home .hero-journey .hj-launch.is-story .hw-btn-b { animation: hw-pub-b 6.4s ease both; }
#home .hero-journey .hj-launch.is-story .hw-btn path { animation: hw-pub-tick 6.4s ease both; }
#home .hero-journey .hj-launch.is-story .hw-live { animation: hw-live 6.4s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes hw-sharpen { 0%, 40% { filter: blur(3px) grayscale(.8); opacity: .6; } 58%, 100% { filter: none; opacity: 1; } }
@keyframes hw-pub { 0%, 16% { background: #fff; transform: none; } 20% { background: var(--hw-wash); transform: scale(.95); } 24% { background: #fff; transform: none; } 56% { background: #fff; } 60%, 100% { background: var(--hw-blue); } }
@keyframes hw-pub-a { 0%, 20% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes hw-pub-bar { 0%, 22% { opacity: 0; } 24%, 56% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes hw-pub-fill { 0%, 24% { width: 0; } 56%, 100% { width: 100%; } }
@keyframes hw-pub-b { 0%, 58% { opacity: 0; transform: translateY(12px); } 64%, 100% { opacity: 1; transform: none; } }
@keyframes hw-pub-tick { 0%, 62% { stroke-dashoffset: 1; } 74%, 100% { stroke-dashoffset: 0; } }
@keyframes hw-live { 0%, 60% { opacity: 0; transform: scale(.6); } 68%, 100% { opacity: 1; transform: none; } }

/* ---------- Nodes on the arc: white rounds with a blue icon; the current one fills blue ---------- */
html body #home .hero-journey .hj-pin {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid #d6e2f7; background: #fff;
  box-shadow: 0 0 0 6px #f0f0f0, 0 10px 20px -10px rgba(37, 99, 235, .55);
}
html body #home .hero-journey .hj-pin::before { width: 17px; height: 17px; background: var(--hw-blue); }
html body #home .hero-journey .hj-pin.is-current { border-color: var(--hw-blue); background: var(--hw-blue); box-shadow: 0 0 0 6px #f0f0f0, 0 0 0 11px rgba(37, 99, 235, .12), 0 12px 24px -8px var(--hw-blue); }
html body #home .hero-journey .hj-pin.is-current::before { background: #fff; }
#home .hero-journey span.hj-pin:nth-of-type(1) { --icon: var(--hw-i1); }
#home .hero-journey span.hj-pin:nth-of-type(2) { --icon: var(--hw-i2); }
#home .hero-journey span.hj-pin:nth-of-type(3) { --icon: var(--hw-i3); }
#home .hero-journey span.hj-pin:nth-of-type(4) { --icon: var(--hw-i4); }
html body #home .hero-journey .hj-connection .hj-connection-track { stroke: var(--hw-blue); stroke-opacity: .45; stroke-width: 1.6; }

/* Cards grow up out of their node (js/hero-process-sequence.js sets NODE_GAP to match). */
#home .hero-journey.is-enhanced .hj-card.hw { transform-origin: 50% calc(100% + 40px); }

/* ---------- Desktop: airy, small widgets on the U ----------
   Cards sit on one baseline (align-items: end) so every node is the same distance under its card
   and the nodes trace a clean U, while the cards keep their own heights (the blue build card is
   the tall one, like wantace's code card). */
@media (min-width: 1100px) {
  html body #home .hero-journey .hj-cards {
    grid-template-columns: repeat(4, var(--hw-w)); justify-content: space-between; align-items: end;
    padding-bottom: calc(58px + var(--hj-arch, 0px));
  }
  /* The tall middle card starts just under the button; the outer cards rise beside it. */
  html body #home .hero-journey { margin-top: calc(-12px - var(--hj-dip, 0px)) !important; }
}

/* ---------- Tablets: the desktop board, laid out at 1000px and scaled to the screen ---------- */
@media (min-width: 768px) and (max-width: 1099px) {
  html body #home .hero-journey .hj-cards {
    --hw-w: 214px; width: 1000px; grid-template-columns: repeat(4, var(--hw-w));
    align-items: end; padding: 0 32px calc(58px + var(--hj-arch, 0px));
  }
}

/* ---------- Phones: one card at a time above a straight rail, as on wantace.com ----------
   The cards share one grid cell (css/process-cards.css) and cross-fade. Under them the rail shows
   one point in the middle with a "Step N · Name" pill; the next point slides in from the right. */
@media (max-width: 767px) {
  #home .hero-journey { --hw-w: min(300px, calc(100vw - 56px)); }
  html body #home .hero-journey .hj-cards { align-items: end; padding: 0 0 6px; }
  html body #home .hero-journey .hj-card.hw { padding: 14px !important; gap: 12px; }
  #home .hero-journey .hw-head > b { font-size: 14px; }
  #home .hero-journey .hw-btn { height: 36px; font-size: 12.5px; }
  #home .hero-journey .hw-bar::after { font-size: 12.5px; }
  #home .hero-journey .hw-slots b { font-size: 12px; }
  #home .hero-journey .hw-steps li > b { font-size: 12.5px; }
  #home .hero-journey .hw-code { font-size: 10.5px !important; }

  html body #home .hero-journey .hj-controls:not([hidden]) {
    --hj-gap: 62vw; position: relative !important; left: auto; bottom: auto; display: block;
    height: 84px; margin: 6px 0 18px !important; padding: 0; overflow: hidden;
  }
  html body #home .hero-journey .hj-step-controls { display: flex !important; }
  #home .hero-journey .hj-step-button > span { width: 38px !important; height: 38px !important; border: 1px solid #d6e2f7 !important; background: #fff !important; color: transparent !important; font-size: 0 !important; box-shadow: 0 0 0 6px #f0f0f0, 0 10px 20px -10px rgba(37, 99, 235, .55) !important; }
  #home .hero-journey .hj-step-button > span::before {
    content: ""; width: 17px; height: 17px; background: var(--hw-blue);
    -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  }
  #home .hero-journey .hj-step-button:nth-child(1) > span { --icon: var(--hw-i1); }
  #home .hero-journey .hj-step-button:nth-child(2) > span { --icon: var(--hw-i2); }
  #home .hero-journey .hj-step-button:nth-child(3) > span { --icon: var(--hw-i3); }
  #home .hero-journey .hj-step-button:nth-child(4) > span { --icon: var(--hw-i4); }
  #home .hero-journey .hj-step-button.is-current > span { scale: 1 !important; border-color: var(--hw-blue) !important; background: var(--hw-blue) !important; box-shadow: 0 0 0 6px #f0f0f0, 0 0 0 11px rgba(37, 99, 235, .12), 0 12px 24px -8px var(--hw-blue) !important; }
  #home .hero-journey .hj-step-button.is-current > span::before { background: #fff; }
  #home .hero-journey .hj-controls::before { top: 27px !important; background: #c5d6f5 !important; }
  #home .hero-journey .hj-step-controls::before, #home .hero-journey .hj-step-controls::after { top: 26px !important; }
  #home .hero-journey .hj-step-controls { top: 8px !important; }
  #home .hero-journey .hj-step-name { padding: 5px 12px !important; font-size: 12px !important; font-weight: 500 !important; }
}

/* The travelling pulse on the arc: a short bright blue dash (white read as a gap in the line). */
html body #home .hero-journey .hj-connection .hj-connection-signal { stroke: var(--hw-blue); stroke-width: 2.6; filter: drop-shadow(0 0 4px rgba(37, 99, 235, .7)); }
