/* One customer need per scene, with three deliberately different visual treatments. */
/* The measured scroll track must not move the browser's chosen scroll anchor. */
body.page-journey:has(.showcase-narrative) { overflow-anchor: none; }
body.page-journey .home-showcase.showcase-narrative {
  --story-bg: #082e2c; --story-ink: #fff; --story-muted: #c3dcd6;
  --story-accent: #57eea7; padding: 0; background: var(--story-bg); color: var(--story-ink);
}
body.page-journey .showcase-narrative[data-service="content"] {
  --story-bg: #fff6f8; --story-ink: #26202b; --story-muted: #695b69; --story-accent: #bc235f;
}
body.page-journey .showcase-narrative[data-service="experience"] {
  --story-bg: #143e63; --story-ink: #fff; --story-muted: #d7e7f8; --story-accent: #ffe094;
}
body.page-journey .showcase-narrative::before, body.page-journey .showcase-narrative::after { display: none; }
.story-stage { position: relative; isolation: isolate; padding: 18px 0; background: var(--story-bg); transition: background-color 180ms; }
.story-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .32;
  background: url('/assets/brand/neon-flora-corner-left.webp') left bottom / 280px auto no-repeat,
    url('/assets/brand/neon-flora-corner-right.webp') right top / 280px auto no-repeat;
}
[data-service="content"] .story-stage::before { opacity: .16; }
.showcase-narrative.is-scroll-story { height: calc(var(--showcase-intro-height) + var(--showcase-stage-height) + var(--showcase-travel)); }
.is-scroll-story .story-stage { position: sticky; top: var(--showcase-top); min-height: var(--showcase-stage-height); display: flex; align-items: center; }
body.page-journey .story-wrap { width: min(1040px, calc(100% - 40px)); display: flex; flex-direction: column; gap: 26px; }
.story-welcome { position: relative; text-align: center; padding: 22px 20px 24px; background: #f5f6fa; color: #17272e; }
body.page-journey .showcase-narrative h1 { width: auto; max-width: 800px; margin: 0 auto; font: 400 48px/1.08 Georgia,serif; text-align: center; color: #17272e; }
body.page-journey .story-welcome .story-slogan { color: #4d5c63; font: 400 13px/1.4 Inter,Arial,sans-serif; margin: 4px 0 0; }
body.page-journey .story-welcome .story-pillars-heading { display: flex; align-items: center; gap: 12px; max-width: 440px; margin: 18px auto 0; color: #5b666d; font: 500 12px/1.4 Inter,Arial,sans-serif; }
.story-pillars-heading::before, .story-pillars-heading::after { content: ""; height: 1px; background: #d6dce1; flex: 1; }
.story-pillars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; width: min(520px,100%); margin: 14px auto 0; padding: 0; list-style: none; }
.story-pillars li { min-width: 0; display: flex; align-items: center; flex-direction: column; gap: 8px; }
.story-pillars i { font-size: 24px; height: 26px; color: var(--pillar-color); }
.is-intro-active .story-pillars i { animation: pillar-arrive 520ms ease-out both; }
.story-pillars li:nth-child(2) i { animation-delay: 90ms; }
.story-pillars li:nth-child(3) i { animation-delay: 180ms; }
body.page-journey .story-pillars span { color: #273942; font: 600 13px/1.35 Inter,Arial,sans-serif; max-width: 150px; }
.pillar-automation { --pillar-color: #087456; }
.pillar-content { --pillar-color: #bc235f; }
.pillar-experience { --pillar-color: #22608f; }
.story-scroll-cue { display: grid; place-items: center; width: 24px; height: 24px; margin: 12px auto 0; color: #b51f44; font-size: 15px; }
.is-intro-active .story-scroll-cue > i { animation: intro-scroll-cue 1.6s ease-in-out 3; }
@keyframes intro-scroll-cue { 0%,100% { transform: translateY(-2px); opacity: .6; } 60% { transform: translateY(5px); opacity: 1; } }
@keyframes pillar-arrive { from { transform: translateY(7px) scale(.92); opacity: .3; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes intro-dragon-glide { 0%,100% { transform: translate(0,0); } 35% { transform: translate(7px,-3px); } 70% { transform: translate(-7px,3px); } }
@keyframes intro-dragon-a { 0%,100% { opacity: 1; } 25% { opacity: 0; } }
@keyframes intro-dragon-b { 0%,50%,100% { opacity: 0; } 25% { opacity: 1; } }
@keyframes intro-dragon-c { 0%,75%,100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes intro-dragon-d { 0%,100% { opacity: 0; } 75% { opacity: 1; } }
.story-scenes { width: min(760px,100%); margin: 0 auto; }
.story-scene { display: grid; grid-template-rows: 170px 340px; gap: 18px; min-width: 0; }
body.page-journey .story-scene { background: none; border: 0; box-shadow: none; backdrop-filter: none; color: var(--story-ink); }
.is-scroll-story .story-scene:not([hidden]) { animation: story-scene-arrive 320ms ease-out both; }
.showcase-narrative[data-scroll-direction="up"] { --story-enter-y: -14px; }
@keyframes story-scene-arrive { from { opacity: .35; transform: translateY(var(--story-enter-y,14px)); } to { opacity: 1; transform: translateY(0); } }
.story-progress { display: none; }
.is-scroll-story .story-progress { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; position: absolute; left: 20px; right: 20px; bottom: 5px; height: 3px; }
.story-progress > span { background: color-mix(in srgb,var(--story-ink) 18%,transparent); overflow: hidden; }
.story-progress > span::after { content: ""; display: block; width: 100%; height: 100%; background: var(--story-accent); transform-origin: left; transform: scaleX(var(--pillar-progress,0)); }
.story-copy { text-align: center; display: flex; flex-direction: column; justify-content: center; }
body.page-journey .showcase-narrative .story-copy h2 { margin: 0; color: var(--story-ink); font: 400 48px/1.06 Georgia,serif; }
body.page-journey .showcase-narrative .story-copy h2 > span { display: block; margin: 5px 0 0; font: inherit; font-size: 36px; color: var(--story-accent); }
body.page-journey .showcase-narrative .story-content .story-copy h2 > span { font: 500 19px/1.35 Inter,Arial,sans-serif; }
.story-copy p { color: var(--story-muted); max-width: 510px; margin: 10px auto 0; font: 400 14px/1.45 Inter,Arial,sans-serif; text-wrap: pretty; }
.story-visual { min-width: 0; width: 100%; height: 100%; position: relative; }
.showcase-narrative figure { margin: 0; }
.story-inbox { display: flex; flex-direction: column; gap: 12px; max-width: 590px; margin-inline: auto; }
.story-channels { display: flex; align-items: center; gap: 16px; height: 34px; flex-shrink: 0; }
.story-channels > i { font-size: 25px; color: #57eea7; }
.story-channels > .fa-instagram { color: #ff77b0; }
.story-channels > .fa-facebook-messenger { color: #83b5ff; }
.story-channels span { margin-left: auto; color: #c3dcd6; font-size: 12px; }
.story-incoming { display: flex; gap: 10px; align-items: flex-start; width: 83%; }
.story-incoming img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; }
.story-incoming p { flex: 1; padding: 12px 14px; border-radius: 0 8px 8px; background: #fff; color: #1b3934; font: 400 16px/1.4 Inter,Arial,sans-serif; }
.story-incoming small { display: block; text-align: right; font-size: 10px; color: #60736c; }
.story-answer { align-self: flex-end; width: 82%; position: relative; min-height: 74px; }
.story-answer p { position: absolute; inset: 0; margin: 0; padding: 12px 16px; border-radius: 8px 0 8px 8px; font: 500 16px/1.4 Inter,Arial,sans-serif; }
.story-typing { display: flex; align-items: center; gap: 12px; background: #174941; color: #d4ece4; }
.story-typing i { font-size: 28px; }
.story-typing span { font-size: 12px; }
.story-reply { background: #cef7d4; color: #153d29; }
.story-reply i { color: #007ca0; margin-left: 8px; font-size: 13px; }
.story-crm-trail { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: auto; padding-top: 14px; border-top: 1px solid #a0d4c744; }
.story-crm-trail > div { display: flex; align-items: center; gap: 10px; font: 600 14px/1.3 Inter,Arial,sans-serif; color: #f5fff9; }
.story-crm-trail i { font-size: 24px; color: #57eea7; }
.story-crm-trail small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: #c3dcd6; }

.story-production { overflow: hidden; border-radius: 8px; background: #dde3db; }
body.page-journey .story-production { max-width: 600px; margin-inline: auto; }
.story-production > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; transform: scale(calc(1.055 - var(--story-progress, 1) * .055)); }
.story-shoot-label { position: absolute; left: 14px; top: 14px; padding: 8px 10px; background: #fff; color: #332631; font: 600 12px/1.3 Inter,Arial,sans-serif; border-radius: 4px; }
.story-shoot-label i { margin-right: 7px; color: #bc235f; }
.story-post-brand { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: #fff; color: #25202b; font: 700 14px/1.3 Inter,Arial,sans-serif; }
.story-post-brand i { font-size: 20px; color: #bc235f; }
.story-post-title { position: absolute; left: 20px; bottom: 62px; padding: 8px 12px; background: #092926e0; color: #fff; font: 400 26px/1.08 Georgia,serif; }
.story-post-title strong { font: inherit; font-size: 38px; }
.story-publish { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 12px; padding: 10px 18px; background: #fff; color: #29232b; font: 600 12px/1.4 Inter,Arial,sans-serif; }
.story-publish > span:last-child { display: flex; align-items: center; gap: 16px; font-size: 20px; }
.story-publish .fa-instagram { color: #bc235f; }
.story-publish .fa-facebook { color: #1877f2; }

.story-customer { padding-bottom: 80px; max-width: 640px; margin-inline: auto; }
.story-customer > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; border-radius: 8px; }
.story-return-note { position: absolute; right: 14px; bottom: 94px; display: flex; gap: 10px; align-items: center; background: #fff; color: #502234; border-radius: 5px; padding: 10px 14px; font: 400 12px/1.4 Inter,Arial,sans-serif; }
.story-return-note i { font-size: 23px; color: #bf2555; }
.story-touchpoints { position: absolute; inset: auto 0 0; height: 70px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.story-touchpoints li { position: relative; text-align: center; padding-top: 9px; border-top: 2px solid #ffffff55; color: #d7e7f8; transition: border-color 120ms, color 120ms; }
.story-touchpoints li.is-reached { border-color: #ffe094; color: #ffe094; }
.story-touchpoints i { display: block; font-size: 20px; margin-bottom: 5px; }
.story-touchpoints strong { display: block; font: 600 12px/1.4 Inter,Arial,sans-serif; }
.story-touchpoints small { display: block; font: 400 10px/1.4 Inter,Arial,sans-serif; color: #d7e7f8; }

.story-footer { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.story-cta { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 20px; border: 1px solid #f5458e; border-radius: 5px; background: #d21661; color: #fff; font: 700 14px/1.4 Inter,Arial,sans-serif; }
.story-cta:hover { background: #ae174f; }
.story-cta i { font-size: 19px; }
.story-footer > span { color: var(--story-muted); font-size: 10px; line-height: 1.4; }

/* Keep the site's generic article palette out of these illustrated scenes. */
body.page-journey .story-copy p { color: var(--story-muted); }
body.page-journey .story-incoming p { color: #1b3934; }
body.page-journey .story-answer .story-reply { color: #153d29; }
body.page-journey .story-answer .story-typing,
body.page-journey .story-typing span { color: #d4ece4; }
body.page-journey .story-crm-trail span { color: #f5fff9; }
body.page-journey .story-channels span { color: #c3dcd6; }
body.page-journey .story-post-brand span { color: #25202b; }
body.page-journey .story-post-title { color: #fff; }
body.page-journey .story-publish span { color: #29232b; }
body.page-journey .story-return-note span { color: #502234; }
body.page-journey .story-return-note strong { color: inherit; }
body.page-journey .story-touchpoints li { color: #d7e7f8; }
body.page-journey .story-touchpoints li.is-reached { color: #ffe094; }

.showcase-narrative [data-story-until] { display: none; }
.is-scroll-story [data-story-until] { display: flex; }
.is-scroll-story [data-story-reveal] { transition: opacity 120ms, transform 120ms; }
.is-scroll-story [data-story-reveal]:not(.is-reached) { opacity: 0; visibility: hidden; transform: translateY(12px); }
.is-scroll-story [data-story-until].is-past { opacity: 0; visibility: hidden; }
.showcase-narrative:not(.is-scroll-story) .story-scenes { display: grid; gap: 50px; }
.is-flow-story .story-scene { scroll-margin-top: calc(var(--showcase-top) + 18px); }
.is-flow-story .story-production, .is-flow-story .story-experience { --story-progress: 1; }
body.page-journey .showcase-narrative.is-flow-story { --story-bg: #082e2c; --story-ink: #fff; --story-muted: #c3dcd6; }

@media (max-width: 760px) {
  .story-stage { padding: 16px 0; }
  .story-stage::before { background-size: 160px auto, 170px auto; background-position: left -70px bottom, right -90px top 170px; opacity: .22; }
  body.page-journey .story-wrap { width: calc(100% - 32px); gap: 24px; }
  .story-welcome { padding: 20px 16px 10px; }
  body.page-journey .showcase-narrative h1 { font-size: 42px; }
  .story-pillars { gap: 12px; }
  .story-pillars li { gap: 6px; }
  body.page-journey .story-pillars span { font-size: 12px; }
  .story-scene { grid-template-rows: 170px 320px; gap: 14px; }
  body.page-journey .showcase-narrative .story-copy h2 { font-size: 32px; line-height: 1.04; }
  body.page-journey .showcase-narrative .story-copy h2 > span { font-size: 28px; }
  body.page-journey .showcase-narrative .story-content .story-copy h2 > span { font-size: 17px; }
  .story-copy p { max-width: 320px; font-size: 13px; line-height: 1.45; margin-top: 10px; }
  .story-inbox { gap: 10px; }
  .story-channels { gap: 14px; }
  .story-channels > i { font-size: 24px; }
  .story-channels span { font-size: 11px; }
  .story-incoming { width: 92%; gap: 8px; }
  .story-incoming p { font-size: 14px; padding: 10px 12px; }
  .story-answer { width: 88%; min-height: 76px; }
  .story-answer p { font-size: 14px; padding: 11px 14px; }
  .story-crm-trail { gap: 10px; padding-top: 12px; }
  .story-crm-trail > div { font-size: 12px; gap: 7px; }
  .story-crm-trail small { font-size: 10px; line-height: 1.4; }
  .story-crm-trail i { font-size: 20px; }
  .story-production > img { object-position: 82% center; }
  .story-post-title { left: 12px; bottom: 55px; font-size: 23px; }
  .story-post-title strong { font-size: 32px; }
  .story-publish { padding-inline: 12px; }
  .story-publish > span:last-child { gap: 12px; }
  .story-customer { padding-bottom: 82px; }
  .story-customer > img { object-position: center; }
  .story-return-note { right: 10px; bottom: 93px; padding: 8px 10px; font-size: 11px; }
  .story-touchpoints { gap: 8px; height: 72px; }
  .story-touchpoints strong { font-size: 11px; }
  .story-touchpoints small { font-size: 9px; }
}
@media (max-height: 800px) {
  .story-stage { padding: 12px 0; }
  .story-scene { grid-template-rows: 170px 310px; }
  body.page-journey .showcase-narrative .story-copy h2 { font-size: 40px; }
}
@media (max-width: 760px) and (max-height: 800px) {
  body.page-journey .story-wrap { gap: 22px; }
  body.page-journey .showcase-narrative .story-copy h2 { font-size: 32px; }
  .story-scene { grid-template-rows: 170px 280px; gap: 12px; }
  .story-copy p { margin-top: 8px; }
  .story-inbox { gap: 8px; }
  .story-channels { height: 28px; }
  .story-incoming p { padding-block: 8px; }
  .story-answer { min-height: 62px; }
  .story-answer p { padding-block: 9px; }
  .story-crm-trail { padding-top: 8px; }
  .story-crm-trail small { display: none; }
  .story-footer > span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-narrative *, .showcase-narrative *::before, .showcase-narrative *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .story-stage { padding-block: 8px; }
  body.page-journey .story-wrap { gap: 20px; }
  .story-welcome { padding-top: 20px; }
  .story-scene { grid-template-rows: 170px 252px; gap: 10px; }
  .story-inbox { gap: 7px; }
  .story-answer { min-height: 60px; }
}

/* Preserve each service's color when the viewport needs a normal reading flow. */
body.page-journey .is-flow-story .story-wrap { width: 100%; gap: 24px; }
.is-flow-story .story-stage { padding: 0 0 24px; }
body.page-journey .is-flow-story .story-scenes { width: 100%; gap: 0; }
body.page-journey .is-flow-story .story-scene {
  padding: 32px max(16px, calc((100% - 760px) / 2)) 40px;
  background: var(--story-bg);
}
.is-flow-story .story-automation { --story-bg: #082e2c; --story-ink: #fff; --story-muted: #c3dcd6; --story-accent: #57eea7; }
.is-flow-story .story-content { --story-bg: #fff6f8; --story-ink: #26202b; --story-muted: #695b69; --story-accent: #bc235f; }
.is-flow-story .story-experience { --story-bg: #143e63; --story-ink: #fff; --story-muted: #d7e7f8; --story-accent: #ffe094; }
