/* The scene opens at the desk and resolves into the actual deliverable. */
#journey .section-intro { align-items: end; }
#journey .section-intro h2 { letter-spacing: -.066em; }
#journey .story { --scene-paper: #f1f5fc; overflow: hidden; border-color: #34445b; background: #0c121b; box-shadow: 0 35px 100px rgb(0 0 0 / .23); }
#journey .story-toolbar { background: #101720; padding: 15px 22px; border-color: #2a3443; }
#journey .scenario-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid #2d394b; border-radius: 7px; background: #090f18; }
#journey .scenario-switch button { padding: 8px 13px; border: 0; font-size: 12px; line-height: 1.4; }
#journey .scenario-switch button[aria-pressed=true] { background: #26364c; color: #eaf2ff; box-shadow: 0 1px 4px rgb(0 0 0 / .25); }
#journey #play-story { justify-content: center; gap: 12px; padding: 10px 15px; font-size: 12px; background: #c4dcff; border-color: #c4dcff; color: #10233b; }
#journey #play-story:hover { background: #deecff; }
#journey #play-story svg { width: 14px; height: 14px; }
#journey .scene { overflow: hidden; min-height: 450px; grid-template-columns: 1.1fr 1fr; background: radial-gradient(ellipse at 24% 70%, #293e5e60, transparent 67%), #0d141e; padding: 58px 34px 60px 15px; }
#journey .scene::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#667c9910 1px, transparent 1px), linear-gradient(90deg,#667c9910 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(110deg,#000,transparent 80%); pointer-events: none; }
#journey .scene-heading { font-size: 11px; color: #c3ccdb; }
#journey .scene-heading button { min-height: 28px; padding: 4px 8px; color: #b3c0d3; }
#journey .motion-desk { position: relative; width: 100%; min-width: 0; display: grid; place-items: center; }
#journey .office-art { grid-area: 1 / 1; width: 112%; margin: 0; transform-origin: 50% 63%; transition: opacity .5s, transform .8s cubic-bezier(.2,.75,.23,1), filter .6s; }
#journey .office-art > svg { overflow: visible; filter: drop-shadow(0 14px 21px rgb(0 0 0 / .3)); }
#journey .desk-glow { opacity: .7; }
#journey .story:not([data-phase=before]) .office-art { opacity: .14; transform: translate(-8%,5%) scale(.85); filter: blur(1.3px); }
#journey .record-stack { grid-area: 1 / 1; width: min(83%,330px); position: relative; opacity: 0; transform: translate(5%,30px) rotate(5deg) scale(.9); transform-origin: 45% 75%; transition: opacity .38s ease, transform .72s cubic-bezier(.18,.78,.18,1); pointer-events: none; }
#journey .record-stack::before, #journey .record-stack::after { content:''; position:absolute; inset: 2px 5px 4px; background: #6a85ac; border: 1px solid #839bbd; border-radius: 5px; transform: translate(0,6px) rotate(-3deg); box-shadow: 0 18px 26px #0005; }
#journey .record-stack::after { inset: 2px 2px 4px; background: #a9bdda; border-color: #bfcce0; transform: translate(0,3px) rotate(1.7deg); }
#journey .story:not([data-phase=before]) .record-stack { opacity: 1; transform: translate(0,0) rotate(-1deg) scale(1); }
#journey .story[data-phase=after] .record-stack { transform: rotate(0) scale(1.02); }
#journey .record-paper { position: relative; z-index: 1; background: var(--scene-paper); border-radius: 5px; padding: 21px 21px 16px; color: #172841; box-shadow: 0 13px 26px #0003; }
#journey .record-head { border-bottom: 1px solid #becbde; display:flex; justify-content:space-between; align-items:center; padding-bottom: 12px; color:#425778; font-size: 10px; font-weight: 730; }
#journey .record-head svg { width: 18px; height:18px; }
#journey .record-title { font-size: clamp(22px,2.8vw,33px); line-height: 1.1; font-weight: 800; letter-spacing: -.055em; margin: 17px 0; }
#journey .record-fields { margin: 0; }
#journey .record-fields > div { display:grid; grid-template-columns: 28% 1fr; gap: 12px; align-items:baseline; border-top:1px solid #d8e1ee; padding: 7px 0; }
#journey .record-fields dt { font-size: 10px; color:#526586; }
#journey .record-fields dd { font-size: 11px; line-height: 1.5; font-weight: 750; margin:0; }
#journey .record-fields dd[data-pending=true] { color:#697a93; font-weight:500; }
#journey .record-fields dd[data-pending=false] { animation: enter-field .28s ease-out both; }
#journey .record-bottom { margin-top: 10px; padding-top: 12px; border-top:1px solid #becbde; display:flex; justify-content:space-between; align-items:center; }
#journey .record-stamp { font:700 9px/1.5 Manrope,Arial,sans-serif; color: #29509a; border:1px solid #9fb6dd; border-radius:3px; padding:2px 6px; }
#journey .record-count { font-size:9px; color:#617696; font-variant-numeric:tabular-nums; }
#journey .work-panel { width: 100%; justify-self: center; max-width: 440px; background: linear-gradient(125deg,#1b293c,#141e2c 65%); border-color:#435471; border-radius: 8px; box-shadow: 0 18px 36px rgb(0 0 0 / .25); min-width: 0; }
#journey .panel-top { padding:12px 16px; color:#c2cfe1; }
#journey .caller { padding:16px; }
#journey .caller-mark { color:#bfd9ff; border-color:#45607f; background:#20334e; }
#journey .message-area { border:1px solid #293a51; background: #0b131f; margin:0 16px 15px; padding:14px; min-height:110px; }
#journey .message-label { color:#a2b7d5; font-weight:700; }
#journey #message-text { margin-bottom: 12px; font-size: clamp(13px,1.2vw,16px); line-height:1.6; min-height: 48px; }
#journey .story[data-phase=during] .work-panel { transform:none; }
#journey .signal-strip { padding-top:8px; border-top: 1px solid #213149; }
#journey .signal-labels { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:9px; color:#9daec5; }
#journey .signal-party { display:flex; align-items:center; gap:5px; }
#journey .signal-party::before { content:''; width:5px; height:5px; background:#4d5d73; border-radius:50%; }
#journey .story[data-talker=caller] [data-party=caller], #journey .story[data-talker=qtm] [data-party=qtm] { color:#ddedff; }
#journey .story[data-talker=caller] [data-party=caller]::before { background:#9fe4df; box-shadow:0 0 8px #83cbc777; }
#journey .story[data-talker=qtm] [data-party=qtm]::before { background:#a4c6ff; box-shadow:0 0 8px #689afe88; }
#journey #motion-time { font-variant-numeric:tabular-nums; font-size:8px; color:#8c9fb9; }
#journey #speech-signal { display:block; width:100%; height:32px; margin-top:5px; }
#journey .story[data-scenario=emails] .signal-strip, #journey .story[data-phase=after] .signal-strip { display:none; }
#journey .task-row { color:#c2d0e5; }
#journey .scene-caption { font-size: 11px; }
#journey .scene-caption #scene-number { display:none; }
#journey .story-footer { padding:15px 22px; flex-wrap:wrap; background:#0e1622; }
#journey .phase-switch { min-width:0; flex-wrap:wrap; gap:7px 18px; }
#journey .phase-switch button { min-height:32px; font-size:11px; }
#journey .motion-outcome-link:not([hidden]) { display:inline-flex; align-items:center; gap:7px; color:#b8d6ff; font-size:11px; font-weight:700; border-bottom:1px solid #536d91; }
#journey .motion-outcome-link svg { width:15px; height:15px; }
#journey #call-audio-panel { background:#0d141e; border-color:#263345; padding:15px 22px; }
#journey .audio-intro { margin-bottom:8px; }
#journey .audio-intro > div { display:none; }
#journey .audio-duration { font-size:10px; }
#journey .call-transcript { margin-top:10px; padding-top:8px; }
#journey .call-disclosure { color:#9eacc0; }
@keyframes enter-field { from { opacity:.2; transform:translateY(3px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:760px) {
  #journey .story-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:13px; }
  #journey .scenario-switch { justify-content:flex-start; }
  #journey .scenario-switch button { padding:8px 9px; font-size:11px; }
  #journey #play-story { min-height:38px; padding:8px 12px; font-size:11px; }
  #journey .scene { display:flex; min-height:0; padding:48px 16px 60px; }
  #journey .motion-desk { width:min(100%,450px); min-height:200px; margin:0 auto 8px; }
  #journey .office-art { width: min(100%,365px); margin:-25px 0 -20px; }
  #journey .record-stack { width:min(82%,280px); }
  #journey .record-paper { padding:12px 16px; }
  #journey .record-head { padding-bottom:6px; }
  #journey .record-title { font-size:22px; margin:8px 0; }
  #journey .record-fields > div { padding:4px 0; }
  #journey .record-fields dt, #journey .record-fields dd { font-size:10px; }
  #journey .record-bottom { padding-top:6px; margin-top:4px; }
  #journey .story-footer { padding:12px 16px; flex-direction:row; gap:8px; }
  #journey .phase-switch { width:auto; gap:15px; }
  #journey .phase-switch button { font-size:10px; }
  #journey #call-audio-panel { padding:13px 16px; }
  #journey .scene-heading { top:10px; }
  #journey #message-text { font-size:14px; min-height:44px; }
}
@media(max-width:490px) {
  #journey .story-toolbar { display:grid; grid-template-columns:1fr; }
  #journey .scenario-switch { display:grid; grid-template-columns:1fr 1fr; }
  #journey .scenario-switch button { justify-content:center; }
  #journey #play-story { width:100%; }
}
@media(prefers-reduced-motion:reduce) { #journey .record-stack, #journey .office-art, #journey .record-fields dd { animation:none; transition:none; } }
.motion-paused #journey .record-stack, .motion-paused #journey .office-art, .motion-paused #journey .record-fields dd { animation:none; transition:none; }
#journey .phone-arm { transform-origin:239px 259px; transform:rotate(12deg); transition:opacity .4s, transform .75s cubic-bezier(.22,.75,.26,1); }
#journey .story.phone-picked .phone-arm { transform:rotate(-26deg); }
#journey .desk-phone, #journey .typing-arm { transition:opacity .32s ease-out; }
@media(prefers-reduced-motion:reduce) { #journey .desk-phone, #journey .typing-arm, #journey .phone-arm { transition:none; } }
.motion-paused #journey .desk-phone, .motion-paused #journey .typing-arm, .motion-paused #journey .phone-arm { transition:none; }
