/* Hero journey: scoped independently from the legacy miniature timeline. */
#home .hero-journey {
    --hj-blue: #2463eb;
    --hj-ink: #152641;
    --hj-muted: #58677b;
    --hj-duration: 7s;
    width: min(1240px, calc(100% - 80px));
    margin: 44px auto 24px;
    color: var(--hj-ink);
    text-align: left;
    position: relative;
    isolation: isolate;
}
#home .hero-journey *, #home .hero-journey *::before, #home .hero-journey *::after { box-sizing: border-box; }
#home .hj-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative; padding-bottom: 58px; align-items: start; }
#home .hj-card {
    position: relative;
    min-width: 0;
    padding: 17px 17px 0;
    background: linear-gradient(155deg, #fff 55%, #f5f8ff);
    border: 1px solid #fff;
    border-radius: 22px;
    box-shadow: 0 12px 32px -12px #142c5029, 0 1px 2px #142c5010, inset 0 0 0 1px #e1e7f04d;
    transition: box-shadow .45s ease, border-color .45s ease;
    z-index: 1;
}
#home .hj-card.is-current { border-color: #8bb1ff; box-shadow: 0 16px 36px -14px #1647973d, 0 0 0 4px #2463eb08; }
#home .hj-strategy { margin-top: 48px; }
#home .hj-create { margin-top: 24px; background: linear-gradient(145deg, #1c2b44, #101c30); color: #f4f7ff; border-color: #2a3c57; }
#home .hj-card-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 15px; margin-bottom: 15px; white-space: nowrap; }
#home .hj-step { font-size: 10px; letter-spacing: 1.15px; font-weight: 600 !important; color: #576981; }
#home .hj-status, #home .hj-meta { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #597064; }
#home .hj-meta { color: #69778c; }
#home .hj-status > i { width: 5px; height: 5px; border-radius: 50%; background: #1eaa82; box-shadow: 0 0 0 3px #1eaa8210; }
#home .hj-art { height: 166px; position: relative; margin-bottom: 18px; }
#home .hj-caption h3 { color: inherit; font-size: clamp(20px, 1.65vw, 23px); font-weight: 500 !important; line-height: 1.2; letter-spacing: -.8px; margin: 0 0 8px; padding: 0; }
#home .hj-caption p { color: var(--hj-muted); font-size: 12px; line-height: 1.65; letter-spacing: 0; margin: 0; padding: 0; min-height: 40px; max-width: none; text-align: left; }
#home .hj-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 47px; border-top: 1px solid #dce5f0; margin-top: 16px; font-size: 10px; color: #546680; }
#home .hj-footer > span { display: inline-flex; align-items: center; gap: 7px; }
#home .hj-footer i { color: var(--hj-blue); font-size: 11px; }
#home .hj-round-arrow { color: var(--hj-blue); font-size: 17px; }
#home .hj-footer a { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 46px; color: #275bc5; text-decoration: none; font-size: 11px; }
#home .hj-footer a:hover { color: #143678; }
#home .hj-footer a > span { font-size: 18px; }
#home .hj-node { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); width: 27px; height: 27px; border: 1px solid #adc6f5; border-radius: 50%; display: grid; place-items: center; background: #f5f8ff; font-size: 9px; color: #4c6c9d; box-shadow: 0 0 0 5px #f2f5f9; transition: background .4s, color .4s; }
#home .hj-card.is-current .hj-node { background: var(--hj-blue); color: white; border-color: var(--hj-blue); }
#home .hj-connection { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
#home .hj-connection path { fill: none; stroke: #7ea5ee; stroke-width: 1; }
#home .hj-connection .hj-connection-signal { stroke: #2463eb; stroke-width: 2; stroke-dasharray: 5 95; animation: hj-travel 12s linear infinite; }

/* Discovery: expressive, alternating speakers and a floating idea note. */
#home .hj-call { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 21px; }
#home .hj-person { position: relative; border-radius: 12px; background: #edf0f5; overflow: hidden; border: 2px solid transparent; }
#home .hj-person::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #142239a6); }
#home .hj-person img { display: block; height: 100%; width: 100%; object-fit: cover; object-position: 50% 37%; animation: hj-person-breathe 7s ease-in-out infinite; }
#home .hj-person-kaizer { border-color: #6d97ff; animation: hj-speaker 7s ease-in-out infinite; }
#home .hj-person-kaizer img { animation-delay: -3.5s; }
#home .hj-person > span { position: absolute; z-index: 1; bottom: 8px; left: 8px; right: 7px; display: flex; align-items: center; justify-content: space-between; color: white; font-size: 11px; }
#home .hj-person > span > i { font-size: 9px; opacity: .8; }
#home .hj-wave { display: flex; align-items: center; gap: 2px; height: 13px; }
#home .hj-wave i { width: 2px; height: 9px; border-radius: 2px; background: #fff; animation: hj-voice .7s ease-in-out infinite alternate; }
#home .hj-wave i:nth-child(2n) { height: 13px; animation-delay: -.3s; }
#home .hj-wave i:nth-child(3) { animation-delay: -.5s; }
#home .hj-wave i:nth-child(5) { animation-delay: -.2s; }
#home .hj-call-note { position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; background: white; white-space: nowrap; padding: 9px 12px; border: 1px solid #dbe6fb; border-radius: 9px; box-shadow: 0 5px 14px #254d9312; color: #3b557c; font-size: 10px; animation: hj-note 7s ease-in-out infinite; }
#home .hj-call-note > span { color: #2463eb; font-size: 15px; }

/* Strategy: a traced plan, coordinated cursor and selected design nodes. */
#home .hj-blueprint { padding: 13px 6px 8px; background: radial-gradient(#becde2 .75px, transparent .75px) 0 0 / 10px 10px; border-radius: 12px; }
#home .hj-plan-root { width: 170px; max-width: 90%; display: flex; align-items: center; gap: 8px; margin: 0 auto; padding: 10px; background: #fff; border: 1px solid #b6cdfb; border-radius: 9px; box-shadow: 0 4px 12px #245cbe0c; color: #294564; font-size: 11px; position: relative; z-index: 1; }
#home .hj-plan-symbol { display: grid; place-items: center; color: #2463eb; background: #edf3ff; width: 27px; height: 29px; border-radius: 6px; font-size: 20px; }
#home .hj-plan-root small { display: block; margin-top: 4px; font-size: 8px; color: #667b96; }
#home .hj-plan-links { display: block; width: 100%; height: 43px; }
#home .hj-plan-links path { fill: none; stroke-width: 1.5; stroke-linecap: round; }
#home .hj-plan-track { stroke: #c1d4f5; }
#home .hj-plan-draw { stroke: #3978ef; stroke-dasharray: 100; animation: hj-draw 7s ease-in-out infinite; }
#home .hj-plan-branches { display: flex; gap: 10px; justify-content: space-between; }
#home .hj-plan-branches > span { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; flex: 1; padding: 9px 3px; font-size: 9px; background: #fff; border: 1px solid #c5d7f7; border-radius: 7px; color: #3f5b80; animation: hj-select 7s ease-in-out infinite; }
#home .hj-plan-branches > span + span { animation-delay: 1s; }
#home .hj-plan-branches i { color: #3978ef; font-size: 10px; }
#home .hj-design-cursor { position: absolute; top: 78px; left: 52%; width: 20px; height: 26px; color: #2463eb; filter: drop-shadow(0 2px 2px #fff); z-index: 3; animation: hj-cursor 7s ease-in-out infinite; }
#home .hj-design-cursor svg { width: 19px; height: 24px; fill: #2463eb; stroke: white; stroke-width: 1.5; }
#home .hj-design-cursor small { position: absolute; top: 21px; left: 15px; padding: 3px 6px; background: #2463eb; color: #fff; border-radius: 4px; font-size: 8px; }

/* Create: actual DODD motion footage over a progressively written code panel. */
#home .hj-create .hj-step, #home .hj-create .hj-meta { color: #b2c3dc; }
#home .hj-create .hj-caption p { color: #b3c2d7; }
#home .hj-create .hj-footer { border-color: #33435b; color: #b3c2d7; }
#home .hj-create .hj-footer i, #home .hj-create .hj-round-arrow { color: #94b9ff; }
#home .hj-editor { width: 82%; border: 1px solid #40516c; border-radius: 9px; padding: 8px 9px 24px; background: #142035; transform: rotate(-3deg); }
#home .hj-editor-tab { display: flex; align-items: center; gap: 5px; font-size: 8px; color: #a2b5d2; margin-bottom: 6px; }
#home .hj-editor-dot { width: 4px; height: 4px; background: #7eafff; border-radius: 50%; }
#home .hj-code { font: 9px/1.7 ui-monospace, SFMono-Regular, monospace !important; color: #dae4f5; }
#home .hj-code span { display: block; white-space: pre; font: inherit !important; clip-path: inset(0 0 0 0); animation: hj-code-reveal 7s steps(24, end) infinite; }
#home .hj-code span:nth-child(2) { animation-delay: .5s; }
#home .hj-code span:nth-child(3) { animation-delay: 1s; }
#home .hj-code span:nth-child(4) { animation-delay: 1.5s; }
#home .hj-code em { font-style: normal; color: #c7a7fb; }
#home .hj-code b { color: #8cdbc9; font-weight: 400; }
#home .hj-code i { display: inline-block; width: 1px; height: 10px; background: #9bbeff; vertical-align: middle; animation: hj-blink 1s steps(2, end) infinite; }
#home .hj-browser { position: absolute; width: 77%; right: -3px; top: 62px; border-radius: 9px; border: 1px solid #f1f5ff7a; overflow: hidden; box-shadow: 0 12px 25px #050e204d; background: #f8faff; transform: rotate(3deg); animation: hj-preview 7s ease-in-out infinite; }
#home .hj-browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 22px; padding: 0 7px; background: #f8faff; color: #5a6c86; font-size: 7px; }
#home .hj-browser-bar > span:first-child { display: flex; gap: 2px; }
#home .hj-browser-bar i { width: 3px; height: 3px; border-radius: 50%; background: #b8c7db; }
#home .hj-product-video { width: 100%; aspect-ratio: 1.846; object-fit: cover; display: block; }
#home .hj-render-badge { position: absolute; left: 1px; bottom: 2px; display: flex; align-items: center; gap: 5px; background: #223c5c; color: #bee6dc; border: 1px solid #46637e; border-radius: 6px; padding: 6px 8px; font-size: 9px; box-shadow: 0 4px 10px #05122933; }
#home .hj-render-badge i { width: 4px; height: 4px; background: #75dbb7; border-radius: 50%; }

/* Launch: existing HANBORO artwork, a drawn check and a restrained celebration. */
#home .hj-launch-window { position: absolute; inset: 0 0 16px; background: #fff; border: 1px solid #d2dcec; border-radius: 10px; overflow: hidden; transform: rotate(-2deg); box-shadow: 0 8px 16px #284b8112; animation: hj-launch-window 7s ease-in-out infinite; }
#home .hj-launch-image { height: calc(100% - 22px); overflow: hidden; background: #17191e; position: relative; }
#home .hj-launch-image img { display: block; width: 210%; max-width: none; height: auto; transform: translateY(-31%); animation: hj-project-pan 14s ease-in-out infinite; }
#home .hj-launch-badge { position: absolute; display: flex; align-items: center; gap: 8px; bottom: 0; right: -4px; width: 94%; padding: 10px; background: #fff; border: 1px solid #d2e7e1; box-shadow: 0 8px 18px #17395812; border-radius: 10px; color: #245f50; font-size: 11px; animation: hj-launch-badge 7s ease-in-out infinite; }
#home .hj-launch-badge > span { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 50%; background: #e4f5ee; }
#home .hj-launch-badge svg { width: 21px; fill: none; stroke: #289b75; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#home .hj-launch-badge path { stroke-dasharray: 1; animation: hj-check 7s ease-in-out infinite; }
#home .hj-launch-badge small { display: block; color: #638175; font-size: 8px; margin-top: 4px; }
#home .hj-spark { position: absolute; color: #60a892; font-style: normal; animation: hj-spark 7s ease-out infinite; }
#home .hj-spark-one { right: 8px; top: -9px; font-size: 17px; }
#home .hj-spark-two { left: 17px; top: -13px; font-size: 11px; animation-delay: .2s; }

/* Accessible manual navigation and a persistent animation pause control. */
#home .hj-controls { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 11px; }
#home .hj-controls[hidden] { display: none; }
#home .hj-step-controls { display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid #dce5f0; border-radius: 99px; background: #ffffffc9; box-shadow: 0 3px 9px #2b487406; }
#home .hj-step-button { display: inline-flex; gap: 7px; align-items: center; min-height: 36px; padding: 0 13px; border: 0; background: transparent; border-radius: 99px; color: #62718a; font-size: 11px; font-family: inherit; cursor: pointer; transition: color .3s, background .3s; }
#home .hj-step-button > span { font-size: 9px; opacity: .7; }
#home .hj-step-button:hover { background: #edf3ff; color: #2463eb; }
#home .hj-step-button.is-current { color: white; background: #2463eb; box-shadow: 0 2px 6px #2463eb26; }
#home .hj-playback { display: grid; place-items: center; width: 38px; height: 38px; padding: 9px; border: 1px solid #dce5f0; border-radius: 50%; background: #fff; color: #59708f; cursor: pointer; }
#home .hj-playback svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
#home .hj-playback .hj-play-icon { display: none; fill: currentColor; stroke: none; }
#home .hj-playback[aria-pressed="true"] .hj-play-icon { display: block; }
#home .hj-playback[aria-pressed="true"] .hj-pause-icon { display: none; }
#home .hero-journey :is(button,a):focus-visible { outline: 3px solid #72a0f7; outline-offset: 4px; }
#home .hero-journey.is-paused *, #home .hero-journey.is-paused *::before, #home .hero-journey.is-paused *::after { animation-play-state: paused !important; }

@keyframes hj-travel { from { stroke-dashoffset: 5; } to { stroke-dashoffset: -95; } }
@keyframes hj-voice { to { transform: scaleY(.3); } }
@keyframes hj-person-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045) translateY(1px); } }
@keyframes hj-speaker { 0%,100% { border-color: #6d97ff; } 40%,60% { border-color: #a1bdff; box-shadow: 0 0 0 3px #2463eb0c; } }
@keyframes hj-note { 0%,100% { transform: translate(-50%, 0); } 45%,60% { transform: translate(-50%, -4px); } }
@keyframes hj-draw { 0%,10% { stroke-dashoffset: 100; } 50%,90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes hj-select { 0%,25%,95%,100% { border-color: #c5d7f7; background: #fff; } 45%,75% { border-color: #5c91f1; background: #eff5ff; } }
@keyframes hj-cursor { 0%,100% { transform: translate(0,0); } 30%,45% { transform: translate(-60px,36px); } 65%,80% { transform: translate(34px,36px); } }
@keyframes hj-code-reveal { 0%,8% { clip-path: inset(0 100% 0 0); } 38%,90% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes hj-blink { 50% { opacity: 0; } }
@keyframes hj-preview { 0%,100% { transform: translateY(3px) rotate(3deg); } 45%,70% { transform: translateY(-3px) rotate(0); } }
@keyframes hj-launch-window { 0%,100% { transform: rotate(-2deg); } 45%,70% { transform: translateY(-3px) rotate(0); } }
@keyframes hj-project-pan { 0%,20%,100% { transform: translateY(-31%); } 50%,70% { transform: translateY(-35%); } }
@keyframes hj-launch-badge { 0%,100% { transform: translateY(2px); } 40%,75% { transform: translateY(-3px); } }
@keyframes hj-check { 0%,10% { stroke-dashoffset: 1; } 35%,100% { stroke-dashoffset: 0; } }
@keyframes hj-spark { 0%,20%,80%,100% { opacity: 0; transform: translateY(4px) scale(.6); } 35%,55% { opacity: 1; transform: translateY(-4px) scale(1); } }

@media (hover: hover) {
    #home .hj-card:hover { box-shadow: 0 20px 40px -15px #183d7138, 0 0 0 1px #2463eb18; }
}
@media (max-width: 1099px) and (min-width: 601px) {
    #home .hero-journey { width: min(740px, calc(100% - 64px)); }
    #home .hj-cards { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; padding-bottom: 0; }
    #home .hj-card { margin-top: 0; }
    #home .hj-connection, #home .hj-node { display: none; }
    #home .hj-art { height: 174px; }
    #home .hj-person img { object-position: 50% 32%; }
    #home .hj-controls { margin-top: 24px; }
    #home .hj-caption h3 { font-size: 24px; }
    #home .hj-caption p { font-size: 13px; }
    #home .hj-plan-links { height: 50px; }
}
@media (max-width: 600px) {
    #home .hero-journey { width: calc(100% - 36px); max-width: 380px; margin: 27px auto 28px; }
    #home .hj-cards { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 0; }
    #home .hj-card { margin: 0; padding: 20px 20px 0; border-radius: 22px; }
    #home .hero-journey.is-enhanced .hj-card { grid-area: 1/1; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(14px) scale(.97); transition: opacity .4s ease, transform .5s cubic-bezier(.16,1,.3,1), visibility .4s; }
    #home .hero-journey.is-enhanced .hj-card.is-current { opacity: 1; visibility: visible; pointer-events: auto; transform: none; z-index: 2; }
    #home .hj-art { height: 182px; margin-bottom: 22px; }
    #home .hj-call { padding-bottom: 24px; }
    #home .hj-card-top { margin-bottom: 17px; }
    #home .hj-step, #home .hj-meta, #home .hj-status { font-size: 11px; }
    #home .hj-caption h3 { font-size: 25px; }
    #home .hj-caption p { font-size: 13px; line-height: 1.7; min-height: 44px; }
    #home .hj-footer { margin-top: 18px; min-height: 50px; font-size: 11px; }
    #home .hj-footer a { font-size: 12px; }
    #home .hj-connection, #home .hj-node { display: none; }
    #home .hj-call-note { font-size: 11px; }
    #home .hj-plan-root { width: 185px; font-size: 12px; }
    #home .hj-plan-root small { font-size: 9px; }
    #home .hj-plan-links { height: 54px; }
    #home .hj-plan-branches > span { font-size: 11px; }
    #home .hj-design-cursor { top: 95px; }
    #home .hj-code { font-size: 10px !important; }
    #home .hj-browser { top: 69px; }
    #home .hj-browser-bar { height: 24px; font-size: 8px; }
    #home .hj-launch-badge { width: 91%; padding: 12px; font-size: 12px; }
    #home .hj-launch-badge small { font-size: 9px; }
    #home .hj-controls { margin-top: 21px; gap: 7px; }
    #home .hj-step-controls { flex: 1; justify-content: space-between; padding: 3px; gap: 0; }
    #home .hj-step-button { min-height: 39px; padding: 0 9px; font-size: 10px; }
    #home .hj-step-button > span { display: none; }
    #home .hj-playback { flex: 0 0 39px; height: 39px; }
}
@media (prefers-reduced-motion: reduce) {
    #home .hero-journey *, #home .hero-journey *::before, #home .hero-journey *::after { animation: none !important; transition: none !important; }
    #home .hj-plan-draw, #home .hj-launch-badge path { stroke-dashoffset: 0; }
    #home .hj-spark { display: none; }
}
#home .hj-playback[hidden] { display: none; }

/* Requested Capability palette: white / blue / white / blue. */
#home .hj-strategy, #home .hj-launch {
    background: linear-gradient(145deg, #2877f7, #2463eb 55%, #1e4fce);
    border-color: #4683f4;
    color: #fff;
    box-shadow: 0 14px 30px -12px #1455c447, inset 0 1px 0 #ffffff26;
}
#home :is(.hj-strategy,.hj-launch) :is(.hj-step,.hj-meta) { color: #e0eaff; }
#home :is(.hj-strategy,.hj-launch) .hj-caption p { color: #e0eaff; }
#home :is(.hj-strategy,.hj-launch) .hj-footer { border-color: #ffffff40; color: #e0eaff; }
#home :is(.hj-strategy,.hj-launch) .hj-footer :is(i,a,.hj-round-arrow) { color: #fff; }
#home .hj-strategy .hj-blueprint { background: radial-gradient(#ffffff35 .75px, transparent .75px) 0 0 / 10px 10px; }
#home .hj-strategy .hj-plan-track { stroke: #ffffff70; }
#home .hj-strategy .hj-plan-draw { stroke: #fff; }
#home .hj-create { color: #152641; background: linear-gradient(155deg, #fff 55%, #f5f8ff); border-color: #fff; }
#home .hj-create :is(.hj-step,.hj-meta,.hj-footer) { color: #576981; }
#home .hj-create .hj-caption p { color: #58677b; }
#home .hj-create .hj-footer { border-color: #dce5f0; }
#home .hj-create .hj-footer i, #home .hj-create .hj-round-arrow { color: #2463eb; }
#home .hj-create .hj-editor { background: #fff; border-color: #dce5f0; box-shadow: 0 10px 22px -10px #17395826; }
#home .hj-create .hj-editor-tab { color: #6a7b93; }
#home .hj-create .hj-editor-dot { background: #2463eb; }
#home .hj-create .hj-code { color: #24364f; }
#home .hj-create .hj-code em { color: #7c3aed; }
#home .hj-create .hj-code b { color: #0f8a6c; }
#home .hj-create .hj-code i { background: #2463eb; }
#home .hj-create .hj-browser { border-color: #dce5f0; box-shadow: 0 12px 25px #1739582e; }
#home .hj-create .hj-render-badge { background: #fff; color: #245f50; border-color: #d2e7e1; box-shadow: 0 4px 10px #17395818; }
#home .hj-create .hj-render-badge i { background: #1eaa82; }
@media(max-width:600px) { #home .hj-art { height: 230px; } #home .hj-call { padding-bottom: 24px; } #home .hj-person img { object-position: 50% 38%; } #home .hj-blueprint { padding-top: 27px; } #home .hj-plan-links { height: 72px; } #home .hj-design-cursor { top: 117px; } }
@media(min-width:1100px) { #home .hj-art { height: 200px; } }
@media(min-width:601px) and (max-width:1099px) { #home .hj-art { height: 240px; } }
#home .hero-journey.is-paused .hj-launch-badge path { animation: none; stroke-dashoffset: 0; }

/* Keep the complete original service pill set visible on phones. */
@media (max-width: 600px) {
    #home .hero-tags-ticker { width: calc(100% - 28px) !important; margin-bottom: 16px !important; overflow: visible !important; }
    #home .hero-tags-track { flex-wrap: wrap !important; gap: 7px !important; }
    #home .hero-tags-track .tag-pill:nth-child(-n + 7) { display: inline-flex !important; }
    #home .hero-tags-track .tag-pill:nth-child(n + 8) { display: none !important; }
    #home .tag-pill { padding: 8px 11px !important; font-size: 11px !important; line-height: 1.2 !important; }
}
