/* Homepage journey: all styling is scoped to this component. */
.hv-journey {
    --journey-blue: #2563eb;
    --journey-ink: var(--color-portrait-ink, #08304c);
    --journey-muted: #586f82;
    --journey-line: #dbe5ef;
    --journey-sticky-top: 104px;
    max-width: 1080px;
    margin: 64px auto 0;
    position: relative;
    text-align: left;
    scroll-margin-top: var(--journey-sticky-top);
}
.hv-journey__scene { padding: 40px 36px 22px; background: #f8fafc; border: 1px solid #e5ebf2; border-radius: 22px; }
.hv-journey__eyebrow { color: var(--color-nautical-teal); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.hv-journey__head h2 { margin: 12px 0; font: 600 clamp(24px, 2.7vw, 33px)/1.25 var(--font-display); letter-spacing: -.04em; color: var(--journey-ink); }
.hv-journey__head p { margin: 0; color: var(--journey-muted); font-size: 14px; line-height: 1.75; }
.hv-journey__hint { display: flex; gap: 16px; margin-top: 22px; font-size: 11px; color: var(--journey-muted); }
.hv-journey__hint > span { color: var(--journey-blue); }
.hv-journey__map { height: 365px; position: relative; margin-top: 12px; }
.hv-journey__route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hv-journey__track, .hv-journey__progress { fill: none; stroke-width: 2; stroke-linecap: round; }
.hv-journey__track { stroke: var(--journey-line); }
.hv-journey__progress { stroke: var(--journey-blue); }
.hv-journey__orb { visibility: hidden; }
.hv-journey__orb-layer { z-index: 2; }
.hv-journey.is-enhanced:not(.is-reduced) .hv-journey__orb { visibility: visible; }
.hv-journey__orb-halo { fill: #2563eb14; }
.hv-journey__orb-core { fill: var(--journey-blue); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 3px #2563eb40); }
.hv-journey__stops { list-style: none; margin: 0; padding: 0; }
.hv-journey__stop { position: absolute; width: 22%; left: 10%; top: 92px; text-align: center; transform: translateX(-50%); }
.hv-journey__stop:nth-child(2) { left: 36%; top: 144px; }
.hv-journey__stop:nth-child(3) { left: 64%; top: 76px; }
.hv-journey__stop:nth-child(4) { left: 90%; top: 118px; }
.hv-journey__stop::before { content: ''; position: absolute; z-index: 0; pointer-events: none; inset: -55px -30px -10px; background: radial-gradient(ellipse at 50% 38%, #2563eb12, transparent 68%); opacity: 0; transition: opacity 300ms ease; }
.hv-journey__pin { display: block; position: absolute; left: 50%; top: -9px; width: 18px; height: 18px; transform: translateX(-50%); border: 2px solid #bdcddd; border-radius: 50%; background: #f8fafc; transition: border-color 250ms, box-shadow 250ms; }
.hv-journey__stop:last-child .hv-journey__pin { outline: 1px solid #bdcddd; outline-offset: 5px; }
.hv-journey__number { position: relative; display: block; margin-top: -43px; padding-bottom: 35px; color: var(--journey-muted); font: 11px/1 var(--font-mono); letter-spacing: .06em; }
.hv-journey__stop h3 { position: relative; margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 1.4; }
.hv-journey__select { padding: 9px 0; min-height: 44px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--journey-muted); cursor: pointer; transition: color 250ms, transform 250ms; }
.hv-journey__detail { position: relative; min-height: 175px; transition: opacity 280ms ease, transform 280ms ease; }
.hv-journey.is-enhanced:not(.is-reduced) .hv-journey__stop:not(.is-current):not(.is-preview):not(:focus-within) .hv-journey__detail { opacity: 0; transform: translateY(6px); pointer-events: none; }
.hv-journey__detail p { margin: 2px auto 12px; max-width: 220px; color: var(--journey-muted); font-size: 12px; line-height: 1.75; }
.hv-journey__detail a { display: inline-block; padding: 4px 0; color: var(--color-nautical-teal); font-size: 10px; font-weight: 600; text-underline-offset: 4px; }
.hv-journey__detail a span { margin-left: 5px; }
.hv-journey__symbol { display: block; width: 56px; height: 42px; margin: 1px auto 5px; color: var(--journey-blue); stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hv-journey__symbol circle { fill: #f8fafc; }
.hv-journey__stop:is(.is-current, .is-preview, :focus-within)::before { opacity: 1; }
.hv-journey__stop:is(.is-current, .is-preview, :focus-within) .hv-journey__select { color: var(--journey-ink); transform: translateY(-2px); }
.hv-journey__stop:is(.is-current, .is-preview, :focus-within) .hv-journey__number { color: var(--journey-blue); }
.hv-journey__stop:is(.is-current, .is-preview, :focus-within) .hv-journey__pin { border-color: var(--journey-blue); box-shadow: 0 0 0 6px #2563eb0d; }
.hv-journey__stop.is-passed .hv-journey__pin { border-color: var(--journey-blue); }
.hv-journey.is-complete .hv-journey__stop:last-child .hv-journey__pin { outline-color: var(--journey-blue); }
.hv-journey :is(button, a):focus-visible { outline: 2px solid var(--journey-blue); outline-offset: 5px; border-radius: 3px; }
.hv-journey__foot { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--journey-line); padding-top: 18px; font-size: 9px; letter-spacing: .035em; color: var(--journey-muted); }
.hv-journey__foot i { font-style: normal; margin-inline: 8px; }
.hv-journey__destination { color: var(--color-nautical-teal); }
/* Each micro-story plays once on entering its checkpoint. */
.hv-journey.is-in-view .hv-journey__stop.is-current .hv-journey__draw { stroke-dasharray: 1; animation: journey-draw 750ms ease both; }
.hv-journey.is-in-view .hv-journey__stop.is-current .hv-journey__branch { animation: journey-branch 800ms ease both; }
.hv-journey.is-in-view .hv-journey__stop.is-current .hv-journey__check { stroke-dasharray: 1; animation: journey-draw 350ms 400ms ease both; }
.hv-journey.is-in-view .hv-journey__stop.is-current .hv-journey__node { transform-box: fill-box; transform-origin: center; animation: journey-node 700ms ease both; }
.hv-journey__node--one { --node-x: -8px; --node-y: 4px; }
.hv-journey__node--two { --node-x: 0px; --node-y: -9px; }
.hv-journey__node--three { --node-x: 8px; --node-y: 4px; }
.hv-journey.is-in-view .hv-journey__stop.is-current .hv-journey__network { animation: journey-network 650ms 150ms ease both; }
@keyframes journey-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes journey-branch { 0% { opacity: 0; } 40% { opacity: .6; } 100% { opacity: .2; } }
@keyframes journey-node { from { transform: translate(var(--node-x), var(--node-y)); opacity: .3; } to { transform: translate(0, 0); opacity: 1; } }
@keyframes journey-network { from { opacity: 0; } to { opacity: 1; } }
/* Native sticky positioning: no wheel/touch interception or scroll locking. */
@media (min-width: 761px) and (min-height: 780px) and (prefers-reduced-motion: no-preference) {
    .hv-journey::after { content: ''; display: block; height: clamp(420px, 65vh, 680px); }
    .hv-journey__scene { position: sticky; top: var(--journey-sticky-top); }
}
@media (max-width: 1020px) {
    .hv-journey { margin-top: 48px; }
    .hv-journey__scene { padding-inline: 24px; }
    .hv-journey__stop h3 { font-size: 17px; }
}
@media (max-width: 760px) {
    .hv-journey { margin-top: 42px; }
    .hv-journey__scene { padding: 28px 22px 22px; border-radius: 20px; }
    .hv-journey__head p { font-size: 13px; }
    .hv-journey__hint > span { transform: rotate(90deg); }
    .hv-journey__map { height: auto; margin: 32px 0 0; }
    .hv-journey__stops { display: grid; gap: 0; }
    .hv-journey__stop, .hv-journey__stop:nth-child(n) { position: relative; width: auto; left: auto; top: auto; transform: none; min-height: 230px; padding: 0 0 30px 53px; text-align: left; }
    .hv-journey__stop:last-child { min-height: 205px; padding-bottom: 0; }
    .hv-journey__pin { left: 13px; top: 16px; }
    .hv-journey__stop:nth-child(2) .hv-journey__pin { left: 22px; }
    .hv-journey__stop:nth-child(3) .hv-journey__pin { left: 9px; }
    .hv-journey__stop:nth-child(4) .hv-journey__pin { left: 18px; }
    .hv-journey__number { margin: 0; padding: 0; line-height: 1.5; }
    .hv-journey__stop h3 { font-size: 21px; }
    .hv-journey__detail { min-height: 150px; }
    .hv-journey__detail p { max-width: 300px; margin: 0 0 8px; font-size: 13px; }
    .hv-journey__detail a { font-size: 11px; }
    .hv-journey__symbol { margin: 0 0 5px -4px; width: 48px; height: 36px; }
    .hv-journey__stop::before { inset: -10px -10px 15px 0; background-position: left; }
    .hv-journey__foot { font-size: 8px; gap: 8px; flex-wrap: wrap; padding-right: 48px; line-height: 1.7; }
    .hv-journey__foot i { margin-inline: 3px; }
}
@media (prefers-reduced-motion: reduce) {
    .hv-journey *, .hv-journey *::before { animation: none !important; transition: none !important; }
    .hv-journey .hv-journey__detail { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
}
@media print {
    .hv-journey { padding-bottom: 0; }
    .hv-journey::after { display: none; }
    .hv-journey__scene { position: static; }
    .hv-journey .hv-journey__detail { opacity: 1 !important; transform: none !important; }
    .hv-journey__orb { display: none; }
}
