/* Direct gestures. Existing DrawToMove branding, colours and buttons retained. */
[hidden]{display:none!important}
.gesture-help{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.gesture-help article{min-width:0}.gesture-help h3{margin-bottom:.5rem}.gesture-help p{margin-top:0}
.lesson-tabs{margin:1rem 0;display:flex;gap:.6rem;flex-wrap:wrap}.lesson-tabs .button[aria-pressed=true]{background:#3866a0}.lesson-steps{max-width:65ch;padding-left:1.5rem}.lesson-steps h4{margin-bottom:.4rem}.lesson-steps p{margin-top:0}
#dtm-canvas{touch-action:none;cursor:crosshair;display:block;width:100%;height:auto;outline-offset:5px}.dtm-stage{overflow:hidden;border-radius:12px}.dtm-ui{display:none!important}#demo-status{text-align:center;margin:.4rem 0 1rem;min-height:2.6em;line-height:1.4}.try-section{padding-top:0}.page-intro{padding-bottom:1rem}.demo-actions{margin-top:0;display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem}.demo-actions .button{font-size:.92rem;min-width:0;padding:.65rem .7rem}.scene-switch{margin-top:1rem}video{max-width:100%}.quick-demo-player video{object-fit:contain}.home-intro .lead{max-width:55ch}.film-section .gesture-help{margin-top:1.5rem}.voice-player-status:empty{display:none}
@media(max-width:700px){.gesture-help{grid-template-columns:1fr;gap:.6rem}.demo-actions{grid-template-columns:repeat(2,1fr);gap:.45rem}.demo-actions .button{font-size:.82rem;padding:.55rem .25rem;min-height:42px}.nav-toggle{font-size:1rem;padding:.4rem .65rem}.try-section .gesture-help{margin-top:1.5rem}.scene-switch .button{font-size:.9rem;padding:.65rem .7rem}.section{scroll-margin-top:8rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.gesture-help{margin-top:1rem} .demo-video video{display:block;width:100%;height:auto;object-fit:contain} @media(max-width:700px){.gesture-help{grid-template-columns:1fr}}

/* Every film uses its entire intrinsic frame at all viewport widths. */
.movie-frame,.voice-frame,.quick-demo-player,.voice-film .player{aspect-ratio:auto!important;height:auto!important;max-height:none!important}
.quick-demo video,.quick-demo-player video,.demo-video video,.voice-frame video,.voice-film video,main video{display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center}

/* One intrinsic 4:3 canvas fills its frame at every screen width. */
.quick-demo{width:100%;max-width:none!important}
.quick-demo-player,.movie-frame,.voice-frame{padding:0!important;min-width:0;overflow:hidden}
#quick-film,#main-film,#voice-clip,#demo{width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box;position:static!important;display:block!important;height:auto!important}

.video-caption67{font-size:.85rem;line-height:1.45;text-align:center;min-height:2.9em;margin:.45rem auto .8rem;color:#5f6670;max-width:100%;padding:0 .35rem;overflow-wrap:anywhere}.movie-frame+.video-caption67{flex-basis:100%}

/* Match the existing rounded teaser choices on every selection group. */
.scene-switch button,.film-chapters button,.lesson-tabs button{font:inherit!important;font-size:1rem!important;line-height:1.65!important;padding:.65rem 1rem!important;min-height:44px;border:1px solid #3565a1!important;border-radius:999px!important;background:#fff!important;color:#3565a1!important;-webkit-text-stroke:0!important;text-shadow:none!important;box-shadow:none!important;cursor:pointer}
.scene-switch button[aria-pressed=true],.film-chapters button[aria-pressed=true],.lesson-tabs button[aria-pressed=true]{background:#3565a1!important;color:#fff!important;border-color:#3565a1!important}
.scene-switch,.film-chapters,.lesson-tabs{display:flex;flex-wrap:wrap;gap:.65rem;justify-content:center}
.voice-promise strong{display:block;min-height:1.5em}.voice-sound-hint{display:none!important}
@media(max-width:700px){.scene-switch button,.film-chapters button,.lesson-tabs button{font-size:.9rem!important;padding:.55rem .9rem!important}}

/* Keep the explainer choices close to the film on phones and desktops. */
.film-section #film-explanation:empty,.film-section .film-chapters:empty{display:none}
.film-section .video-caption67{min-height:0;margin:.35rem auto .4rem}
.film-section .scene-switch.lesson-tabs{margin-top:.5rem}

/* 2026-10-30: consistent selection pills matching the teaser choices. */
.quick-demo-tabs button,.scene-switch button,.film-chapters button,.demo-object-picks button,button[data-lesson65],button[data-scene],button[data-seek]{transition:none!important;appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:0!important;border:1px solid #3565a1!important;border-radius:999px!important;padding:10.4px 16px!important;font-family:Arial,Helvetica,sans-serif!important;font-size:1rem!important;font-weight:400!important;line-height:1.65!important;box-shadow:none!important;opacity:1!important;transform:none!important;white-space:normal!important;text-align:center!important;cursor:pointer}
.quick-demo-tabs button:not([aria-pressed="true"]),.scene-switch button:not([aria-pressed="true"]),.film-chapters button:not([aria-pressed="true"]),.demo-object-picks button:not([aria-pressed="true"]),button[data-lesson65]:not([aria-pressed="true"]),button[data-scene]:not([aria-pressed="true"]),button[data-seek]:not([aria-pressed="true"]){background:#fff!important;color:#3565a1!important;text-shadow:none!important;-webkit-text-stroke:0!important}
.quick-demo-tabs button[aria-pressed="true"],.scene-switch button[aria-pressed="true"],.film-chapters button[aria-pressed="true"],.demo-object-picks button[aria-pressed="true"],button[data-lesson65][aria-pressed="true"],button[data-scene][aria-pressed="true"],button[data-seek][aria-pressed="true"]{background:#3565a1!important;color:#fff!important;text-shadow:-1.25px -1.25px 0 #111,1.25px -1.25px 0 #111,-1.25px 1.25px 0 #111,1.25px 1.25px 0 #111,0 -1.25px 0 #111,0 1.25px 0 #111,-1.25px 0 0 #111,1.25px 0 0 #111!important;-webkit-text-stroke:.6px #111!important;paint-order:stroke fill}
.quick-demo-tabs button:focus-visible,.scene-switch button:focus-visible,.film-chapters button:focus-visible,.demo-object-picks button:focus-visible,button[data-lesson65]:focus-visible,button[data-scene]:focus-visible,button[data-seek]:focus-visible{outline:3px solid #172e4b!important;outline-offset:4px!important}
@media(max-width:700px){.quick-demo-tabs button,.scene-switch button,.film-chapters button,.demo-object-picks button,button[data-lesson65],button[data-scene],button[data-seek]{font-size:.9rem!important;padding:.55rem .9rem!important}}
