/* Objects explain the workflow. No character overlay or travelling mascot. */
.object-demo{transform:none;background:var(--paper)}
.object-canvas{height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;padding:28px 24px 20px;color:var(--ink);background:#f0eddf;transition:background .7s}
.object-canvas[data-scene="1"]{background:#e8edfd}.object-canvas[data-scene="2"]{background:#f8d9ce}.object-canvas[data-scene="3"]{background:#dfe8e1}
.object-card{position:relative;width:100%;max-width:370px;height:240px;border:2px solid var(--ink);border-radius:30px 30px 30px 5px;background:var(--paper);box-shadow:6px 7px 0 #182a7820;transition:border-radius .65s,background .65s,transform .65s}
[data-scene="1"] .object-card{border-radius:7px;transform:rotate(-2deg)}
[data-scene="2"] .object-card{border-radius:28px;background:#182a3a;color:#fff}
[data-scene="3"] .object-card{border-radius:14px;transform:rotate(1deg)}
.object-face{height:100%;padding:20px 24px;display:flex;flex-direction:column;justify-content:space-between;gap:12px}
.object-face.is-active{animation:object-arrive .6s cubic-bezier(.16,1,.3,1) both}
.object-eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em}
.thought-quote{font-size:clamp(24px,2.8vw,38px);line-height:1.15;font-weight:700;letter-spacing:-.035em}
.object-detail{font-size:12px;line-height:1.5;opacity:.8}
.script-line{font-size:20px;font-weight:600;line-height:1.3}.script-line:nth-child(3){font-size:17px;font-weight:400}
.ink-lines{display:flex;flex-direction:column;gap:5px}.ink-lines i{width:90%;height:3px;background:#182a3a23;transform-origin:left;animation:write-line 1.4s both}.ink-lines i:nth-child(2){width:75%;animation-delay:.3s}.ink-lines i:nth-child(3){width:50%;animation-delay:.6s}
.object-wave{display:flex;align-items:center;justify-content:center;gap:5px;height:88px}.object-wave i{width:7px;height:var(--bar);border-radius:8px;background:var(--yellow);animation:object-wave 1.1s ease-in-out var(--delay) infinite alternate;transform-origin:center}.voice-direction{text-align:center;font-size:20px}
.abstract-film{position:relative;flex:1;min-height:100px;overflow:hidden;border-radius:6px;background:#b8d4db}.film-sun{position:absolute;width:60px;height:60px;background:var(--yellow);border-radius:50%;right:25%;top:10%;animation:film-drift 5s ease-in-out infinite alternate}.film-land{position:absolute;inset:45% -10% -40%;background:#438781;border-radius:60% 40% 0 0;transform:rotate(-12deg)}.film-play{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);font-size:25px;color:white;text-shadow:0 1px 8px #15293666}.film-caption{position:absolute;bottom:10px;left:10px;right:10px;text-align:center;background:#182a3ae8;color:white;font-size:12px;padding:5px;border-radius:4px}
.object-caption{font-size:14px;text-align:center;line-height:1.4;max-width:33ch;min-height:40px}
.object-stops{display:flex;border-top:1px solid #182a3a30}.object-stops button{flex:1;min-width:0;padding:14px 5px;border:0;border-right:1px solid #182a3a20;background:transparent;font:inherit;font-size:13px;cursor:pointer;color:var(--ink)}.object-stops button[aria-pressed="true"]{background:var(--yellow);font-weight:700}.demo-controls button:disabled{opacity:.5;cursor:default}
.motion-held *{animation-play-state:paused!important}.motion-off .object-card,.motion-off .object-canvas{transition:none}
.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-heading button{flex-shrink:0;border:0;background:none;color:var(--ink);font:inherit;font-size:11px;padding:5px;text-decoration:underline;cursor:pointer}
.story-chat .story-message{margin-top:10px;margin-bottom:10px;font-size:14px;padding:11px 14px}.story-chat .script-paper p{font-size:17px}
.conversation-ready .story-message,.conversation-ready .script-paper{opacity:0;transform:translateY(12px);transition:opacity .5s,transform .5s;visibility:hidden}
.conversation-ready .message-visible{opacity:1;transform:none;visibility:visible}
.motion-off .conversation-ready .story-message,.motion-off .conversation-ready .script-paper{transition:none}
@keyframes object-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes write-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes object-wave{to{transform:scaleY(.35)}}
@keyframes film-drift{to{transform:translateX(15px)}}
@media(max-width:800px){.object-canvas{height:345px;padding:22px 18px}.object-card{height:230px}.object-face{padding:18px}.thought-quote{font-size:30px}.journey-panel[data-panel="1"].active{height:350px;overflow-y:auto}.story-chat .story-message{font-size:12px;padding:8px 10px;margin:8px 0}.story-chat .script-paper p{font-size:14px}.story-chat .script-paper{padding:10px}.chat-heading .prepared{font-size:9px}.story-chat .learner{margin-left:20px}.story-chat .helper{margin-right:20px}}
@media(prefers-reduced-motion:reduce){.object-card,.object-canvas,.conversation-ready .story-message,.conversation-ready .script-paper{transition:none}.object-face.is-active{animation:none}}
