/* Shared consultancy layouts. Brand tokens and fonts come from styles.css. */
.how-we-work-page, .services-page { scroll-snap-type: none; }
.customer-journey, .bigger-picture, .services, .services-page .section { min-height: 0; display: block; scroll-snap-align: none; }
.customer-journey { padding-bottom: 12px; }
.journey-intro { max-width: 850px; margin-bottom: 52px; }
.journey-intro h1, .services h2, .services-page h1, .services-page h2 { color: var(--blue); }
.journey-intro h1 { font-size: clamp(44px, 5.5vw, 78px); }
.journey-intro > p:not(.eyebrow) { max-width: 730px; }
.journey-index { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-index a { display: flex; align-items: center; gap: 12px; padding: 22px 14px 22px 0; text-decoration: none; font-size: 12px; color: var(--blue); }
.journey-index a > span:first-child { font-size: 17px; font-weight: 600; color: var(--navy); }
.journey-index a > span:last-child { margin-left: auto; }
.journey-index a:hover > span:first-child { color: var(--blue); }
.journey-stages { position: relative; padding-top: 34px; }
.journey-path { position: absolute; width: 100%; height: 100%; inset: 0; pointer-events: none; overflow: visible; }
.journey-path path { fill: none; stroke-width: 1.5; }
.path-track { stroke: var(--blue); opacity: .12; }
.path-progress { stroke: var(--blue); opacity: .65; }
.journey-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(65px, 8vw, 120px); padding-block: 86px; scroll-margin-top: 72px; align-items: start; }
.stage-title { grid-column: 2; grid-row: 1; }
.stage-title .eyebrow { color: var(--blue); display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.stage-number { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border: 1px solid var(--blue); border-radius: 50%; background: var(--paper); font-size: 11px; letter-spacing: 0; }
.stage-title h2 { font-size: clamp(32px, 3.2vw, 45px); line-height: 1.08; color: var(--blue); letter-spacing: -.035em; }
.stage-art { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.stage-art img { width: 100%; height: auto; }
.stage-body { grid-column: 2; grid-row: 2; padding-top: 22px; }
.stage-body > p { font-size: 17px; color: var(--muted); }
.stage-body > p + p { margin-top: 14px; }
.journey-stage:nth-of-type(even) .stage-title { grid-column: 1; }
.journey-stage:nth-of-type(even) .stage-art { grid-column: 2; }
.journey-stage:nth-of-type(even) .stage-body { grid-column: 1; }
.challenge-list { list-style: none; padding: 0; margin: 28px 0 0; }
.challenge-list li { position: relative; padding: 14px 0 14px 20px; border-top: 1px solid var(--line); }
.challenge-list li::before { content: ''; position: absolute; top: 22px; left: 0; width: 6px; height: 6px; border: 1px solid var(--blue); border-radius: 50%; background: var(--pink); }
.challenge-list strong { font-size: 16px; font-weight: 600; }
.challenge-list p { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.bigger-picture { background: var(--blue); padding-block: 90px 64px; }
.resolution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; }
.resolution-grid h2 { font-size: clamp(38px, 4.3vw, 60px); }
.resolution-grid > div:last-of-type p { font-size: 18px; }
.resolution-grid > div:last-of-type p + p { margin-top: 18px; }
.resolution-emphasis { color: var(--lime); font-weight: 600; }
.connected-business { list-style: none; grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 24px 0 0; margin: 0; border-top: 1px solid #ffffff55; gap: 16px; }
.connected-business li { display: flex; align-items: center; gap: 20px; font-size: 16px; }
.connected-business li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--sky); }
.connected-business li:last-child::before { background: var(--lime); border-color: var(--lime); }
.services { padding-block: 110px 90px; }
.service-grid article { display: flex; flex-direction: column; }
.service-top { flex-shrink: 0; }
.service-grid article > p + p { margin-top: 15px; }
.service-grid .service-outcome { border-top: 1px solid var(--line); padding-top: 20px; margin-top: auto; color: var(--navy); }
.service-outcome span { display: block; color: var(--blue); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.service-grid article > p:nth-last-of-type(2) { margin-bottom: 26px; }
.service-grid .text-link { align-self: start; margin-top: 15px; }
.section-bottom .button { flex-shrink: 0; }
.breadcrumb { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 40px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.services-page .services-hero { padding-top: 145px; padding-bottom: 42px; }
.services-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.services-hero h1 { font-size: clamp(45px, 4.8vw, 68px); line-height: 1.04; font-weight: 600; letter-spacing: -.04em; max-width: 720px; }
.services-hero .eyebrow { color: var(--blue); }
.services-intro { margin-top: 28px; margin-bottom: 28px; max-width: 570px; color: var(--muted); font-size: 19px; }
.method-map { padding: 28px 0 24px 22px; }
.method-map > .eyebrow { font-size: 11px; margin-bottom: 28px; }
.method-map ol { list-style: none; margin: 0; padding: 0; position: relative; }
.method-map ol::before { content: ''; position: absolute; top: 35px; bottom: 40px; width: 1px; left: 17px; background: var(--blue); }
.method-map li { position: relative; }
.method-map a { position: relative; display: grid; grid-template-columns: 36px 62px 1fr 15px; align-items: center; gap: 18px; padding: 22px 0; text-decoration: none; }
.method-number { border: 1px solid var(--blue); background: var(--paper); color: var(--blue); height: 36px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; }
.method-map img { width: 62px; height: 62px; opacity: .5; }
.method-map strong { display: block; font-size: 29px; font-weight: 600; letter-spacing: -.02em; }
.method-map a > span:nth-last-child(2) > span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.method-map a:hover strong { color: var(--blue); }
.method-map a > span:last-child { color: var(--blue); }
.method-note { margin: 28px 0 0 54px; font-size: 14px; color: var(--muted); }
.services-fit { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; font-size: 14px; color: var(--muted); max-width: none; }
.method-nav { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px var(--gutter); }
.method-nav .wrap { display: flex; gap: 50px; align-items: center; }
.method-nav .wrap > span { margin-right: auto; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.method-nav a { font-size: 16px; font-weight: 600; text-decoration: none; }
.method-nav a:hover { color: var(--blue); }
.services-page .service-detail { padding-block: 100px; scroll-margin-top: 55px; }
.service-detail:nth-of-type(odd) { background: white; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 100px; }
.service-detail-identity .eyebrow { color: var(--blue); }
.service-detail-identity img { width: 180px; height: 180px; opacity: .5; margin: 35px 0; }
.method-caption { color: var(--muted); font-size: 16px; }
.service-detail-copy h2 { font-size: clamp(38px, 4.3vw, 58px); max-width: 640px; margin-bottom: 28px; }
.service-detail-copy > p { margin-bottom: 18px; color: var(--muted); }
.detail-outcome { padding: 25px 30px; margin-top: 32px; border-left: 2px solid var(--blue); background: var(--sky); }
.detail-outcome .eyebrow { color: var(--blue); margin-bottom: 10px; font-size: 11px; }
.detail-outcome > p:last-child { font-size: 21px; line-height: 1.4; }
.service-detail-copy > .text-link { margin-top: 24px; }
.services-page .where-we-help { background: var(--sky); padding-block: 90px; }
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.help-grid > a { display: flex; flex-direction: column; border-top: 1px solid var(--blue); padding-top: 22px; text-decoration: none; }
.help-grid .eyebrow { display: block; color: var(--blue); margin-bottom: 22px; font-size: 11px; }
.help-grid strong { font-size: 24px; font-weight: 600; line-height: 1.2; margin-bottom: 22px; }
.help-grid .text-link { font-size: 14px; margin-top: auto; }
.help-grid > a:hover .text-link { text-decoration: underline; }
.services-page .services-faq { padding-block: 100px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; }
.faq-grid h2 { font-size: clamp(38px, 4vw, 54px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: start; gap: 24px; padding: 23px 0; font-weight: 600; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { margin-left: auto; flex-shrink: 0; color: var(--blue); font-weight: 400; font-size: 24px; line-height: 1; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details > p { padding-bottom: 25px; font-size: 17px; color: var(--muted); }
.services-page .services-contact { padding-block: 85px; }
.services-contact h2 { color: white; }
.services-contact > .wrap > p:not(.eyebrow) { max-width: 570px; margin-top: 24px; color: var(--sky); }
.contact-actions { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.service-footer { max-width: none; padding: 0 var(--gutter) 30px; }
.service-footer footer { max-width: var(--wrap); margin: 0 auto; padding-top: 28px; border-top: 0; }
/* With scripting unavailable the mobile navigation stays visible in normal flow. */
@media (max-width: 760px) {
  html:not(.js) .site-header { position: relative; top: auto; left: auto; transform: none; margin: 12px auto; }
  .customer-journey { padding-bottom: 0; }
  .journey-intro { margin-bottom: 35px; }
  .journey-index { grid-template-columns: 1fr 1fr; }
  .journey-index a { padding-block: 16px; gap: 8px; }
  .journey-index a > span:first-child { font-size: 15px; }
  .journey-index a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .journey-index a:nth-child(even) { padding-left: 14px; }
  .journey-stages { padding-top: 0; }
  .journey-stage { display: flex; flex-direction: column; padding: 54px 0 44px 25px; scroll-margin-top: 88px; }
  .stage-title .eyebrow { margin-bottom: 18px; }
  .stage-number { flex-basis: 28px; height: 28px; }
  .stage-title h2 { font-size: 34px; }
  .stage-art { width: 100%; max-width: 430px; align-self: center; margin-top: 24px; }
  .stage-body { padding-top: 18px; }
  .stage-body > p { font-size: 16px; }
  .challenge-list { margin-top: 24px; }
  .resolution-grid { grid-template-columns: 1fr; gap: 30px; }
  .bigger-picture { padding-block: 64px 50px; }
  .connected-business { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .connected-business li { font-size: 14px; gap: 10px; }
  .services { padding-block: 75px 65px; }
  .section-bottom .button { flex-shrink: 1; }
  .services-page .services-hero { padding-top: 112px; padding-bottom: 28px; }
  .breadcrumb { margin-bottom: 32px; }
  .services-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .services-hero h1 { font-size: clamp(40px, 8.5vw, 60px); }
  .services-intro { font-size: 18px; }
  .method-map { padding: 24px 0 0; max-width: 450px; width: 100%; }
  .method-map a { gap: 14px; grid-template-columns: 36px 50px 1fr 12px; }
  .method-map img { width: 50px; height: 50px; }
  .method-map strong { font-size: 27px; }
  .method-map > .eyebrow { margin-bottom: 10px; }
  .method-note { margin-top: 18px; }
  .services-fit { margin-top: 35px; }
  .method-nav { padding: 18px 24px; }
  .method-nav .wrap { gap: 14px; flex-wrap: wrap; justify-content: space-between; }
  .method-nav .wrap > span { flex-basis: 100%; }
  .method-nav a { font-size: 14px; padding-block: 5px; }
  .services-page .service-detail { padding-block: 64px; scroll-margin-top: 66px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 25px; }
  .service-detail-identity { display: grid; grid-template-columns: 1fr 90px; gap: 0 20px; align-items: center; }
  .service-detail-identity .eyebrow { margin: 0; }
  .service-detail-identity img { grid-column: 2; grid-row: 1 / 3; width: 90px; height: 90px; margin: 0; }
  .method-caption { grid-column: 1; font-size: 14px; }
  .service-detail-copy h2 { font-size: 39px; }
  .detail-outcome { padding: 22px; }
  .detail-outcome > p:last-child { font-size: 20px; }
  .services-page .where-we-help { padding-block: 65px; }
  .help-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .help-grid strong { font-size: 23px; }
  .help-grid .text-link { align-items: start; gap: 8px; }
  .help-grid .eyebrow { letter-spacing: .04em; }
  .services-page .services-faq { padding-block: 64px; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid h2 br { display: none; }
  .services-page .services-contact { padding-block: 65px; }
  .contact-actions { gap: 20px; }
  .contact-actions .text-link { font-size: 14px; gap: 12px; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .services-hero-grid { grid-template-columns: 1.2fr 1fr; gap: 30px; }
  .method-map { padding-left: 0; }
  .method-map a { grid-template-columns: 32px 45px 1fr 12px; gap: 10px; }
  .method-number { height: 32px; }
  .method-map ol::before { left: 15px; }
  .method-map img { width: 45px; height: 45px; }
  .method-map strong { font-size: 25px; }
  .service-detail-grid, .faq-grid { gap: 45px; }
  .help-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 370px) {
  .stage-title h2 { font-size: 30px; }
  .method-map a { gap: 10px; grid-template-columns: 32px 38px 1fr 10px; }
  .method-map img { width: 38px; height: 38px; }
  .method-number { height: 32px; }
  .method-map ol::before { left: 15px; }
  .method-map a > span:nth-last-child(2) > span { font-size: 12px; }
  .method-map strong { font-size: 24px; }
  .help-grid { grid-template-columns: 1fr; }
  .service-detail-copy h2 { font-size: 35px; }
}
@media (prefers-reduced-motion: no-preference) {
  .journey-stage.is-entering .stage-art { animation: stage-in .5s ease-out both; }
  .journey-stage.is-entering .stage-body { animation: stage-in .4s ease-out both; }
  .journey-stage.is-entering .challenge-list li { animation: stage-in .4s ease-out both; }
  .journey-stage.is-entering .challenge-list li:nth-child(2) { animation-delay: .06s; }
  .journey-stage.is-entering .challenge-list li:nth-child(3) { animation-delay: .12s; }
  @keyframes stage-in { from { opacity: .55; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
}
@media print {
  .journey-path, .method-nav { display: none; }
  .journey-stage, .service-detail-grid, .services-hero-grid, .faq-grid { display: block; }
  .stage-art { max-width: 280px; }
  .services-page .section, .journey-stage { padding: 24px 0; break-inside: auto; }
  .services-contact h2, .services-contact > .wrap > p:not(.eyebrow) { color: black; }
}

/* The connected journey now has its own page; homepage v3 uses styles.css only. */
.how-we-work-page .customer-journey { padding-top: 145px; }
.how-we-work-page .journey-intro h1 { line-height: 1.04; font-weight: 600; letter-spacing: -.035em; }
.journey-next { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 8px; }
.journey-next p { font-size: 16px; }
@media (max-width: 760px) {
  .how-we-work-page .customer-journey { padding-top: 112px; }
  .how-we-work-page .journey-intro h1 { font-size: clamp(42px, 9vw, 60px); }
  .journey-next { align-items: start; flex-direction: column; }
}

/* Revenue-engine explanation: assessment scope and practical improvements. */
.stage-scope-heading { color: var(--navy); font-size: 18px; margin: 28px 0 14px; }
.stage-scope-heading + .challenge-list { margin-top: 0; }
.stage-improvement { border-left: 3px solid var(--blue); background: var(--sky); margin-top: 22px; padding: 20px 24px; }
.stage-improvement h3 { font-size: 18px; margin-bottom: 9px; }
.stage-improvement p { color: var(--navy); font-size: 16px; line-height: 1.5; }
.how-we-work-page .journey-next p { max-width: 560px; }
/* The one pointer from Services to Flux, kept quiet. */
.flux-nudge { margin-top: 28px; font-size: 16px; color: #d2d8e9; }
.flux-nudge a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: white; font-weight: 600; }
