/* Homepage story: the existing JCPIT world, connected by a quiet route.
   Native content is complete without JS; JS only emphasises the section in view. */
.homepage-story {
  --story-paper: #f4f2ed;
  --story-ink: #1c1c20;
  --story-muted: #505057;
  --story-route: #82766c;
  position: relative;
  isolation: isolate;
}
.homepage-story ::selection { background: #f26522; color: #1c1c20; }
.homepage-story .journey-section :focus-visible { outline: 3px solid #a73d0b; outline-offset: 5px; }
.homepage-story > :is(.journey-section, .homepage-local-proof) { position: relative; padding-left: calc(var(--home-gutter) + 48px); }
.homepage-story > :is(.journey-people, .direction-workflow, .journey-report, .journey-outcomes, .journey-start)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--home-gutter) + 10px);
  width: 1px;
  background: var(--story-route);
  pointer-events: none;
}
.homepage-story > :is(.journey-people, .direction-workflow, .journey-report, .journey-outcomes, .journey-start)::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: calc(var(--home-gutter) + 5px);
  top: clamp(4rem, 7vw, 7rem);
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: currentColor;
  outline: 6px solid transparent;
  transition: outline-color .35s ease-out;
}
.homepage-story > [data-story-current="true"]::before { outline-color: #f2652255; }
.homepage-story .journey-section .journey-text-link { text-underline-offset: .25em; text-decoration-thickness: 1px; }
.homepage-story .journey-section .journey-text-link:is(:hover, :focus-visible) { text-decoration: underline; text-decoration-thickness: 2px; }
.homepage-story .journey-section a > svg { flex-shrink: 0; }
.homepage-story .journey-section a:is(:hover, :focus-visible) > svg { transform: translateX(3px); }
.homepage-story .journey-section .btn:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .2em; }
.homepage-story .journey-people { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 48px 64px; background: #f26522; }
.homepage-story .journey-people h2 { font-size: clamp(44px, 5vw, 72px); line-height: 1.04; letter-spacing: -.04em; max-width: 12ch; }
.homepage-story .journey-people .journey-people-name { font-size: 1.28em; }
.homepage-story .journey-people .story-concern { margin-top: 0; font-size: 20px; line-height: 1.6; }
.homepage-story .journey-people .journey-people-direct { font-size: 17px; font-weight: 500; }
.homepage-story .journey-people p { margin-top: 20px; }
.homepage-story .journey-people .journey-text-link { margin-top: 20px; }
.homepage-story .journey-people .btn { display: flex; width: fit-content; margin-top: 28px; justify-self: start; }
.homepage-story .motif-people { right: auto; left: -180px; bottom: -230px; opacity: .13; }
.homepage-story .direction-workflow { background: #f4f2ed; }
.homepage-story .direction-workflow .journey-security-visual { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; max-width: none; }
.homepage-story .direction-workflow .journey-security-heading { grid-column: 1; grid-row: 1; display: block; }
.homepage-story .direction-workflow .journey-security-heading h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.homepage-story .workflow-dot-field { display: none; }
.homepage-story .story-workflow-intro { grid-column: 2; margin: 0; align-self: end; max-width: 48ch; font-size: 19px; line-height: 1.65; color: #505057; }
.homepage-story .direction-workflow .journey-security-flow { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 24px 0 0; }
.homepage-story .direction-workflow .journey-security-flow li { display: block; position: relative; padding-bottom: 0; }
.homepage-story .direction-workflow .journey-security-flow li:not(:last-child)::before { top: 24px; left: 48px; right: -36px; bottom: auto; height: 1px; width: auto; background: #a19b93; }
.homepage-story .direction-workflow .journey-security-icon { position: relative; z-index: 1; width: 48px; height: 48px; border: 1px solid #82766c; border-radius: 50%; background: #f4f2ed; color: #1c1c20; margin-bottom: 24px; }
.homepage-story .direction-workflow li:last-child .journey-security-icon { border-color: #1c1c20; background: #1c1c20; color: #f4f2ed; }
.homepage-story .direction-workflow .journey-security-flow strong { font-size: 21px; }
.homepage-story .direction-workflow .journey-security-flow li > div > span { margin-top: 4px; font-size: 16px; line-height: 1.7; }
.homepage-story .direction-workflow figcaption { grid-column: 1 / -1; max-width: 85ch; border-top: 0; padding-top: 0; font-size: 13px; }
.homepage-story .direction-workflow .journey-security-visual > a { grid-column: 1 / -1; margin-top: -16px; width: fit-content; }
.homepage-story .journey-report { background: #202428; gap: 40px; }
.homepage-story .journey-report-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; }
.homepage-story .journey-report-copy h2 { grid-column: 1; grid-row: 1 / 5; font-size: clamp(36px, 4vw, 54px); line-height: 1.08; }
.homepage-story .journey-report-copy > p, .homepage-story .journey-report-copy > .journey-text-link { grid-column: 2; }
.homepage-story .journey-coverage { border-top-width: 4px; }
.homepage-story .journey-report-sample { max-width: none; }
.homepage-story .story-report-guide { margin-top: 28px; padding-top: 24px; border-top: 1px solid #cececb; }
.homepage-story .story-report-guide h4 { margin: 0; color: var(--story-ink); font-size: 22px; line-height: 1.35; letter-spacing: -.02em; }
.homepage-story .story-report-guide ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 20px 0 28px; }
.homepage-story .story-report-guide li { min-width: 0; }
.homepage-story .story-report-guide strong { display: block; color: var(--story-ink); font-size: 18px; line-height: 1.4; }
.homepage-story .story-report-guide li p { margin: 8px 0 0; color: var(--story-muted); font-size: 16px; line-height: 1.65; }
.homepage-story .journey-report-sample .report-sample-preview { overflow: hidden; }
.homepage-story .journey-report-sample .report-sample-preview img { display: block; width: 100%; height: auto; }
.homepage-story .report-sample-preview:is(:hover, :focus-visible) { outline: 3px solid #a73d0b; outline-offset: 5px; }
.homepage-story .journey-report-try { padding-top: 28px; gap: 24px; }
.homepage-story .journey-report-try p { max-width: 68ch; }
.homepage-story .journey-report :focus-visible, .homepage-story .journey-insights :focus-visible { outline-color: #f26522; }
.homepage-story .journey-outcomes { background: #fff; }
.homepage-story .journey-outcomes > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 64px; }
.homepage-story .journey-outcomes > div > h2 { grid-column: 1; grid-row: 1 / 3; }
.homepage-story .journey-outcomes > div > .journey-text-link { grid-column: 2; }
.homepage-story .journey-outcomes h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1.08; max-width: 17ch; }
.homepage-story .journey-outcome-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; margin-top: 48px; gap: 0; }
.homepage-story .journey-outcome-list > a, .homepage-story .journey-paper .journey-outcome-list > a:first-child { position: relative; grid-row: auto; grid-template-columns: 64px minmax(0, 1fr) minmax(0, .8fr) 24px; grid-template-rows: auto; align-items: center; gap: 24px; padding: 28px 12px; border-top: 1px solid #aaa6a0; }
.homepage-story .journey-outcome-list > a::before { content: ""; position: absolute; left: -38px; top: 50%; width: 74px; height: 1px; background: var(--story-route); pointer-events: none; }
.homepage-story .journey-outcome-list > a::after { content: ""; position: absolute; left: -42px; top: calc(50% - 4px); width: 9px; height: 9px; border: 1px solid var(--story-route); border-radius: 50%; background: #fff; pointer-events: none; }
.homepage-story .journey-outcome-list > a:is(:hover, :focus-visible)::before, .homepage-story .journey-outcome-list > a:is(:hover, :focus-visible)::after { background: #a73d0b; border-color: #a73d0b; }
.homepage-story .journey-outcome-list > a:last-child { border-bottom: 1px solid #aaa6a0; }
.homepage-story .journey-outcome-list .journey-outcome-icon { position: relative; display: grid; place-items: center; grid-column: 1; grid-row: 1; width: 48px; height: 48px; border: 1px solid var(--story-route); border-radius: 50%; background: #fff; }
.homepage-story .journey-outcome-list .journey-outcome-icon > svg { width: 24px; height: 24px; }
.homepage-story .journey-outcome-list > a:is(:hover, :focus-visible) .journey-outcome-icon { border-color: #a73d0b; }
.homepage-story .journey-outcome-list strong { grid-column: 2; grid-row: 1; font-size: 25px; max-width: 24ch; }
.homepage-story .journey-outcome-list .journey-outcome-summary { grid-column: 3; grid-row: 1; color: #505057; }
.homepage-story .journey-outcome-list > a > svg { grid-column: 4; grid-row: 1; }
.homepage-story .journey-outcome-list > a:is(:hover, :focus-visible) { background: #f4f2ed; }
.homepage-story .journey-start { background: #eeece6; }
.homepage-story .story-start-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.homepage-story .journey-start h2 { font-size: clamp(40px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.035em; }
.homepage-story .story-start-heading p { max-width: 40ch; margin: 0; font-size: 19px; line-height: 1.65; }
.homepage-story .journey-steps { gap: 24px; }
.homepage-story .journey-steps li { border-color: #aaa6a0; }
.homepage-story .story-start-action { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.homepage-story .story-start-action p { max-width: 43ch; margin: 0; font-size: 14px; color: #505057; }
.homepage-story .journey-partners { background: #f4f2ed; }
.homepage-story .journey-insights { background: #151518; }
.homepage-story .journey-guide-image { border-radius: 0; }
.homepage-story .journey-guide-list > a:is(:hover, :focus-visible) .journey-guide-image { outline: 2px solid #f26522; outline-offset: 4px; }
@media (max-width: 1000px) {
  .homepage-story .journey-people, .homepage-story .journey-report-copy, .homepage-story .journey-outcomes > div, .homepage-story .direction-workflow .journey-security-visual, .homepage-story .story-start-heading { column-gap: 32px; }
  .homepage-story .journey-outcome-list > a, .homepage-story .journey-paper .journey-outcome-list > a:first-child { grid-template-columns: 48px minmax(0, 1fr) minmax(0, .8fr) 20px; gap: 18px; }
  .homepage-story .journey-outcome-list strong { font-size: 22px; }
}
@media (max-width: 760px) {
  .homepage-story > :is(.journey-section, .homepage-local-proof) { padding-left: calc(var(--home-gutter) + 28px); }
  .homepage-story > :is(.journey-people, .direction-workflow, .journey-report, .journey-outcomes, .journey-start)::after { left: var(--home-gutter); }
  .homepage-story > :is(.journey-people, .direction-workflow, .journey-report, .journey-outcomes, .journey-start)::before { left: calc(var(--home-gutter) - 5px); top: 56px; }
  .homepage-story .journey-people, .homepage-story .journey-report-copy, .homepage-story .journey-outcomes > div, .homepage-story .direction-workflow .journey-security-visual, .homepage-story .story-start-heading { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .homepage-story .journey-people h2 { font-size: clamp(44px, 9vw, 64px); }
  .homepage-story .journey-people .story-concern { font-size: 18px; }
  .homepage-story .journey-people .btn { width: 100%; max-width: 360px; }
  .homepage-story .journey-report-copy h2, .homepage-story .journey-outcomes > div > h2 { grid-row: auto; grid-column: 1; }
  .homepage-story .journey-report-copy > p, .homepage-story .journey-report-copy > .journey-text-link, .homepage-story .journey-outcomes > div > .journey-text-link { grid-column: 1; margin-top: 0; }
  .homepage-story .journey-outcomes > div > p { margin-top: 0; }
  .homepage-story .story-workflow-intro { grid-column: 1; font-size: 17px; }
  .homepage-story .direction-workflow .journey-security-flow { grid-column: 1; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 4px; }
  .homepage-story .direction-workflow .journey-security-flow li { display: flex; gap: 18px; padding-bottom: 32px; }
  .homepage-story .direction-workflow .journey-security-flow li:last-child { padding-bottom: 0; }
  .homepage-story .direction-workflow .journey-security-flow li:not(:last-child)::before { left: 23px; top: 48px; bottom: 0; right: auto; height: auto; width: 1px; }
  .homepage-story .direction-workflow .journey-security-icon { flex: 0 0 48px; margin: 0; }
  .homepage-story .direction-workflow .journey-security-flow strong { font-size: 19px; }
  .homepage-story .direction-workflow figcaption, .homepage-story .direction-workflow .journey-security-visual > a { grid-column: 1; }
  .homepage-story .journey-outcome-list { margin-top: 32px; }
  .homepage-story .journey-outcome-list > a, .homepage-story .journey-paper .journey-outcome-list > a:first-child { grid-template-columns: minmax(0, 1fr) 24px; grid-template-rows: auto auto; gap: 12px 16px; padding: 24px 12px; }
  .homepage-story .journey-outcome-list > a::before { left: -28px; width: 28px; }
  .homepage-story .journey-outcome-list > a::after { left: -32px; }
  .homepage-story .journey-outcome-list .journey-outcome-icon { display: none; }
  .homepage-story .journey-outcome-list strong { grid-column: 1; grid-row: 1; font-size: 23px; }
  .homepage-story .journey-outcome-list .journey-outcome-summary { grid-column: 1; grid-row: 2; }
  .homepage-story .journey-outcome-list > a > svg { grid-column: 2; grid-row: 1 / 3; }
  .homepage-story .journey-report-sample { padding: 16px; }
  .homepage-story .story-report-guide { margin-top: 24px; padding-top: 20px; }
  .homepage-story .story-report-guide h4 { font-size: 20px; }
  .homepage-story .story-report-guide ul { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 24px; }
  .homepage-story .story-report-guide li p { margin-top: 4px; }
  .homepage-story .journey-report-sample-footer { grid-template-columns: minmax(0, 1fr); }
  .homepage-story .journey-report-sample-footer p { font-size: 14px; }
  .homepage-story .journey-report-try { align-items: flex-start; flex-direction: column; }
  .homepage-story .journey-steps { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 24px; }
  .homepage-story .journey-steps li { display: block; grid-row: auto; padding: 24px 0 0 48px; }
  .homepage-story .journey-steps li::before { top: 22px; font-size: 32px; }
  .homepage-story .journey-steps p { margin-top: 10px; }
  .homepage-story .story-start-action { gap: 16px; }
  .homepage-story .story-start-action .btn { width: 100%; max-width: 360px; }
}
@media (max-width: 380px) {
  .homepage-story .journey-people .btn, .homepage-story .story-start-action .btn { padding-inline: 14px; white-space: normal; text-align: left; }
  .homepage-story .direction-workflow .journey-security-flow li { gap: 12px; }
  .homepage-story .journey-report-copy h2, .homepage-story .journey-outcomes h2, .homepage-story .direction-workflow .journey-security-heading h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage-story *, .homepage-story *::before, .homepage-story *::after { transition: none; animation: none; scroll-behavior: auto; }
  .homepage-story .journey-section a:is(:hover, :focus-visible) > svg { transform: none; }
}
@media (forced-colors: active) {
}
